net.sourceforge.jane.lang.jjtree
Class JJTreeClassInfo

java.lang.Object
  |
  +--net.sourceforge.jane.lang.AbstractClassInfo
        |
        +--net.sourceforge.jane.lang.jjtree.JJTreeClassInfo
All Implemented Interfaces:
ClassInfo, JavaElement

public class JJTreeClassInfo
extends AbstractClassInfo

A ClassInfo that gets its information from a JavaClassDeclaration.


Fields inherited from class net.sourceforge.jane.lang.AbstractClassInfo
jane
 
Constructor Summary
JJTreeClassInfo(Jane aJane, JavaCompilationUnit aCompilationUnit, JavaClassDeclaration aClassDeclaration)
          Create a new JJTreeClassInfo.
 
Method Summary
 JavaClassDeclaration getClassDeclaration()
          Returns the class declaration.
 Fields getFields()
          Returns the fields.
 Classes getInterfaces()
          Returns the interfaces this class implements.
 Methods getMethods()
          Returns the methods.
 java.lang.String getName()
          Returns the name of the element.
 java.lang.String getPackageName()
          Returns the package name.
 ClassInfo getSuperClass()
          Returns the super class.
 boolean isAbstract()
          Returns true if this class is abstract.
 boolean isFinal()
          Returns true if this class is final.
 boolean isInterface()
          Returns true if this class is an interface.
 boolean isPackageProtected()
          Returns true if this element is package protected.
 boolean isPrivate()
          Returns true if this element is private.
 boolean isProtected()
          Returns true if this element is protected.
 boolean isPublic()
          Returns true if this element is public.
 boolean isStatic()
          Returns true if this class is static.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JJTreeClassInfo

public JJTreeClassInfo(Jane aJane,
                       JavaCompilationUnit aCompilationUnit,
                       JavaClassDeclaration aClassDeclaration)
Create a new JJTreeClassInfo.
Method Detail

getName

public java.lang.String getName()
Returns the name of the element.

isPublic

public boolean isPublic()
Returns true if this element is public.

isProtected

public boolean isProtected()
Returns true if this element is protected.

isPackageProtected

public boolean isPackageProtected()
Returns true if this element is package protected.

isPrivate

public boolean isPrivate()
Returns true if this element is private.

isInterface

public boolean isInterface()
Returns true if this class is an interface.

getSuperClass

public ClassInfo getSuperClass()
Returns the super class.

getInterfaces

public Classes getInterfaces()
Returns the interfaces this class implements.

getPackageName

public java.lang.String getPackageName()
Returns the package name.

getMethods

public Methods getMethods()
Returns the methods.

getFields

public Fields getFields()
Returns the fields.

isAbstract

public boolean isAbstract()
Returns true if this class is abstract.

isFinal

public boolean isFinal()
Returns true if this class is final.

isStatic

public boolean isStatic()
Returns true if this class is static.

getClassDeclaration

public JavaClassDeclaration getClassDeclaration()
Returns the class declaration.


Copyright © 2002-2002 SourceForge. All Rights Reserved.