Package org.codehaus.janino
Class Java.InterfaceDeclaration
java.lang.Object
org.codehaus.janino.Java.AbstractTypeDeclaration
org.codehaus.janino.Java.InterfaceDeclaration
- All Implemented Interfaces:
Java.DocCommentable,Java.Locatable,Java.NamedTypeDeclaration,Java.Scope,Java.TypeDeclaration
- Direct Known Subclasses:
Java.MemberInterfaceDeclaration,Java.PackageMemberInterfaceDeclaration
- Enclosing class:
Java
public abstract static class Java.InterfaceDeclaration
extends Java.AbstractTypeDeclaration
implements Java.NamedTypeDeclaration, Java.DocCommentable
-
Field Summary
FieldsFields inherited from class org.codehaus.janino.Java.AbstractTypeDeclaration
anonymousClassCount, localClassCount -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedInterfaceDeclaration(Location location, String optionalDocComment, Java.ModifiersAndAnnotations modifiersAndAnnotations, String name, Java.Type[] extendedTypes) -
Method Summary
Methods inherited from class org.codehaus.janino.Java.AbstractTypeDeclaration
addDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifiersAndAnnotations, invalidateMethodCaches, setEnclosingScope, throwCompileExceptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwCompileExceptionMethods inherited from interface org.codehaus.janino.Java.Scope
getEnclosingScopeMethods inherited from interface org.codehaus.janino.Java.TypeDeclaration
accept, createAnonymousClassName, createLocalTypeName, getClassName, getMemberTypeDeclaration, getMemberTypeDeclarations, getMethodDeclaration, getMethodDeclarations, getModifiersAndAnnotations
-
Field Details
-
name
-
extendedTypes
-
constantDeclarations
-
-
Constructor Details
-
InterfaceDeclaration
protected InterfaceDeclaration(Location location, String optionalDocComment, Java.ModifiersAndAnnotations modifiersAndAnnotations, String name, Java.Type[] extendedTypes)
-
-
Method Details
-
toString
- Specified by:
toStringin classJava.AbstractTypeDeclaration
-
addConstantDeclaration
-
getName
Description copied from interface:Java.NamedTypeDeclarationReturns the declared (not the fully qualified) name of the class or interface.- Specified by:
getNamein interfaceJava.NamedTypeDeclaration
-
getDocComment
Description copied from interface:Java.DocCommentableReturns the doc comment of the object ornull.- Specified by:
getDocCommentin interfaceJava.DocCommentable
-
hasDeprecatedDocTag
public boolean hasDeprecatedDocTag()Description copied from interface:Java.DocCommentableReturnstrueif the object has a doc comment and the@deprecatedtag appears in the doc comment.- Specified by:
hasDeprecatedDocTagin interfaceJava.DocCommentable
-