Interface AccessorMethodDeclarationTree
-
- All Superinterfaces:
FunctionTree,Tree
- All Known Implementing Classes:
AccessorMethodDeclarationTreeImpl
@Beta public interface AccessorMethodDeclarationTree extends FunctionTree
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InternalSyntaxTokenaccessorToken()BlockTreebody()List<DecoratorTree>decorators()Treename()ParameterListTreeparameterClause()FlowTypeAnnotationTreereturnType()SyntaxTokenstaticToken()-
Methods inherited from interface org.sonar.plugins.javascript.api.tree.declaration.FunctionTree
asyncToken, genericParameterClause, parameterList, scope
-
Methods inherited from interface org.sonar.plugins.javascript.api.tree.Tree
accept, childrenStream, descendants, firstToken, is, isAncestorOf, lastToken, parent
-
-
-
-
Method Detail
-
decorators
List<DecoratorTree> decorators()
-
staticToken
@Nullable SyntaxToken staticToken()
-
accessorToken
InternalSyntaxToken accessorToken()
-
name
Tree name()
- Specified by:
namein interfaceFunctionTree
-
parameterClause
ParameterListTree parameterClause()
- Specified by:
parameterClausein interfaceFunctionTree
-
returnType
@Nullable FlowTypeAnnotationTree returnType()
- Specified by:
returnTypein interfaceFunctionTree
-
body
BlockTree body()
- Specified by:
bodyin interfaceFunctionTree
-
-