| java.lang.Object com.bm.ejb3metadata.annotations.JField
JField | public class JField (Code) | | This class defines a Field object. It is not based on reflection.
author: Florent Benoit |
JField | public JField(int access, String name, String descriptor, String signature, Object value)(Code) | | Constructor. *
Parameters: access - the field's access flags (seeorg.ejb3unit.asm.Opcodes). This parameter also indicatesif the field is synthetic and/or deprecated. Parameters: name - the field's name. Parameters: descriptor - the field's descriptor (seeorg.ejb3unit.asm.Type). Parameters: signature - the field's signature. May be null if thefield's type does not use generic types. Parameters: value - the field's initial value. This parameter, which may benull if the field does not have an initial value, mustbe an Integer, a Float, a Long, aDouble or a String (for int,float, long or String fieldsrespectively). This parameter is only used for static fields.Its value is ignored for non static fields, which must beinitialized through bytecode instructions in constructors ormethods. |
equals | public boolean equals(Object obj)(Code) | | Indicates whether some other object is "equal to" this one.
Parameters: obj - object to compare true if given object is equals |
getAccess | public int getAccess()(Code) | | the field's access flags.
the field's access flags |
getDescriptor | public String getDescriptor()(Code) | | field's descriptor.
field's descriptor. |
getName | public String getName()(Code) | | method name.
method name |
getSignature | public String getSignature()(Code) | | method signature.
method signature |
getValue | public Object getValue()(Code) | | field's value.
field's value. |
hashCode | public int hashCode()(Code) | | a hash code value for the object.
a hash code value for the object. |
|
|