Home » openjdk-7 » com.sun.source » tree » [javadoc | source]
com.sun.source.tree
public interface: MethodTree [javadoc | source]

All Implemented Interfaces:
    Tree

All Known Implementing Classes:
    JCMethodDecl

A tree node for a method or annotation type element declaration. For example:
  modifiers typeParameters type name
     ( parameters )
     body

  modifiers type name () default defaultValue
Method from com.sun.source.tree.MethodTree Summary:
getBody,   getDefaultValue,   getModifiers,   getName,   getParameters,   getReturnType,   getThrows,   getTypeParameters
Method from com.sun.source.tree.MethodTree Detail:
 public BlockTree getBody()
 public Tree getDefaultValue()
 public ModifiersTree getModifiers()
 public Name getName()
 public List<VariableTree> getParameters()
 public Tree getReturnType()
 public List<ExpressionTree> getThrows()
 public List<TypeParameterTree> getTypeParameters()