|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.aspectj.org.eclipse.jdt.core.dom.ASTNode
org.aspectj.org.eclipse.jdt.core.dom.Expression
org.aspectj.org.eclipse.jdt.core.dom.MethodReference
public abstract class MethodReference
Abstract base class of all AST node types that represent a method reference expression (added in JLS8 API).
MethodReference:
CreationReference
ExpressionMethodReference
SuperMethodReference
TypeMethodReference
A method reference that is represented by a simple or qualified name,
followed by ::, followed by a simple name can be represented
as ExpressionMethodReference or as TypeMethodReference.
The ASTParser currently prefers the first form.
CreationReference,
ExpressionMethodReference,
SuperMethodReference,
TypeMethodReference| Field Summary |
|---|
| Method Summary | |
|---|---|
ChildListPropertyDescriptor |
getTypeArgumentsProperty()
Returns the structural property descriptor for the "typeArguments" property of this node (element type: Type). |
IMethodBinding |
resolveMethodBinding()
Resolves and returns the binding for the method referenced by this method reference expression. |
java.util.List |
typeArguments()
Returns the live ordered list of type arguments of this method reference. |
| Methods inherited from class org.aspectj.org.eclipse.jdt.core.dom.Expression |
|---|
resolveBoxing, resolveConstantExpressionValue, resolveTypeBinding, resolveUnboxing |
| Methods inherited from class org.aspectj.org.eclipse.jdt.core.dom.ASTNode |
|---|
accept, copySubtree, copySubtrees, delete, equals, getAST, getFlags, getLength, getLocationInParent, getNodeType, getParent, getProperty, getRoot, getStartPosition, getStructuralProperty, hashCode, nodeClassForType, properties, setFlags, setProperty, setSourceRange, setStructuralProperty, structuralPropertiesForType, subtreeBytes, subtreeMatch, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public final ChildListPropertyDescriptor getTypeArgumentsProperty()
Type).
public java.util.List typeArguments()
Type)public IMethodBinding resolveMethodBinding()
Note that bindings are generally unavailable unless requested when the AST is being built.
null if the binding cannot
be resolved
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||