org.osjava.jardiff
Class FieldInfo

java.lang.Object
  extended byorg.osjava.jardiff.AbstractInfo
      extended byorg.osjava.jardiff.FieldInfo

public final class FieldInfo
extends AbstractInfo

Information about a field of a class.

Author:
Antony Riley

Field Summary
 
Fields inherited from class org.osjava.jardiff.AbstractInfo
ACCESS_PACKAGE, ACCESS_PRIVATE, ACCESS_PROTECTED, ACCESS_PUBLIC
 
Constructor Summary
FieldInfo(int access, String name, String desc, String signature, Object value)
          Create a new FieldInfo
 
Method Summary
 String getDesc()
          Get the descriptor for this FieldInfo.
 String getSignature()
          Get the signature for this fieldinfo.
 Object getValue()
          Get the initial value for this fieldinfo
 
Methods inherited from class org.osjava.jardiff.AbstractInfo
getAccess, getAccessType, getName, isAbstract, isAnnotation, isBridge, isDeprecated, isEnum, isFinal, isInterface, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSuper, isSynchronized, isSynthetic, isTransient, isVarargs, isVolatile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FieldInfo

public FieldInfo(int access,
                 String name,
                 String desc,
                 String signature,
                 Object value)
Create a new FieldInfo

Parameters:
access - The access flags.
name - The name of the field.
desc - The field discriptor.
signature - The signature of this field.
value - The initial value of the field.
Method Detail

getDesc

public final String getDesc()
Get the descriptor for this FieldInfo.

Returns:
The field descriptor.

getSignature

public final String getSignature()
Get the signature for this fieldinfo.

Returns:
The signature.

getValue

public final Object getValue()
Get the initial value for this fieldinfo

Returns:
The initial value.


Copyright © 2005-2006 OSJava. All Rights Reserved.