public abstract static class Java.InterfaceDeclaration extends Java.AbstractTypeDeclaration implements Java.NamedTypeDeclaration, Java.DocCommentable
| Modifier and Type | Field and Description |
|---|---|
List |
constantDeclarations |
Java.Type[] |
extendedTypes |
String |
name |
anonymousClassCount, localClassCount| Modifier | Constructor and Description |
|---|---|
protected |
Java.InterfaceDeclaration(Location location,
String optionalDocComment,
short modifiers,
String name,
Java.Type[] extendedTypes) |
| Modifier and Type | Method and Description |
|---|---|
void |
addConstantDeclaration(Java.FieldDeclaration fd) |
String |
getDocComment()
Returns the doc comment of the object or
null. |
String |
getName()
Returns the declared (not the fully qualified) name of the class or interface.
|
boolean |
hasDeprecatedDocTag()
Returns
true if the object has a doc comment and
the @deprecated tag appears in the doc
comment. |
String |
toString() |
addDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifiers, invalidateMethodCaches, setEnclosingScope, throwCompileExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaccept, createAnonymousClassName, createLocalTypeName, getClassName, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifiersgetLocation, throwCompileExceptiongetEnclosingScopepublic String name
public Java.Type[] extendedTypes
public final List constantDeclarations
public String toString()
toString in class Java.AbstractTypeDeclarationpublic void addConstantDeclaration(Java.FieldDeclaration fd)
public String getName()
Java.NamedTypeDeclarationgetName in interface Java.NamedTypeDeclarationpublic String getDocComment()
Java.DocCommentablenull.getDocComment in interface Java.DocCommentablepublic boolean hasDeprecatedDocTag()
Java.DocCommentabletrue if the object has a doc comment and
the @deprecated tag appears in the doc
comment.hasDeprecatedDocTag in interface Java.DocCommentableCopyright © 2001–2013. All rights reserved.