koala.dynamicjava.classinfo
Class TreeFieldInfo

java.lang.Object
  |
  +--koala.dynamicjava.classinfo.TreeFieldInfo
All Implemented Interfaces:
FieldInfo

public class TreeFieldInfo
extends java.lang.Object
implements FieldInfo

The instances of this class provides informations about class fields not yet compiled to JVM bytecode.


Constructor Summary
TreeFieldInfo(FieldDeclaration f, ClassFinder cf, ClassInfo dc)
          Creates a new class info
 
Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one
 FieldDeclaration getFieldDeclaration()
          Returns the field declaration
 int getModifiers()
          Returns the modifiers for the field represented by this object
 java.lang.String getName()
          Returns the fully qualified name of the underlying field
 ClassInfo getType()
          Returns the type of the underlying field
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeFieldInfo

public TreeFieldInfo(FieldDeclaration f,
                     ClassFinder cf,
                     ClassInfo dc)
Creates a new class info
Parameters:
f - the field tree
cf - the class finder
dc - the declaring class
Method Detail

getFieldDeclaration

public FieldDeclaration getFieldDeclaration()
Returns the field declaration

getModifiers

public int getModifiers()
Returns the modifiers for the field represented by this object
Specified by:
getModifiers in interface FieldInfo

getType

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

getName

public java.lang.String getName()
Returns the fully qualified name of the underlying field
Specified by:
getName in interface FieldInfo

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one
Overrides:
equals in class java.lang.Object


Copyright © 2001 Stephane Hillion. All Rights Reserved.