Package org.fife.rsta.ac.java.rjc.ast
Class NormalInterfaceDeclaration
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.NormalInterfaceDeclaration
- All Implemented Interfaces:
ASTNode,TypeDeclaration,TypeDeclarationContainer
An interface declaration. Its structure is as follows:
NormalInterfaceDeclaration:
'interface' Identifier [TypeParameters] ['extends' TypeList] InterfaceBody
- Version:
- 1.0
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExtended(Type extended) Adds a type this interface extends.intReturns 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, toStringMethods inherited from class org.fife.rsta.ac.java.rjc.ast.AbstractASTNode
getName, getNameEndOffset, getNameStartOffset, setDeclarationEndOffset, setDeclarationOffsetsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.fife.rsta.ac.java.rjc.ast.ASTNode
getNameEndOffset, getNameStartOffsetMethods inherited from interface org.fife.rsta.ac.java.rjc.ast.TypeDeclaration
getName
-
Field Details
-
extendedList
-
-
Constructor Details
-
NormalInterfaceDeclaration
-
-
Method Details
-
addExtended
Adds a type this interface extends.- Parameters:
extended- The extended type.
-
getExtendedCount
public int getExtendedCount() -
getExtendedIterator
-
getTypeString
Description copied from interface:TypeDeclarationReturns the type of this type declaration, as a string.- Returns:
- The type.
-