com.caucho.bytecode
Class JField

java.lang.Object
  extended by com.caucho.bytecode.JAnnotationObject
      extended by com.caucho.bytecode.JAccessibleObject
          extended by com.caucho.bytecode.JField
Direct Known Subclasses:
JavaField, JFieldWrapper

public abstract class JField
extends JAccessibleObject

Represents an introspected java method.


Constructor Summary
JField()
           
 
Method Summary
 boolean equals(java.lang.Object o)
          Returns true if equals.
abstract  JClass getDeclaringClass()
          Returns the declaring class
abstract  JType getGenericType()
          Returns the parameterized type of the field.
abstract  java.lang.String getName()
          Returns the method name.
 JClass getReturnType()
          The return type is the type.
abstract  JClass getType()
          Returns the return type.
abstract  boolean isPrivate()
          Returns true for a private field.
abstract  boolean isStatic()
          Returns true for a static field
abstract  boolean isTransient()
          Returns true for a transient field
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.bytecode.JAccessibleObject
getLine
 
Methods inherited from class com.caucho.bytecode.JAnnotationObject
getAnnotation, getAnnotation, getDeclaredAnnotations, isAnnotationPresent, isAnnotationPresent
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JField

public JField()
Method Detail

getName

public abstract java.lang.String getName()
Returns the method name.

Specified by:
getName in class JAccessibleObject

getDeclaringClass

public abstract JClass getDeclaringClass()
Returns the declaring class

Specified by:
getDeclaringClass in class JAccessibleObject

getType

public abstract JClass getType()
Returns the return type.


getReturnType

public JClass getReturnType()
The return type is the type.

Specified by:
getReturnType in class JAccessibleObject

getGenericType

public abstract JType getGenericType()
Returns the parameterized type of the field.


isPrivate

public abstract boolean isPrivate()
Returns true for a private field.


isTransient

public abstract boolean isTransient()
Returns true for a transient field


isStatic

public abstract boolean isStatic()
Returns true for a static field


equals

public boolean equals(java.lang.Object o)
Returns true if equals.

Overrides:
equals in class JAccessibleObject

toString

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