ter.API
Class FieldAnalyser

java.lang.Object
  |
  +--ter.API.FieldAnalyser

public class FieldAnalyser
extends java.lang.Object

Title: FieldAnalyser

Description: This class allow to analysed a field.

Copyright: Copyright (c) 2003

Company:

Version:
1.0
Author:
unascribed

Constructor Summary
FieldAnalyser(java.lang.reflect.Field field, ClassifierAnalyser cl)
          Construct a new FieldAnalyser
 
Method Summary
 void computeValue()
          compute the value of the field.
 java.lang.reflect.Field getField()
           
 java.lang.String getFullName()
           
 int getModifier()
           
 java.lang.String getName()
           
 java.lang.String getStringModifier()
           
 TypeClass getTypeClass()
           
 java.lang.String getTypeName()
           
 java.lang.Object getValue()
           
 boolean isStatic()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FieldAnalyser

public FieldAnalyser(java.lang.reflect.Field field,
                     ClassifierAnalyser cl)
Construct a new FieldAnalyser

Parameters:
field - the field to analyse
cl - the classifier analyser of this
Method Detail

getFullName

public java.lang.String getFullName()
Returns:
the full name of the field

getStringModifier

public java.lang.String getStringModifier()
Returns:
a string representation of the modifier

isStatic

public boolean isStatic()
Returns:
true if the modifier is static

getName

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

getTypeName

public java.lang.String getTypeName()
Returns:
a string that represent the type of the string.

computeValue

public void computeValue()
compute the value of the field.


toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
a String representation.

getField

public java.lang.reflect.Field getField()
Returns:
the field.

getModifier

public int getModifier()
Returns:
the modifier for this field.

getTypeClass

public TypeClass getTypeClass()
Returns:
the type class of the field.

getValue

public java.lang.Object getValue()
Returns:
the value of the field.