net.sourceforge.jane.lang.jjtree
Class JJTreeFieldInfo

java.lang.Object
  |
  +--net.sourceforge.jane.lang.jjtree.JJTreeFieldInfo
All Implemented Interfaces:
FieldInfo, JavaElement

public class JJTreeFieldInfo
extends java.lang.Object
implements FieldInfo

A jjTree implementation of a FieldInfo.


Constructor Summary
JJTreeFieldInfo(Jane aJane, java.lang.String aPackageName, JavaFieldDeclaration aFieldDeclaration)
          Create a new JJTreeFieldInfo.
 
Method Summary
 java.lang.String getName()
          Returns the name of the element.
 ClassInfo getType()
          Returns the type field.
 boolean isFinal()
          Returns true if this field is final.
 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 field is static.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JJTreeFieldInfo

public JJTreeFieldInfo(Jane aJane,
                       java.lang.String aPackageName,
                       JavaFieldDeclaration aFieldDeclaration)
Create a new JJTreeFieldInfo.
Method Detail

getType

public ClassInfo getType()
Returns the type field.
Specified by:
getType in interface FieldInfo

isFinal

public boolean isFinal()
Returns true if this field is final.
Specified by:
isFinal in interface FieldInfo

isStatic

public boolean isStatic()
Returns true if this field is static.
Specified by:
isStatic in interface FieldInfo

getName

public java.lang.String getName()
Returns the name of the element.
Specified by:
getName in interface JavaElement

isPublic

public boolean isPublic()
Returns true if this element is public.
Specified by:
isPublic in interface JavaElement

isProtected

public boolean isProtected()
Returns true if this element is protected.
Specified by:
isProtected in interface JavaElement

isPackageProtected

public boolean isPackageProtected()
Returns true if this element is package protected.
Specified by:
isPackageProtected in interface JavaElement

isPrivate

public boolean isPrivate()
Returns true if this element is private.
Specified by:
isPrivate in interface JavaElement


Copyright © 2002-2002 SourceForge. All Rights Reserved.