|
|||||||||
| 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
org.aspectj.org.eclipse.jdt.core.dom.ExpressionMethodReference
public class ExpressionMethodReference
Expression method reference AST node type (added in JLS8 API).
ExpressionMethodReference:
Expression ::
[ < Type { , Type } > ]
Identifier
| Field Summary | |
|---|---|
static ChildPropertyDescriptor |
EXPRESSION_PROPERTY
The "expression" structural property of this node type (child type: Expression). |
static ChildPropertyDescriptor |
NAME_PROPERTY
The "name" structural property of this node type (child type: SimpleName). |
static ChildListPropertyDescriptor |
TYPE_ARGUMENTS_PROPERTY
The "typeArguments" structural property of this node type (element type: Type) |
| Method Summary | |
|---|---|
Expression |
getExpression()
Returns the expression of this expression method reference expression |
SimpleName |
getName()
Returns the name of the method referenced in this expression. |
static java.util.List |
propertyDescriptors(int apiLevel)
Returns a list of structural property descriptors for this node type. |
void |
setExpression(Expression expression)
Sets the expression of this expression method reference. |
void |
setName(SimpleName name)
Sets the name of the method referenced in this expression to the given name. |
java.util.List |
typeArguments()
Returns the live ordered list of type arguments of this expression method reference |
| Methods inherited from class org.aspectj.org.eclipse.jdt.core.dom.MethodReference |
|---|
getTypeArgumentsProperty, resolveMethodBinding |
| 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 |
| Field Detail |
|---|
public static final ChildPropertyDescriptor EXPRESSION_PROPERTY
Expression).
public static final ChildListPropertyDescriptor TYPE_ARGUMENTS_PROPERTY
Type)
public static final ChildPropertyDescriptor NAME_PROPERTY
SimpleName).
| Method Detail |
|---|
public static java.util.List propertyDescriptors(int apiLevel)
apiLevel - the API level; one of the AST.JLS* constants
StructuralPropertyDescriptor)public Expression getExpression()
public void setExpression(Expression expression)
expression - the expression node
java.lang.IllegalArgumentException - if:
public java.util.List typeArguments()
typeArguments in class MethodReferenceType)public SimpleName getName()
public void setName(SimpleName name)
name - the new method name
java.lang.IllegalArgumentException - if:
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||