|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.bm.ejb3metadata.annotations.JField
public class JField
This class defines a Field object. It is not based on reflection.
Constructor Summary | |
---|---|
JField(int access,
java.lang.String name,
java.lang.String descriptor,
java.lang.String signature,
java.lang.Object value)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. |
int |
getAccess()
the field's access flags. |
java.lang.String |
getDescriptor()
field's descriptor. |
java.lang.String |
getName()
method name. |
java.lang.String |
getSignature()
method signature. |
java.lang.Object |
getValue()
field's value. |
int |
hashCode()
a hash code value for the object. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public JField(int access, java.lang.String name, java.lang.String descriptor, java.lang.String signature, java.lang.Object value)
access
- the field's access flags (see
org.ejb3unit.asm.Opcodes
). This parameter also indicates
if the field is synthetic and/or deprecated.name
- the field's name.descriptor
- the field's descriptor (see
org.ejb3unit.asm.Type
).signature
- the field's signature. May be null if the
field's type does not use generic types.value
- the field's initial value. This parameter, which may be
null if the field does not have an initial value, must
be an Integer
, a Float
, a Long
, a
Double
or a String
(for int,
float, long or String fields
respectively). This parameter is only used for static fields.
Its value is ignored for non static fields, which must be
initialized through bytecode instructions in constructors or
methods.Method Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- object to compare
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String getDescriptor()
public java.lang.Object getValue()
public java.lang.String getName()
public java.lang.String getSignature()
public java.lang.String toString()
toString
in class java.lang.Object
public int getAccess()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |