File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
org.eclipse.jdt.core.javac/src/org/eclipse/jdt/internal/javac/dom Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ private IJavaElement computeJavaElement() {
145145 IMethodBinding methodBinding = getDeclaringMethod ();
146146 if (methodBinding != null && methodBinding .getJavaElement () instanceof IMethod method ) {
147147 if (isParameter ()) {
148- if (method instanceof LambdaMethod parentLambda && this .resolver .findDeclaringNode (this ) instanceof VariableDeclarationFragment decl ) {
148+ if (method instanceof LambdaMethod parentLambda && this .resolver .findDeclaringNode (this ) instanceof VariableDeclaration decl ) {
149149 return new LocalVariable (parentLambda , getName (),
150150 decl .getStartPosition (), decl .getStartPosition () + decl .getLength () - 1 ,
151151 decl .getName ().getStartPosition (), decl .getName ().getStartPosition () + decl .getName ().getLength () - 1 ,
You can’t perform that action at this time.
0 commit comments