|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.janino.Java.AbstractTypeDeclaration
org.codehaus.janino.Java.InterfaceDeclaration
public abstract static class Java.InterfaceDeclaration
Base for the various interface declaration kinds.
| Field Summary | |
|---|---|
List<Java.FieldDeclaration> |
constantDeclarations
The constants that this interface declares. |
Java.Type[] |
extendedTypes
The types of the interfaces that this interface extends. |
String |
name
The simple name of the interface. |
Java.TypeParameter[] |
optionalTypeParameters
The optional type parameters of this interface. |
| Fields inherited from class org.codehaus.janino.Java.AbstractTypeDeclaration |
|---|
anonymousClassCount, localClassCount |
| Constructor Summary | |
|---|---|
protected |
Java.InterfaceDeclaration(Location location,
String optionalDocComment,
Java.Modifiers modifiers,
String name,
Java.TypeParameter[] optionalTypeParameters,
Java.Type[] extendedTypes)
|
| Method Summary | |
|---|---|
void |
addConstantDeclaration(Java.FieldDeclaration fd)
Adds one constant declaration to this interface declaration. |
String |
getDocComment()
|
String |
getName()
|
Java.TypeParameter[] |
getOptionalTypeParameters()
|
boolean |
hasDeprecatedDocTag()
Returns true if the object has a doc comment and
the @deprecated tag appears in the doc
comment. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.codehaus.janino.Java.TypeDeclaration |
|---|
accept, createAnonymousClassName, createLocalTypeName, getAnnotations, getClassName, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifierFlags |
| Methods inherited from interface org.codehaus.janino.Java.Locatable |
|---|
getLocation, throwCompileException |
| Methods inherited from interface org.codehaus.janino.Java.Scope |
|---|
getEnclosingScope |
| Field Detail |
|---|
public final String name
public final Java.TypeParameter[] optionalTypeParameters
public final Java.Type[] extendedTypes
public final List<Java.FieldDeclaration> constantDeclarations
| Constructor Detail |
|---|
protected Java.InterfaceDeclaration(Location location,
String optionalDocComment,
Java.Modifiers modifiers,
String name,
Java.TypeParameter[] optionalTypeParameters,
Java.Type[] extendedTypes)
| Method Detail |
|---|
public String toString()
toString in class Java.AbstractTypeDeclarationpublic void addConstantDeclaration(Java.FieldDeclaration fd)
public String getName()
getName in interface Java.NamedTypeDeclarationpublic Java.TypeParameter[] getOptionalTypeParameters()
getOptionalTypeParameters in interface Java.NamedTypeDeclarationpublic String getDocComment()
getDocComment in interface Java.DocCommentablenullpublic boolean hasDeprecatedDocTag()
Java.DocCommentabletrue if the object has a doc comment and
the @deprecated tag appears in the doc
comment.
hasDeprecatedDocTag in interface Java.DocCommentable
|
janino.net | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||