File
Doc
Category
Size
Date
Package
MethodTree.java
API Doc
Java SE 6 API
1274
Tue Jun 10 00:23:26 BST 2008
com.sun.source.tree
MethodTree
public interface MethodTree implements 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
see
"The Java Language Specification, 3rd ed, sections 8.4, 8.6, 8.7, 9.4, and 9.6"
author
Peter von der Ahé
author
Jonathan Gibbons
since
1.6
Fields Summary
Constructors Summary
Methods Summary
public
com.sun.source.tree.BlockTree
getBody
()
public
com.sun.source.tree.Tree
getDefaultValue
()
public
com.sun.source.tree.ModifiersTree
getModifiers
()
public
javax.lang.model.element.Name
getName
()
public
java.util.List
getParameters
()
public
com.sun.source.tree.Tree
getReturnType
()
public
java.util.List
getThrows
()
public
java.util.List
getTypeParameters
()
Java Code Source