com.sun.source.tree
Interface MethodTree
- All Superinterfaces:
- Tree
public interface MethodTree
- extends Tree
A tree node for a method or annotation type element declaration.
For example:
modifiers typeParameters type name
( parameters )
body
modifiers type name () default defaultValue
- Since:
- 1.6
- See Also:
- "The Java Language Specification, 3rd ed, sections 8.4, 8.6, 8.7,
9.4, and 9.6"
Nested classes/interfaces inherited from interface com.sun.source.tree.Tree |
Tree.Kind |
getModifiers
ModifiersTree getModifiers()
getName
Name getName()
getReturnType
Tree getReturnType()
getTypeParameters
List<? extends TypeParameterTree> getTypeParameters()
getParameters
List<? extends VariableTree> getParameters()
getThrows
List<? extends ExpressionTree> getThrows()
getBody
BlockTree getBody()
getDefaultValue
Tree getDefaultValue()
Report a bug or request a feature.
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.