|
|||||||||
| 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.TypeMethodReference
public class TypeMethodReference
Type method reference expression AST node type (added in JLS8 API).
TypeMethodReference:
Type ::
[ < Type { , Type } > ]
Identifier
| Field Summary | |
|---|---|
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). |
static ChildPropertyDescriptor |
TYPE_PROPERTY
The "type" structural property of this node type (child type: Type). |
| Method Summary | |
|---|---|
SimpleName |
getName()
Returns the name of the method referenced in this expression. |
Type |
getType()
Returns the type of this type method reference expression. |
static java.util.List |
propertyDescriptors(int apiLevel)
Returns a list of structural property descriptors for this node type. |
void |
setName(SimpleName name)
Sets the name of the method referenced in this expression to the given name. |
void |
setType(Type type)
Sets the type of this type method reference expression. |
java.util.List |
typeArguments()
Returns the live ordered list of type arguments of this type method reference expression. |
| 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 TYPE_PROPERTY
Type).
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 Type getType()
public void setType(Type type)
type - the new type 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 | ||||||||