LambdaExpression(JavaElement parent, org.eclipse.jdt.internal.compiler.ast.LambdaExpression lambdaExpression) { super(parent, new String(CharOperation.NO_CHAR)); this.sourceStart = lambdaExpression.sourceStart; this.sourceEnd = lambdaExpression.sourceEnd; this.arrowPosition = lambdaExpression.arrowPosition; TypeBinding supertype = findLambdaSuperType(lambdaExpression); this.interphase = new String(CharOperation.replaceOnCopy(supertype.genericTypeSignature(), '/', '.')); this.elementInfo = makeTypeElementInfo(this, this.interphase, this.sourceStart, this.sourceEnd, this.arrowPosition); this.lambdaMethod = LambdaFactory.createLambdaMethod(this, lambdaExpression); this.elementInfo.children = new IJavaElement[] { this.lambdaMethod }; }
LambdaExpression(JavaElement parent, org.eclipse.jdt.internal.compiler.ast.LambdaExpression lambdaExpression) { super(parent, new String(CharOperation.NO_CHAR)); this.sourceStart = lambdaExpression.sourceStart; this.sourceEnd = lambdaExpression.sourceEnd; this.arrowPosition = lambdaExpression.arrowPosition; TypeBinding supertype = findLambdaSuperType(lambdaExpression); this.interphase = new String(CharOperation.replaceOnCopy(supertype.genericTypeSignature(), '/', '.')); this.elementInfo = makeTypeElementInfo(this, this.interphase, this.sourceStart, this.sourceEnd, this.arrowPosition); this.lambdaMethod = LambdaFactory.createLambdaMethod(this, lambdaExpression); this.elementInfo.children = new IJavaElement[] { this.lambdaMethod }; }
LambdaExpression(JavaElement parent, org.eclipse.jdt.internal.compiler.ast.LambdaExpression lambdaExpression) { super(parent, new String(CharOperation.NO_CHAR)); this.sourceStart = lambdaExpression.sourceStart; this.sourceEnd = lambdaExpression.sourceEnd; this.arrowPosition = lambdaExpression.arrowPosition; TypeBinding supertype = findLambdaSuperType(lambdaExpression); this.interphase = new String(CharOperation.replaceOnCopy(supertype.genericTypeSignature(), '/', '.')); this.elementInfo = makeTypeElementInfo(this, this.interphase, this.sourceStart, this.sourceEnd, this.arrowPosition); this.lambdaMethod = LambdaFactory.createLambdaMethod(this, lambdaExpression); this.elementInfo.children = new IJavaElement[] { this.lambdaMethod }; }