Package org.fife.rsta.ac.java.rjc.ast
Class EnumDeclaration
- java.lang.Object
-
- org.fife.rsta.ac.java.rjc.ast.AbstractASTNode
-
- org.fife.rsta.ac.java.rjc.ast.AbstractTypeDeclarationNode
-
- org.fife.rsta.ac.java.rjc.ast.EnumDeclaration
-
- All Implemented Interfaces:
ASTNode,TypeDeclaration,TypeDeclarationContainer
public class EnumDeclaration extends AbstractTypeDeclarationNode
Represents an enum declaration.- Version:
- 1.0
-
-
Constructor Summary
Constructors Constructor Description EnumDeclaration(Scanner s, int offs, java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetTypeString()Returns the type of this type declaration, as a string.-
Methods inherited from class org.fife.rsta.ac.java.rjc.ast.AbstractTypeDeclarationNode
addMember, addTypeDeclaration, getBodyContainsOffset, getBodyEndOffset, getBodyStartOffset, getChildType, getChildTypeAtOffset, getChildTypeCount, getDocComment, getFieldIterator, getMember, getMemberCount, getMemberIterator, getMethodIterator, getMethodsByName, getModifiers, getName, getPackage, getParentType, isDeprecated, isStatic, setBodyEndOffset, setBodyStartOffset, setDeprecated, setDocComment, setModifiers, setPackage, setParentType, toString
-
Methods inherited from class org.fife.rsta.ac.java.rjc.ast.AbstractASTNode
getName, getNameEndOffset, getNameStartOffset, setDeclarationEndOffset, setDeclarationOffsets
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.fife.rsta.ac.java.rjc.ast.ASTNode
getNameEndOffset, getNameStartOffset
-
Methods inherited from interface org.fife.rsta.ac.java.rjc.ast.TypeDeclaration
getName
-
-
-
-
Constructor Detail
-
EnumDeclaration
public EnumDeclaration(Scanner s, int offs, java.lang.String name)
-
-
Method Detail
-
getTypeString
public java.lang.String getTypeString()
Description copied from interface:TypeDeclarationReturns the type of this type declaration, as a string.- Returns:
- The type.
-
-