Web Site

org.codehaus.janino
Class Java.MemberInterfaceDeclaration

java.lang.Object
  extended byorg.codehaus.janino.Java.AbstractTypeDeclaration
      extended byorg.codehaus.janino.Java.InterfaceDeclaration
          extended byorg.codehaus.janino.Java.MemberInterfaceDeclaration
All Implemented Interfaces:
Java.DocCommentable, Java.Locatable, org.codehaus.janino.Java.MemberTypeDeclaration, org.codehaus.janino.Java.NamedTypeDeclaration, Java.Scope, Java.TypeBodyDeclaration, Java.TypeDeclaration
Enclosing class:
Java

public static final class Java.MemberInterfaceDeclaration
extends Java.InterfaceDeclaration
implements org.codehaus.janino.Java.MemberTypeDeclaration


Field Summary
 
Fields inherited from class org.codehaus.janino.Java.InterfaceDeclaration
name
 
Fields inherited from class org.codehaus.janino.Java.AbstractTypeDeclaration
anonymousClassCount, enclosingScope, localClassCount, modifiers
 
Constructor Summary
Java.MemberInterfaceDeclaration(Location location, org.codehaus.janino.Java.NamedTypeDeclaration declaringType, String optionalDocComment, short modifiers, String name, Java.Type[] extendedTypes)
           
 
Method Summary
 String getClassName()
          Determine the effective class name, e.g.
 Java.TypeDeclaration getDeclaringType()
           
 String getName()
          Returns the declared (not the fully qualified) name of the class or interface.
 boolean isStatic()
           
 void visit(org.codehaus.janino.Visitor.TypeBodyDeclarationVisitor visitor)
           
 void visit(org.codehaus.janino.Visitor.TypeDeclarationVisitor visitor)
           
 
Methods inherited from class org.codehaus.janino.Java.InterfaceDeclaration
addConstantDeclaration, getDocComment, hasDeprecatedDocTag, toString
 
Methods inherited from class org.codehaus.janino.Java.AbstractTypeDeclaration
addDeclaredMethod, addMemberTypeDeclaration, createAnonymousClassName, createLocalTypeName, getEnclosingScope, getLocation, getMemberTypeDeclaration, getMemberTypeDeclarations, throwParseException
 
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
createAnonymousClassName, createLocalTypeName, getMemberTypeDeclaration
 
Methods inherited from interface org.codehaus.janino.Java.Locatable
getLocation, throwParseException
 
Methods inherited from interface org.codehaus.janino.Java.Scope
getEnclosingScope
 

Constructor Detail

Java.MemberInterfaceDeclaration

public Java.MemberInterfaceDeclaration(Location location,
                                       org.codehaus.janino.Java.NamedTypeDeclaration declaringType,
                                       String optionalDocComment,
                                       short modifiers,
                                       String name,
                                       Java.Type[] extendedTypes)
                                throws Parser.ParseException
Method Detail

getClassName

public String getClassName()
Description copied from interface: Java.TypeDeclaration
Determine the effective class name, e.g. "pkg.Outer$Inner".

Specified by:
getClassName in interface Java.TypeDeclaration

getDeclaringType

public Java.TypeDeclaration getDeclaringType()
Specified by:
getDeclaringType in interface Java.TypeBodyDeclaration

isStatic

public boolean isStatic()
Specified by:
isStatic in interface Java.TypeBodyDeclaration

visit

public final void visit(org.codehaus.janino.Visitor.TypeDeclarationVisitor visitor)
Specified by:
visit in interface Java.TypeDeclaration

visit

public final void visit(org.codehaus.janino.Visitor.TypeBodyDeclarationVisitor visitor)
Specified by:
visit in interface Java.TypeBodyDeclaration

getName

public String getName()
Returns the declared (not the fully qualified) name of the class or interface.


Web Site