Interface MethodDeclarationTree
-
- All Superinterfaces:
ClassMemberTree,FunctionTree,HasAttributes,Tree
- All Known Implementing Classes:
MethodDeclarationTreeImpl
public interface MethodDeclarationTree extends ClassMemberTree, FunctionTree
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Treebody()SyntaxTokenfunctionToken()List<SyntaxToken>modifiers()NameIdentifierTreename()ParameterListTreeparameters()SyntaxTokenreferenceToken()ReturnTypeClauseTreereturnTypeClause()-
Methods inherited from interface org.sonar.plugins.php.api.tree.declaration.HasAttributes
attributeGroups
-
-
-
-
Method Detail
-
modifiers
List<SyntaxToken> modifiers()
-
functionToken
SyntaxToken functionToken()
- Specified by:
functionTokenin interfaceFunctionTree
-
referenceToken
@Nullable SyntaxToken referenceToken()
- Specified by:
referenceTokenin interfaceFunctionTree
-
name
NameIdentifierTree name()
-
parameters
ParameterListTree parameters()
- Specified by:
parametersin interfaceFunctionTree
-
returnTypeClause
@Nullable ReturnTypeClauseTree returnTypeClause()
- Specified by:
returnTypeClausein interfaceFunctionTree
-
body
Tree body()
- Specified by:
bodyin interfaceFunctionTree
-
-