@Exported public interface MethodTree extends Tree
modifiers typeParameters type name ( parameters ) body modifiers type name () default defaultValue
Modifier and Type | Method and Description |
---|---|
BlockTree |
getBody() |
Tree |
getDefaultValue() |
ModifiersTree |
getModifiers() |
Name |
getName() |
List<? extends VariableTree> |
getParameters() |
VariableTree |
getReceiverParameter()
Return an explicit receiver parameter ("this" parameter).
|
Tree |
getReturnType() |
List<? extends ExpressionTree> |
getThrows() |
List<? extends TypeParameterTree> |
getTypeParameters() |
ModifiersTree getModifiers()
Name getName()
Tree getReturnType()
List<? extends TypeParameterTree> getTypeParameters()
List<? extends VariableTree> getParameters()
VariableTree getReceiverParameter()
List<? extends ExpressionTree> getThrows()
BlockTree getBody()
Tree getDefaultValue()
Copyright © 2005, 2015, Oracle and/or its affiliates. All rights reserved.