public interface SourceMethodReferenceExpression extends SourceExpression, SourceHasTypeArgumentsExpression, CompiledAccessExpression, SourceHasName
EMPTY_ARRAYCHILDREN_ALL, CHILDREN_BLANKLINES, CHILDREN_COMMENTS, CHILDREN_default, CHILDREN_none, CHILDREN_REGULAR, PRINT_ALL, REFORMAT_ALL, REFORMAT_INDENT| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMethodName()
Get the method name of this method reference.
|
SourceExpression |
getQualifier()
Get the qualifier of this method reference.
|
JavaMethod |
getResolvedMethod()
Get the resolved method, which is the method inferred from
the combination of the method references expression and the context.
|
JavaMethod |
getTargetMethod()
When a method reference is assigned to a functional interface, the
target method is the one abstract method of that functional interface.
|
getConstantValue, getExpressionCode, getFirstOperand, getOperandAt, getOperandCount, getOperands, getOperatorCode, getSecondOperand, getThirdOperandgetTypeArgumentList, getTypeArguments, isGenericgetResolvedLhsgetCompiledObject, getResolvedObjectgetResolvedType, getUnresolvedTypegetName, getNameElement, setName, setNameElementaddSelf, addSelf, addSelfAfter, addSelfBefore, adjustTextIndentation, clearBinding, cloneSelf, compile, createContext, getBinding, getChildren, getChildren, getCompiledObject, getContainedElements, getContext, getEndOffset, getFirstToken, getJdkVersion, getLastToken, getOwningFile, getOwningSourceFile, getParent, getSiblingAfter, getSiblingAfter, getSiblingBefore, getSiblingBefore, getSiblings, getSiblings, getStartOffset, getSymbolKind, getText, getTokens, getTokens, hasErrors, print, print, print, print, reformatSelf, removeSelf, replaceSelf, resolve, setBinding, setContext, visitSelfjava.lang.String getMethodName()
SourceExpression getQualifier()
JavaMethod getResolvedMethod()
JavaMethod getTargetMethod()