|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jdt.core.dom.ASTNode
org.eclipse.jdt.core.dom.MethodRefParameter
AST node for a parameter within a method reference (MethodRef
).
These nodes only occur within doc comments (Javadoc
).
MethodRefParameter: Type [ Identifier ]
Javadoc
Field Summary | |
static ChildPropertyDescriptor |
NAME_PROPERTY
The "name" structural property of this node type. |
static ChildPropertyDescriptor |
TYPE_PROPERTY
The "type" structural property of this node type. |
Method Summary | |
SimpleName |
getName()
Returns the parameter name, or null if there is none. |
Type |
getType()
Returns the paramter type. |
static List |
propertyDescriptors(int apiLevel)
Returns a list of structural property descriptors for this node type. |
void |
setName(SimpleName name)
Sets or clears the parameter name. |
void |
setType(Type type)
Sets the paramter type to the given type. |
Methods inherited from class org.eclipse.jdt.core.dom.ASTNode |
accept, copySubtree, copySubtrees, delete, equals, getAST, getFlags, getLength, getLocationInParent, getNodeType, getParent, getProperty, getRoot, getStartPosition, getStructuralProperty, nodeClassForType, properties, setFlags, setProperty, setSourceRange, setStructuralProperty, structuralPropertiesForType, subtreeBytes, subtreeMatch, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final ChildPropertyDescriptor TYPE_PROPERTY
public static final ChildPropertyDescriptor NAME_PROPERTY
Method Detail |
public static 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
IllegalArgumentException
- if:
null
public SimpleName getName()
null
if there is none.
null
if there is nonepublic void setName(SimpleName name)
name
- the parameter name node, or null
if
there is none
IllegalArgumentException
- if:
|
Eclipse JDT Release 3.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |