Package org.fife.rsta.ac.java.rjc.ast
Class FormalParameter
java.lang.Object
org.fife.rsta.ac.java.rjc.ast.AbstractASTNode
org.fife.rsta.ac.java.rjc.ast.LocalVariable
org.fife.rsta.ac.java.rjc.ast.FormalParameter
- All Implemented Interfaces:
ASTNode
A parameter to a method.
- Version:
- 1.0
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFormalParameter(Scanner s, boolean isFinal, Type type, int offs, String name, List<Annotation> annotations) -
Method Summary
Methods inherited from class org.fife.rsta.ac.java.rjc.ast.LocalVariable
getType, isFinalMethods inherited from class org.fife.rsta.ac.java.rjc.ast.AbstractASTNode
getName, getNameEndOffset, getNameStartOffset, setDeclarationEndOffset, setDeclarationOffsets
-
Field Details
-
annotations
-
-
Constructor Details
-
FormalParameter
public FormalParameter(Scanner s, boolean isFinal, Type type, int offs, String name, List<Annotation> annotations)
-
-
Method Details
-
getAnnotationCount
public int getAnnotationCount() -
toString
Overridden to return "getType() getName()".- Overrides:
toStringin classAbstractASTNode- Returns:
- This parameter, as a string.
-