Package | Description |
---|---|
jmplib | |
jmplib.reflect | |
jmplib.util.intercessor |
Modifier and Type | Method and Description |
---|---|
void |
TransactionalIntercessor.addField(java.lang.reflect.Type clazz,
Field... fields) |
void |
SimpleIntercessor.addField(java.lang.reflect.Type clazz,
Field... fields) |
void |
IIntercessor.addField(java.lang.reflect.Type clazz,
Field... fields) |
void |
TransactionalIntercessor.removeField(java.lang.reflect.Type clazz,
Field... fields) |
void |
SimpleIntercessor.removeField(java.lang.reflect.Type clazz,
Field... fields) |
void |
IIntercessor.removeField(java.lang.reflect.Type clazz,
Field... fields) |
void |
TransactionalIntercessor.replaceField(java.lang.reflect.Type clazz,
Field... fields) |
void |
SimpleIntercessor.replaceField(java.lang.reflect.Type clazz,
Field... fields) |
void |
IIntercessor.replaceField(java.lang.reflect.Type clazz,
Field... fields) |
Modifier and Type | Method and Description |
---|---|
static Field |
Introspector.decorateField(java.lang.reflect.Field field)
Puts a decorator to a java.lang.reflect.Field instance
|
static Field[] |
IntrospectionUtils.decorateFieldList(java.lang.reflect.Field[] fieldList)
Decorates a list of java.lang.reflect.Field objects.
|
static Field[] |
Introspector.decorateFields(java.lang.reflect.Field[] fields)
Puts a decorator to a java.lang.reflect.Field array
|
static Field[] |
IntrospectionUtils.filterJMPLibFields(Field[] fields)
Removes from the passed field list those fields that are added by JMPLib, to
avoid reflection users to see the inner workings of our library.
|
Field |
Class.getDeclaredField(java.lang.String name)
Returns a
Field object that reflects the specified declared
field of the class or interface represented by this Class
object. |
Field[] |
Class.getDeclaredFields()
Returns an array of
Field objects reflecting all the fields
declared by the class or interface represented by this
Class object. |
Field |
Class.getField(java.lang.String name)
Returns a
Field object that reflects the specified public member
field of the class or interface represented by this Class
object. |
Field[] |
Class.getFields()
Returns an array containing
Field objects reflecting all
the accessible public fields of the class or interface represented by
this Class object. |
Field[] |
Class.getFields(java.lang.String regexp)
Get all the fields whose name matches a regular expression
|
Modifier and Type | Method and Description |
---|---|
static Field[] |
IntrospectionUtils.filterJMPLibFields(Field[] fields)
Removes from the passed field list those fields that are added by JMPLib, to
avoid reflection users to see the inner workings of our library.
|
static boolean |
IntrospectionUtils.isJmpLibAddedField(Field m)
Determines if this field is a field added by JMPLib
|
Modifier and Type | Method and Description |
---|---|
static Field |
IntercessorTypeConversion.member2Field(java.lang.reflect.Member t)
Converts from a Member to a jmplib.reflect.Field
|