Package org.osjava.jardiff
Class FieldInfo
- java.lang.Object
-
- org.osjava.jardiff.AbstractInfo
-
- org.osjava.jardiff.FieldInfo
-
public final class FieldInfo extends AbstractInfo
Information about a field of a class.- Author:
- Antony Riley
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
desc
The field descriptor for this field.private java.lang.String
signature
The signature for this field.private java.lang.Object
value
The initial value of this field.-
Fields inherited from class org.osjava.jardiff.AbstractInfo
ACCESS_PACKAGE, ACCESS_PRIVATE, ACCESS_PROTECTED, ACCESS_PUBLIC
-
-
Constructor Summary
Constructors Constructor Description FieldInfo(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.Object value)
Create a new FieldInfo
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDesc()
Get the descriptor for this FieldInfo.java.lang.String
getSignature()
Get the signature for this fieldinfo.java.lang.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
-
-
-
-
Constructor Detail
-
FieldInfo
public FieldInfo(int access, java.lang.String name, java.lang.String desc, java.lang.String signature, java.lang.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 java.lang.String getDesc()
Get the descriptor for this FieldInfo.- Returns:
- The field descriptor.
-
getSignature
public final java.lang.String getSignature()
Get the signature for this fieldinfo.- Returns:
- The signature.
-
getValue
public final java.lang.Object getValue()
Get the initial value for this fieldinfo- Returns:
- The initial value.
-
-