A B C D E F G H I K L M N O P R S T U V X

A

add(BigDecimal) - Method in class org.pfsw.reflect.BigDecimalFieldProxy
 
add(Integer) - Method in class org.pfsw.reflect.IntegerFieldProxy
 
add(Long) - Method in class org.pfsw.reflect.LongFieldProxy
 
add(T) - Method in class org.pfsw.reflect.NumericFieldProxy
Adds the given value to this field's value and returns the result.
addFieldsToList(List<Field>, Field[]) - Method in class org.pfsw.reflect.ReflectUtil
 
addInheritedFields(List<Field>, Class<?>) - Method in class org.pfsw.reflect.ReflectUtil
 
addInheritedMethods(List<Method>, Class<?>) - Method in class org.pfsw.reflect.ReflectUtil
 
addMethodsToList(List<Method>, Method[]) - Method in class org.pfsw.reflect.ReflectUtil
 
asObjectProperties(List<Field>) - Method in class org.pfsw.reflect.ReflectUtil
 
asObjectProperty(Field) - Method in class org.pfsw.reflect.ReflectUtil
 
AttributeReadAccess - Interface in org.pfsw.reflect
Specifies the methods an object must implement to provide generic read access to its attributes.
AttributeReadWriteAccess - Interface in org.pfsw.reflect
Specifies the methods an object must implement to provide generic write access to its attributes.

B

BigDecimalFieldProxy - Class in org.pfsw.reflect
Provides a field proxy for a BigDecimal type which offers some extra convenience methods for basic calculation.
BigDecimalFieldProxy(Object, Field) - Constructor for class org.pfsw.reflect.BigDecimalFieldProxy
 
BigDecimalFieldProxy(Object, String) - Constructor for class org.pfsw.reflect.BigDecimalFieldProxy
 

C

changeToValue(T) - Method in class org.pfsw.reflect.NumericFieldProxy
 
classExists(String) - Method in class org.pfsw.reflect.ReflectUtil
Returns true, if the class with the given name can be found in the classpath.
ClassInfo<T> - Class in org.pfsw.reflect
Contains the name of a class and the class itself.
ClassInfo(String) - Constructor for class org.pfsw.reflect.ClassInfo
Initialize the new instance with a class name.
ClassInfo(String, boolean) - Constructor for class org.pfsw.reflect.ClassInfo
Initialize the new instance with a class name and a flag if it is a singleton.
ClassInfo(Class<T>) - Constructor for class org.pfsw.reflect.ClassInfo
Initialize the new instance with a class.
ClassInfo(Class<T>, boolean) - Constructor for class org.pfsw.reflect.ClassInfo
Initialize the new instance with a class.
className() - Method in class org.pfsw.reflect.ClassInfo
 
className(String) - Method in class org.pfsw.reflect.ClassInfo
 
classObject() - Method in class org.pfsw.reflect.ClassInfo
 
classObject(Class<T>) - Method in class org.pfsw.reflect.ClassInfo
 
clear() - Method in class org.pfsw.reflect.MappedObject
Does nothing.
collectInterfaces(Set<Class<?>>, Class<?>) - Method in class org.pfsw.reflect.ReflectUtil
 
compatibleTypes(Class<?>[], Class<?>[]) - Method in class org.pfsw.reflect.ReflectUtil
Returns true if the types of the first array are assignable to the types of the second array.
contains(Class<?>[], Class<?>) - Method in class org.pfsw.reflect.ReflectUtil
Returns true if the given class is found in the provided class array.
containsKey(Object) - Method in class org.pfsw.reflect.MappedObject
 
containsValue(Object) - Method in class org.pfsw.reflect.MappedObject
 
convertToType(String, Class<?>) - Method in class org.pfsw.reflect.XmlReflection
 
create() - Static method in class org.pfsw.reflect.Modifiers
Returns a new unintialized instance.
create(int) - Static method in class org.pfsw.reflect.Modifiers
Returns a new instance initialized with the given bit settings.
create(Field) - Static method in class org.pfsw.reflect.Modifiers
Returns a new instance initialized with the modifier bits of the given field.
createInitializedInstance(Element) - Method in class org.pfsw.reflect.XmlReflection
 
createInitializedInstance(Element, Class<T>) - Method in class org.pfsw.reflect.XmlReflection
 
createInitializedInstances(List<Element>, Class<T>) - Method in class org.pfsw.reflect.XmlReflection
 
createInstance() - Method in class org.pfsw.reflect.ClassInfo
Returns a new instance of the class or null in any case of error.
createInstance(Element) - Method in class org.pfsw.reflect.XmlReflection
 
createInstance(Element, Class<T>) - Method in class org.pfsw.reflect.XmlReflection
 
createInstanceOf(String, Object, Object...) - Method in class org.pfsw.reflect.ReflectUtil
Tries to create an instance of the class with the given name.
createInstanceOfType(Class<T>, String, Object, Object...) - Method in class org.pfsw.reflect.ReflectUtil
Tries to create an instance of the class with the given name.
createNewInstance(Class<T>, Object...) - Method in class org.pfsw.reflect.ReflectUtil
If the given class has a constructor matching the given arguments it will be used to create a new instance.
createSingleton(T) - Static method in class org.pfsw.reflect.ClassInfo
Creates a new instance with a singleton.
current() - Static method in class org.pfsw.reflect.ReflectUtil
Returns an instance this class supports.

D

dec() - Method in class org.pfsw.reflect.NumericFieldProxy
Decrements this field's value by 1, stores the result in the field and returns it.
divide(BigDecimal) - Method in class org.pfsw.reflect.BigDecimalFieldProxy
 
divide(Integer) - Method in class org.pfsw.reflect.IntegerFieldProxy
 
divide(Long) - Method in class org.pfsw.reflect.LongFieldProxy
 
divide(T) - Method in class org.pfsw.reflect.NumericFieldProxy
Divides this field's value by the given value, stores the result in the field and returns the result.
Dynamic - Class in org.pfsw.reflect
This class supports more dynamic programming than usually possible in Java.
Dynamic() - Constructor for class org.pfsw.reflect.Dynamic
 
DynamicMBeanDelegator<TRECEIVER> - Class in org.pfsw.reflect
An generic reflection based implementation for applying a DynamicMBean interface on a another object that actually does not need to implement the DynamicMBean interface.
DynamicMBeanDelegator(TRECEIVER) - Constructor for class org.pfsw.reflect.DynamicMBeanDelegator
Initialize the new instance with the target object.

E

ElementWithModifiers - Interface in org.pfsw.reflect
 
EMPTY_CLASS_ARRAY - Static variable in class org.pfsw.reflect.ReflectUtil
A reusable empty array of type Class[]
EMPTY_CONSTRUCTOR_ARRAY - Static variable in class org.pfsw.reflect.ReflectUtil
A reusable empty array of type Constructor[]
EMPTY_FIELD_ARRAY - Static variable in class org.pfsw.reflect.ReflectUtil
A reusable empty array of type Field[]
EMPTY_METHOD_ARRAY - Static variable in class org.pfsw.reflect.ReflectUtil
A reusable empty array of type Method[]
EMPTY_OBJECT_ARRAY - Static variable in class org.pfsw.reflect.ClassInfo
 
EMPTY_STRING_ARRAY - Static variable in class org.pfsw.reflect.ObjectAccessWrapper
 
entrySet() - Method in class org.pfsw.reflect.MappedObject
 
equals(Object) - Method in class org.pfsw.reflect.MapEntry
 
equals(Object) - Method in class org.pfsw.reflect.Modifiers
Indicates whether some other object is "equal to" this one.

F

FieldProxy<T> - Class in org.pfsw.reflect
A proxy for a specific field in a target object that allows getting and setting to that field via reflection, regardless of the field's visibility (except if a SecurityManager is active).
FieldProxy(Object, Field) - Constructor for class org.pfsw.reflect.FieldProxy
 
FieldProxy(Object, String) - Constructor for class org.pfsw.reflect.FieldProxy
 
findClass(String) - Method in class org.pfsw.reflect.ReflectUtil
Returns the class object corresponding to the given class name or null, if the class can't be found.
findClasses(String...) - Method in class org.pfsw.reflect.ReflectUtil
Returns the classes corresponding to the given (full qualified) class names.
findConstructor(Class<T>, Class<?>...) - Method in class org.pfsw.reflect.ReflectUtil
Returns the constructor of the given class for the specified parameter types or null if no such constructor can be found.
findDefaultConstructor(Class<T>) - Method in class org.pfsw.reflect.ReflectUtil
Returns the default constructor of the given class or null if no such constructor can be found.
findField(Class<?>, String, int) - Method in class org.pfsw.reflect.ReflectUtil
Returns the field with the specified name in the given class and all the specified modifiers set.
findField(Class<?>, String) - Method in class org.pfsw.reflect.ReflectUtil
Returns the field with the specified name in the given class.
findMethod(Class<?>, String, Class<?>[]) - Static method in class org.pfsw.reflect.Dynamic
 
findMethod(Class<?>, String, Class<?>[], int) - Method in class org.pfsw.reflect.ReflectUtil
Returns the method with the specified name if it exists in the given class.
findMethod(Class<?>, String, Class<?>...) - Method in class org.pfsw.reflect.ReflectUtil
Returns the method with the specified name if it exists in the given class or any of its superclasses regardless of the method's visibility.

G

get() - Method in class org.pfsw.reflect.FieldProxy
Returns the current value (might be null).
get() - Method in interface org.pfsw.reflect.IValueHolder
Returns the current value (might be null).
get(Object) - Method in class org.pfsw.reflect.MappedObject
 
get(String) - Method in class org.pfsw.reflect.ObjectAccessWrapper
Returns the return value of the getter method of the given field name or null in any case of reflection problem.
get(String) - Method in class org.pfsw.reflect.ObjectOrMapAccessWrapper
Returns the return value of the getter method of the given field name or null in any case of reflection problem.
getAllTypesOf(Object) - Method in class org.pfsw.reflect.ReflectUtil
Returns all types of the given object or an empty collection if the object is null.
getAnnotationValueFrom(Class<?>, Class<? extends Annotation>) - Method in class org.pfsw.reflect.ReflectUtil
Tries to find the annotation of the specified type and return its "value" as String.
getAttribute(String) - Method in class org.pfsw.reflect.DynamicMBeanDelegator
Returns the value of the attribute with the given name.
getAttributeNames() - Method in interface org.pfsw.reflect.AttributeReadAccess
Returns the names of all attributes that can be accessed by the method getAttributeValue().
getAttributeNames() - Method in class org.pfsw.reflect.ObjectAccessWrapper
Returns the names of all attributes that can be accessed by the method getAttributeValue().
getAttributeNames() - Method in class org.pfsw.reflect.ObjectOrMapAccessWrapper
Returns the names of all attributes that can be accessed by the method getAttributeValue().
getAttributes(String[]) - Method in class org.pfsw.reflect.DynamicMBeanDelegator
Returns all the attributes with the specified names.
getAttributeValue(String) - Method in interface org.pfsw.reflect.AttributeReadAccess
Returns the current value of the attribute with the given name.
getAttributeValue(String) - Method in class org.pfsw.reflect.ObjectAccessWrapper
Returns the current value of the attribute (field) with the given name.
getAttributeValue(String) - Method in class org.pfsw.reflect.ObjectOrMapAccessWrapper
Returns the current value of the attribute (field) with the given name.
getAttrNameForClass() - Method in class org.pfsw.reflect.XmlReflection
 
getAttrNameForFieldName() - Method in class org.pfsw.reflect.XmlReflection
 
getAttrNameForFieldValue() - Method in class org.pfsw.reflect.XmlReflection
 
getBits() - Method in class org.pfsw.reflect.Modifiers
Return the bits as they are currently set.
getClassName() - Method in class org.pfsw.reflect.ClassInfo
Returns the name of the class, this object represents.
getClassObject() - Method in class org.pfsw.reflect.ClassInfo
Returns the the class object.
getConstructorsOf(Object) - Method in class org.pfsw.reflect.ReflectUtil
Returns a list of all constructors the class of the given object contains.
getConstructorsOf(Class<?>) - Method in class org.pfsw.reflect.ReflectUtil
Returns a list of all constructors the given class contains.
getEnumValueOf(Class<E>, String) - Method in class org.pfsw.reflect.ReflectUtil
A generic mechanism to get for a given name the corresponding enum constant.
getField() - Method in class org.pfsw.reflect.FieldProxy
 
getField() - Method in class org.pfsw.reflect.ObjectField
 
getField(Object, String) - Method in class org.pfsw.reflect.ReflectUtil
Returns the field with the specified name in the given object.
getFieldAccessor(String) - Method in class org.pfsw.reflect.MappedObject
 
getFieldAccessors() - Method in class org.pfsw.reflect.MappedObject
 
getFieldsOf(Object) - Method in class org.pfsw.reflect.ReflectUtil
Returns a list of all fields the given objects contains.
getFieldsOf(Class<?>) - Method in class org.pfsw.reflect.ReflectUtil
Returns a list of all fields the given class contains.
getInstance() - Method in class org.pfsw.reflect.ClassInfo
Returns either a new instance of the underlying class or always the identical instance if it is defined to be a singleton.
getInterfacesOf(Object) - Method in class org.pfsw.reflect.ReflectUtil
Returns all interfaces the given object's class implements.
getInterfacesOf(Class<?>) - Method in class org.pfsw.reflect.ReflectUtil
Returns all interfaces the given class implements.
getKey() - Method in class org.pfsw.reflect.MapEntry
 
getLoader() - Method in class org.pfsw.reflect.ReflectUtil
Returns the externally assigned class loader or if not present the class load of this class.
getManagedBeanInfo() - Method in class org.pfsw.reflect.DynamicMBeanDelegator
 
getMap() - Method in class org.pfsw.reflect.ObjectOrMapAccessWrapper
 
getMBeanInfo() - Method in class org.pfsw.reflect.DynamicMBeanDelegator
Returns the meta data describing the supported attributes and methods.
getMethod(Object, String, Class<?>...) - Method in class org.pfsw.reflect.ReflectUtil
Returns the method with the specified name if it exists in the class of the given object or any of its superclasses regardless the method's visibility.
getMethodsOf(Object) - Method in class org.pfsw.reflect.ReflectUtil
Returns a list of all methods the given objects contains.
getMethodsOf(Class<?>) - Method in class org.pfsw.reflect.ReflectUtil
Returns a list of all methods the given class contains.
getModifiers() - Method in interface org.pfsw.reflect.ElementWithModifiers
Returns all modifier settings of the property.
getModifiers() - Method in class org.pfsw.reflect.ObjectField
 
getName() - Method in interface org.pfsw.reflect.IObjectProperty
Returns the name of the property.
getName() - Method in class org.pfsw.reflect.ObjectField
 
getObject() - Method in class org.pfsw.reflect.MappedObject
Returns the original object wrapped by this to a Map interface.
getObject() - Method in class org.pfsw.reflect.ObjectAccessWrapper
 
getObjectPropertiesOf(Object) - Method in class org.pfsw.reflect.ReflectUtil
Returns a list of all properties the given objects contains.
getObjectPropertiesOf(Object, IObjectPropertyFilter) - Method in class org.pfsw.reflect.ReflectUtil
Returns a list of all properties the given objects contains and that match the specified filter criteria.
getObjectPropertiesOf(Class<?>) - Method in class org.pfsw.reflect.ReflectUtil
Returns a list of all properties the given objects contains.
getObjectPropertiesOf(Class<?>, IObjectPropertyFilter) - Method in class org.pfsw.reflect.ReflectUtil
Returns a list of all properties of the given class and that match the specified filter criteria.
getObjectType() - Method in class org.pfsw.reflect.MappedObject
Returns the type of the wrapped object.
getObjectType() - Method in class org.pfsw.reflect.ObjectAccessWrapper
Returns the type of the wrapped object.
getOwner() - Method in class org.pfsw.reflect.FieldProxy
 
getReceiver() - Method in class org.pfsw.reflect.DynamicMBeanDelegator
 
getSoleInstance() - Method in class org.pfsw.reflect.ClassInfo
 
getTagNameForField() - Method in class org.pfsw.reflect.XmlReflection
 
getType() - Method in interface org.pfsw.reflect.IObjectProperty
Returns the type of the property.
getType() - Method in class org.pfsw.reflect.ObjectField
 
getTypeOf(Object) - Static method in class org.pfsw.reflect.Dynamic
 
getTypeOf(Object) - Method in class org.pfsw.reflect.ReflectUtil
Returns the type of the given object.
getTypesFromParameters(Object...) - Method in class org.pfsw.reflect.ReflectUtil
Returns an array of the types (classes) corresponding to the parameter objects given to this methods.
getValue() - Method in class org.pfsw.reflect.MapEntry
 
getValueOf(Object, String) - Method in class org.pfsw.reflect.ReflectUtil
Returns the current value of the field with the specified name in the given object.
getValueOf(Object, Field) - Method in class org.pfsw.reflect.ReflectUtil
Returns the current value of the field in the given object.
getValueOfField(String) - Method in class org.pfsw.reflect.ObjectAccessWrapper
Returns the value of the field with the given field name or null in any case of reflection error.
getValueOfField(String) - Method in class org.pfsw.reflect.ObjectOrMapAccessWrapper
Returns the value of the field with the given field name or null in any case of reflection error.
getVisibility(int) - Method in class org.pfsw.reflect.ReflectUtil
Returns the visibility defined by the given modifiers as string.

H

handleException(Exception) - Method in class org.pfsw.reflect.ClassInfo
 
handleException(Exception) - Method in class org.pfsw.reflect.ObjectAccessWrapper
Handles all exceptions that might occur due to reflection access.
handleProblem(String, Object...) - Method in class org.pfsw.reflect.MappedObject
Ignores the problem if silent=true, otherwise throws a ReflectionException.
hasGetter(Object, Field) - Method in class org.pfsw.reflect.ReflectUtil
Returns whether or not the given object has a getter method (any visibility) for the specified field.
hashCode() - Method in class org.pfsw.reflect.MapEntry
 
hashCode() - Method in class org.pfsw.reflect.Modifiers
Returns a hash code value for the object.
hasPublicGetter(Object, Field) - Method in class org.pfsw.reflect.ReflectUtil
Returns whether or not the given object has a public getter method for the specified field.
hasPublicMethod(Class<?>, String, Class<?>...) - Method in class org.pfsw.reflect.ReflectUtil
Returns true if a public method with the specified name exists in the given class or any of its superclasses.
hasPublicMethod(Object, String, Class<?>...) - Method in class org.pfsw.reflect.ReflectUtil
Returns true if a public method with the specified name exists in the class of the given object or any of its superclasses.
hasPublicSetter(Object, Field) - Method in class org.pfsw.reflect.ReflectUtil
Returns whether or not the given object has a public setter method for the specified field.
hasSetter(Object, Field) - Method in class org.pfsw.reflect.ReflectUtil
Returns whether or not the given object has a setter method (any visibility) for the specified field.
hasValueAttrName() - Method in class org.pfsw.reflect.XmlReflection
 

I

implementsInterface(Object, Class<?>) - Method in class org.pfsw.reflect.ReflectUtil
Returns true if the class of the given object implements the specified interfaceType.
implementsInterface(Class<?>, Class<?>) - Method in class org.pfsw.reflect.ReflectUtil
Returns true if the given class implements the specified interfaceType.
inc() - Method in class org.pfsw.reflect.NumericFieldProxy
Increments this field's value by 1, stores the result in the field and returns it.
indexOf(Class<?>[], Class<?>) - Method in class org.pfsw.reflect.ReflectUtil
Returns the index of the given class in the provided class array or -1 if the class is not in the array.
initClassObject() - Method in class org.pfsw.reflect.ClassInfo
 
initFieldAccessors() - Method in class org.pfsw.reflect.MappedObject
 
initProperties(Element, Object) - Method in class org.pfsw.reflect.XmlReflection
 
IntegerFieldProxy - Class in org.pfsw.reflect
Provides a field proxy for an integer type which offers some extra convenience methods for basic calculation.
IntegerFieldProxy(Object, Field) - Constructor for class org.pfsw.reflect.IntegerFieldProxy
 
IntegerFieldProxy(Object, String) - Constructor for class org.pfsw.reflect.IntegerFieldProxy
 
internalCreateNewInstanceOfClass(boolean, Class<T>, Object...) - Method in class org.pfsw.reflect.ReflectUtil
If the given class has a constructor with types corresponding to the given parameters it will be used to create a new instance.
invoke(Object, String) - Static method in class org.pfsw.reflect.Dynamic
Executes the named method on the given object and without any arguments.
invoke(Object, String, Object) - Static method in class org.pfsw.reflect.Dynamic
Executes the named method on the given object with one none primitive argument.
invoke(Object, String, int) - Static method in class org.pfsw.reflect.Dynamic
Executes the named method on the given object with one integer argument.
invoke(Object, String, boolean) - Static method in class org.pfsw.reflect.Dynamic
Executes the named method on the given object with one boolean argument.
invoke(Object, String, Object[]) - Static method in class org.pfsw.reflect.Dynamic
Executes the named method on the given object with several arguments.
invoke(Object, String, Object[], Class<?>[]) - Static method in class org.pfsw.reflect.Dynamic
Executes the named method on the given object with several arguments.
invoke(Object, Method, Object[]) - Static method in class org.pfsw.reflect.Dynamic
Executes the given method on the given object with the specified arguments.
invoke(String, Object[], String[]) - Method in class org.pfsw.reflect.DynamicMBeanDelegator
Executes the methods that are supported via JMX.
IObjectProperty - Interface in org.pfsw.reflect
This is the generic view on a single object property (field / instance variable).
IObjectPropertyFilter - Interface in org.pfsw.reflect
A generic filter function definition for IObjectProperty objects.
isAbstract() - Method in interface org.pfsw.reflect.ElementWithModifiers
Return true if the modifiers includes the abstract modifier, false otherwise.
isAbstract() - Method in class org.pfsw.reflect.Modifiers
Return true if the modifiers includes the abstract modifier, false otherwise.
isAssignableFrom(Class<?>) - Method in class org.pfsw.reflect.ClassInfo
Determines if the class or interface represented by this ClassInfo object is either the same as, or is a superclass or superinterface of, the class or interface represented by the specified Class parameter.
isAssignableTo(Class<?>) - Method in class org.pfsw.reflect.ClassInfo
Determines if the class or interface represented by the specified class parameter is either the same as, or is a superclass or super interface of, the class or interface represented by this ClassInfo object.
isDefaultVisibility() - Method in interface org.pfsw.reflect.ElementWithModifiers
Return true if the modifier bits does not include any of the visibility modifiers public, protected private, false otherwise.
isDefaultVisibility() - Method in class org.pfsw.reflect.Modifiers
Return true if the modifier bits does not include any of the visibility modifiers public, protected private, false otherwise.
isDefaultVisibility(int) - Method in class org.pfsw.reflect.ReflectUtil
Returns true, if the visibility defined by the given modifiers is the default (package) visibility.
isEmpty() - Method in class org.pfsw.reflect.MappedObject
 
isFinal() - Method in interface org.pfsw.reflect.ElementWithModifiers
Return true if the modifiers includes the final modifier, false otherwise.
isFinal() - Method in class org.pfsw.reflect.Modifiers
Return true if the modifiers includes the final modifier, false otherwise.
isInstance(Object) - Method in class org.pfsw.reflect.ClassInfo
Determines if the specified Object is assignment-compatible with the object represented by this ClassInfo.
isInterface() - Method in interface org.pfsw.reflect.ElementWithModifiers
Return true if the modifiers includes the interface modifier, false otherwise.
isInterface() - Method in class org.pfsw.reflect.Modifiers
Return true if the modifiers includes the interface modifier, false otherwise.
isMap() - Method in class org.pfsw.reflect.ObjectOrMapAccessWrapper
 
isNative() - Method in interface org.pfsw.reflect.ElementWithModifiers
Return true if the modifiers includes the native modifier, false otherwise.
isNative() - Method in class org.pfsw.reflect.Modifiers
Return true if the modifiers includes the native modifier, false otherwise.
isNull() - Method in class org.pfsw.reflect.FieldProxy
Returns whether or not the underlying value is null.
isNull() - Method in interface org.pfsw.reflect.IValueHolder
Returns whether or not the underlying value is null.
isNull() - Method in class org.pfsw.reflect.MappedObject
Returns whether or not the underlying object is null.
isNullOrEmpty(Object[]) - Method in class org.pfsw.reflect.ReflectUtil
 
isNullOrEmpty(Collection<?>) - Method in class org.pfsw.reflect.ReflectUtil
 
isPackageVisible(Member) - Method in class org.pfsw.reflect.ReflectUtil
Returns true if the given member (Field, Method, Constructor) is not null and is package visible.
isPresent() - Method in class org.pfsw.reflect.FieldProxy
Returns whether or not the underlying value is not null.
isPresent() - Method in interface org.pfsw.reflect.IValueHolder
Returns whether or not the underlying value is not null.
isPrivate() - Method in interface org.pfsw.reflect.ElementWithModifiers
Return true if the modifiers includes the private modifier, false otherwise.
isPrivate() - Method in class org.pfsw.reflect.Modifiers
Return true if the modifiers includes the private modifier, false otherwise.
isProtected() - Method in interface org.pfsw.reflect.ElementWithModifiers
Return true if the modifiers includes the protected modifier, false otherwise.
isProtected() - Method in class org.pfsw.reflect.Modifiers
Return true if the modifiers includes the protected modifier, false otherwise.
isPublic() - Method in interface org.pfsw.reflect.ElementWithModifiers
Return true if the modifiers includes the public modifier, false otherwise.
isPublic() - Method in class org.pfsw.reflect.Modifiers
Return true if the modifiers includes the public modifier, false otherwise.
isSilent() - Method in class org.pfsw.reflect.MappedObject
Returns true if this object has been configured to ignore exceptions silently.
isSingleton() - Method in class org.pfsw.reflect.ClassInfo
 
isStatic() - Method in interface org.pfsw.reflect.ElementWithModifiers
Return true if the modifiers includes the static modifier, false otherwise.
isStatic() - Method in class org.pfsw.reflect.Modifiers
Return true if the modifiers includes the static modifier, false otherwise.
isStrict() - Method in interface org.pfsw.reflect.ElementWithModifiers
Return true if the modifiers includes the strict modifier, false otherwise.
isStrict() - Method in class org.pfsw.reflect.Modifiers
Return true if the modifiers includes the strict modifier, false otherwise.
isSubTypeOf(Class<?>, Class<?>) - Method in class org.pfsw.reflect.ReflectUtil
Returns whether or not the given type extends the given superType.
isSynchronized() - Method in interface org.pfsw.reflect.ElementWithModifiers
Return true if the modifiers includes the synchronized modifier, false otherwise.
isSynchronized() - Method in class org.pfsw.reflect.Modifiers
Return true if the modifiers includes the synchronized modifier, false otherwise.
isTransient() - Method in interface org.pfsw.reflect.ElementWithModifiers
Return true if the modifiers includes the transient modifier, false otherwise.
isTransient() - Method in class org.pfsw.reflect.Modifiers
Return true if the modifiers includes the transient modifier, false otherwise.
isVolatile() - Method in interface org.pfsw.reflect.ElementWithModifiers
Return true if the modifiers includes the volatile modifier, false otherwise.
isVolatile() - Method in class org.pfsw.reflect.Modifiers
Return true if the modifiers includes the volatile modifier, false otherwise.
IValueHolder<T> - Interface in org.pfsw.reflect
A generic interface to a single value held by another object.

K

keySet() - Method in class org.pfsw.reflect.MappedObject
Returns all field names of the underlying object.

L

LongFieldProxy - Class in org.pfsw.reflect
Provides a field proxy for a Long type which offers some extra convenience methods for basic calculation.
LongFieldProxy(Object, Field) - Constructor for class org.pfsw.reflect.LongFieldProxy
 
LongFieldProxy(Object, String) - Constructor for class org.pfsw.reflect.LongFieldProxy
 

M

makeAccessMethodName(String, String) - Method in class org.pfsw.reflect.ReflectUtil
Returns the method name with the specified prefix for the given field name.
makeGetterName(String) - Method in class org.pfsw.reflect.ReflectUtil
Returns the getter method name for the given field name.
makeSetterName(String) - Method in class org.pfsw.reflect.ReflectUtil
Returns the setter method name for the given field name.
MapEntry<K,V> - Class in org.pfsw.reflect
A simple implementation of Map.Entry interface that can be used with any kind of Map implementation.
MapEntry(K, V) - Constructor for class org.pfsw.reflect.MapEntry
 
MappedObject - Class in org.pfsw.reflect
This is a wrapper for an arbitrary object to allow accessing its field through the Map interface where the field names are the keys.
MappedObject(Object) - Constructor for class org.pfsw.reflect.MappedObject
Creates an instance on the given object and ignores problems silently.
MappedObject(Object, boolean) - Constructor for class org.pfsw.reflect.MappedObject
Creates an instance on the given object and handles problems silently if silent is true, otherwise problems will cause a ReflectionException.
matches(IObjectProperty) - Method in interface org.pfsw.reflect.IObjectPropertyFilter
Returns true if the given objectProperty matches the filter criteria.
Modifiers - Class in org.pfsw.reflect
This class provides methods to conveniently set/unset modifier bits without having to fiddle around with bit logic.
Modifiers() - Constructor for class org.pfsw.reflect.Modifiers
Initialize the new instance with default value 0.
Modifiers(int) - Constructor for class org.pfsw.reflect.Modifiers
Initialize the new instance with given value.
multiply(BigDecimal) - Method in class org.pfsw.reflect.BigDecimalFieldProxy
 
multiply(Integer) - Method in class org.pfsw.reflect.IntegerFieldProxy
 
multiply(Long) - Method in class org.pfsw.reflect.LongFieldProxy
 
multiply(T) - Method in class org.pfsw.reflect.NumericFieldProxy
Multiplies this field's value with the given value, stores the result in the field and returns the result.

N

negate(BigDecimal) - Method in class org.pfsw.reflect.BigDecimalFieldProxy
 
negate(Integer) - Method in class org.pfsw.reflect.IntegerFieldProxy
 
negate(Long) - Method in class org.pfsw.reflect.LongFieldProxy
 
negate(T) - Method in class org.pfsw.reflect.NumericFieldProxy
Returns the negated value of the given value.
newArray(int) - Method in class org.pfsw.reflect.ClassInfo
Returns a new array of the type represented by this ClassInfo.
newInstance() - Method in class org.pfsw.reflect.ClassInfo
Returns a new instance of the class.
newInstance(Class<T>) - Method in class org.pfsw.reflect.ReflectUtil
If the given class has a constructor without parameters it will be used to create a new instance.
newInstance(Class<T>, Object) - Method in class org.pfsw.reflect.ReflectUtil
If the given class has a constructor with one parameter type matching the given parameter it will be used to create a new instance.
newInstance(Class<T>, Object, Object) - Method in class org.pfsw.reflect.ReflectUtil
If the given class has a constructor with two parameter type matching the given parameters it will be used to create a new instance.
newInstance(Class<T>, Object[]) - Method in class org.pfsw.reflect.ReflectUtil
If the given class has a constructor with types corresponding to the given parameters it will be used to create a new instance.
newInstance(String) - Method in class org.pfsw.reflect.ReflectUtil
Tries to find the class with the given name and to create an instance of it.
newInstance(String, Object) - Method in class org.pfsw.reflect.ReflectUtil
Tries to find the class with the given name and to create an instance of it.
newInstance(String, Object, Object) - Method in class org.pfsw.reflect.ReflectUtil
Tries to find the class with the given name and to create an instance of it.
newInstance(String, Object[]) - Method in class org.pfsw.reflect.ReflectUtil
Tries to find the class with the given name and to create an instance of it.
newInstanceOf(Class<T>, Object...) - Method in class org.pfsw.reflect.ReflectUtil
If the given class has a constructor with types corresponding to the given parameters it will be used to create a new instance.
NumericFieldProxy<T> - Class in org.pfsw.reflect
Provides an abstract field proxy for numeric types which offers some extra convenience methods for basic calculation.
NumericFieldProxy(Object, Field) - Constructor for class org.pfsw.reflect.NumericFieldProxy
 
NumericFieldProxy(Object, String) - Constructor for class org.pfsw.reflect.NumericFieldProxy
 

O

ObjectAccessWrapper - Class in org.pfsw.reflect
A wrapper that is capable to read and write object fields via getter and setter methods or directly.
ObjectAccessWrapper(Object) - Constructor for class org.pfsw.reflect.ObjectAccessWrapper
Initialize the new instance with an object.
ObjectField - Class in org.pfsw.reflect
This is an IObjectProperty implementing wrapper around a Field.
ObjectField(Field) - Constructor for class org.pfsw.reflect.ObjectField
 
ObjectOrMapAccessWrapper - Class in org.pfsw.reflect
A wrapper that is capable to read and write object fields via getter and setter methods or directly.
ObjectOrMapAccessWrapper(Object) - Constructor for class org.pfsw.reflect.ObjectOrMapAccessWrapper
Initialize the new instance with an object to wrap.
of(Member) - Static method in class org.pfsw.reflect.Modifiers
Returns a new instance initialized with the modifier bits of the given member (i.e.
of(Class<?>) - Static method in class org.pfsw.reflect.Modifiers
Returns a new instance initialized with the modifier bits of the given class.
one() - Method in class org.pfsw.reflect.BigDecimalFieldProxy
 
one() - Method in class org.pfsw.reflect.IntegerFieldProxy
 
one() - Method in class org.pfsw.reflect.LongFieldProxy
 
one() - Method in class org.pfsw.reflect.NumericFieldProxy
Returns the representation of 1 as type T.
onlyMatching(List<IObjectProperty>, IObjectPropertyFilter) - Method in class org.pfsw.reflect.ReflectUtil
Returns a list of all object properties that match the given filter criteria.
org.pfsw.reflect - package org.pfsw.reflect
Reflection Utility Classes
Provides convenience methods on top of the standard Java reflection API.

P

perform(Object, String) - Static method in class org.pfsw.reflect.Dynamic
Executes the named method on the given object and without any arguments.
perform(Object, String, Object) - Static method in class org.pfsw.reflect.Dynamic
Executes the named method on the given object with one none primitive argument.
perform(Object, String, int) - Static method in class org.pfsw.reflect.Dynamic
Executes the named method on the given object with one integer argument.
perform(Object, String, boolean) - Static method in class org.pfsw.reflect.Dynamic
Executes the named method on the given object with one boolean argument.
perform(Object, String, Object[]) - Static method in class org.pfsw.reflect.Dynamic
Executes the named method on the given object with several arguments.
perform(Object, String, Object[], String[]) - Static method in class org.pfsw.reflect.Dynamic
This method allows direct dynamic execution of JMX MBean method invocations.
perform(Object, String, Object[], Class<?>[]) - Static method in class org.pfsw.reflect.Dynamic
Executes the named method on the given object with several arguments.
perform(Object, Method, Object[]) - Static method in class org.pfsw.reflect.Dynamic
Executes the given method on the given object with the specified arguments.
put(String, Object) - Method in class org.pfsw.reflect.MappedObject
 
putAll(Map<? extends String, ? extends Object>) - Method in class org.pfsw.reflect.MappedObject
 

R

ReflectionException - Exception in org.pfsw.reflect
Special runtime exception to wrap all exceptions that might occur due to reflective access to objects and classes.
ReflectionException(Throwable) - Constructor for exception org.pfsw.reflect.ReflectionException
 
ReflectionException(Throwable, String, Object...) - Constructor for exception org.pfsw.reflect.ReflectionException
 
ReflectionException(String, Object...) - Constructor for exception org.pfsw.reflect.ReflectionException
 
ReflectUtil - Class in org.pfsw.reflect
The current instance (Singleton) of this class can be accessed by method current().
ReflectUtil() - Constructor for class org.pfsw.reflect.ReflectUtil
Initialize the new instance with default values.
ReflectUtil(ClassLoader) - Constructor for class org.pfsw.reflect.ReflectUtil
Initialize the new instance with a different class loader.
remove(Object) - Method in class org.pfsw.reflect.MappedObject
Returns the value for the given fieldName, but does not remove anything.
reset() - Method in class org.pfsw.reflect.Modifiers
Resets the modifier to 0.
RU - Static variable in class org.pfsw.reflect.ObjectAccessWrapper
 
RU - Static variable in class org.pfsw.reflect.ReflectUtil
An instance of this class which can be easily included as static import and then used like RU.findClass("java.util.ArrayList").

S

set(T) - Method in class org.pfsw.reflect.FieldProxy
Sets the current value.
set(T) - Method in interface org.pfsw.reflect.IValueHolder
Sets the current value.
set(String, Object) - Method in class org.pfsw.reflect.ObjectAccessWrapper
Invokes the setter method of the given field name and passes the specified value as parameter to it.
set(String, Object) - Method in class org.pfsw.reflect.ObjectOrMapAccessWrapper
Invokes the setter method of the given field name and passes the specified value as parameter to it.
setAbstract() - Method in class org.pfsw.reflect.Modifiers
Sets the ABSTRACT bit.
setAttribute(Attribute) - Method in class org.pfsw.reflect.DynamicMBeanDelegator
Sets the specified attribute.
setAttributes(AttributeList) - Method in class org.pfsw.reflect.DynamicMBeanDelegator
Sets all specified attributes.
setAttributeValue(String, Object) - Method in interface org.pfsw.reflect.AttributeReadWriteAccess
Sets the current value of the attribute with the given name.
setAttributeValue(String, Object) - Method in class org.pfsw.reflect.ObjectAccessWrapper
Sets the current value of the attribute (field) with the given name.
setAttributeValue(String, Object) - Method in class org.pfsw.reflect.ObjectOrMapAccessWrapper
Sets the current value of the attribute (field) with the given name.
setAttrNameForClass(String) - Method in class org.pfsw.reflect.XmlReflection
 
setAttrNameForFieldName(String) - Method in class org.pfsw.reflect.XmlReflection
 
setAttrNameForFieldValue(String) - Method in class org.pfsw.reflect.XmlReflection
 
setBits(int) - Method in class org.pfsw.reflect.Modifiers
 
setClassName(String) - Method in class org.pfsw.reflect.ClassInfo
Set the name of the class this object should represent.
setClassObject(Class<T>) - Method in class org.pfsw.reflect.ClassInfo
Set the class object.
setDefaultVisibility() - Method in class org.pfsw.reflect.Modifiers
Sets the visibility to default that means unset PUBLIC, PROTECTED, PRIVATE bits.
setFinal() - Method in class org.pfsw.reflect.Modifiers
Sets the FINAL bit.
setInterface() - Method in class org.pfsw.reflect.Modifiers
Sets the INTERFACE bit.
setIsMap(boolean) - Method in class org.pfsw.reflect.ObjectOrMapAccessWrapper
 
setIsSingleton(boolean) - Method in class org.pfsw.reflect.ClassInfo
 
setManagedBeanInfo(MBeanInfo) - Method in class org.pfsw.reflect.DynamicMBeanDelegator
 
setModifier(int) - Method in class org.pfsw.reflect.Modifiers
Sets the bits in the underlying int that are specified by mod.
setNative() - Method in class org.pfsw.reflect.Modifiers
Sets the NATIVE bit.
setObject(Object) - Method in class org.pfsw.reflect.MappedObject
Sets the object to be wrapped for allowing it being used as Map.
setObject(Object) - Method in class org.pfsw.reflect.ObjectAccessWrapper
Set the underlying object.
setObject(Object) - Method in class org.pfsw.reflect.ObjectOrMapAccessWrapper
Set the underlying object.
setPrivate() - Method in class org.pfsw.reflect.Modifiers
Sets the PRIVATE bit.
setProtected() - Method in class org.pfsw.reflect.Modifiers
Sets the PROTECTED bit.
setPublic() - Method in class org.pfsw.reflect.Modifiers
Sets the PUBLIC bit.
setReceiver(TRECEIVER) - Method in class org.pfsw.reflect.DynamicMBeanDelegator
 
setSilent(boolean) - Method in class org.pfsw.reflect.MappedObject
 
setSoleInstance(T) - Method in class org.pfsw.reflect.ClassInfo
 
setStatic() - Method in class org.pfsw.reflect.Modifiers
Sets the STATIC bit.
setStrict() - Method in class org.pfsw.reflect.Modifiers
Sets the STRICT bit.
setSynchronized() - Method in class org.pfsw.reflect.Modifiers
Sets the SYNCHRONIZED bit.
setTagNameForField(String) - Method in class org.pfsw.reflect.XmlReflection
 
setTransient() - Method in class org.pfsw.reflect.Modifiers
Sets the TRANSIENT bit.
setValue(V) - Method in class org.pfsw.reflect.MapEntry
Replaces the value of this entry by the given one and returns the old one.
setValueOf(Object, String, Object) - Method in class org.pfsw.reflect.ReflectUtil
Sets the value of the field with the specified name to the given value.
setValueOf(Object, String, char) - Method in class org.pfsw.reflect.ReflectUtil
Sets the value of the field with the specified name to the given value.
setValueOf(Object, String, int) - Method in class org.pfsw.reflect.ReflectUtil
Sets the value of the field with the specified name to the given value.
setValueOf(Object, String, byte) - Method in class org.pfsw.reflect.ReflectUtil
Sets the value of the field with the specified name to the given value.
setValueOf(Object, String, boolean) - Method in class org.pfsw.reflect.ReflectUtil
Sets the value of the field with the specified name to the given value.
setValueOf(Object, String, long) - Method in class org.pfsw.reflect.ReflectUtil
Sets the value of the field with the specified name to the given value.
setValueOf(Object, String, short) - Method in class org.pfsw.reflect.ReflectUtil
Sets the value of the field with the specified name to the given value.
setValueOf(Object, String, double) - Method in class org.pfsw.reflect.ReflectUtil
Sets the value of the field with the specified name to the given value.
setValueOf(Object, String, float) - Method in class org.pfsw.reflect.ReflectUtil
Sets the value of the field with the specified name to the given value.
setValueOf(Object, Field, Object) - Method in class org.pfsw.reflect.ReflectUtil
Sets the specified field of the given object to the provided value.
setValueOf(Object, String, Object, boolean) - Method in class org.pfsw.reflect.ReflectUtil
 
setValueOf(Object, Field, Object, boolean) - Method in class org.pfsw.reflect.ReflectUtil
 
setValueOfField(String, Object) - Method in class org.pfsw.reflect.ObjectAccessWrapper
Modifies the field with the given name directly to the specified value without calling the setter.
setValueOfField(String, Object) - Method in class org.pfsw.reflect.ObjectOrMapAccessWrapper
Modifies the field with the given name directly to the specified value without calling the setter.
setVisibility(String) - Method in class org.pfsw.reflect.Modifiers
Sets the visibility from the given string.
setVolatile() - Method in class org.pfsw.reflect.Modifiers
Sets the VOLATILE bit.
size() - Method in class org.pfsw.reflect.MappedObject
 
subtract(T) - Method in class org.pfsw.reflect.NumericFieldProxy
Subtracts the given value from this field's value, stores the result in the field and returns it.

T

toArray(Collection<?>, String, Class<T>) - Method in class org.pfsw.reflect.ReflectUtil
Returns an array containing all objects that are returned by the specified method name executed against each element in the given collection.
toString() - Method in class org.pfsw.reflect.ClassInfo
 
toString() - Method in class org.pfsw.reflect.MapEntry
 
toString() - Method in class org.pfsw.reflect.Modifiers
Return a string describing the access modifier flags in the specified modifier.
toString() - Method in class org.pfsw.reflect.ObjectField
 
toStringArray(Collection<?>, String) - Method in class org.pfsw.reflect.ReflectUtil
Returns a string array containing all objects that are returned by the specified method name executed against each element in the given collection.

U

UnknownFieldException - Exception in org.pfsw.reflect
A runtime exception to signal that a field cannot be found by reflection.
UnknownFieldException(String, Object...) - Constructor for exception org.pfsw.reflect.UnknownFieldException
 
UnknownFieldException(Throwable, String, Object...) - Constructor for exception org.pfsw.reflect.UnknownFieldException
 
unsetAbstract() - Method in class org.pfsw.reflect.Modifiers
Unsets the ABSTRACT bit.
unsetFinal() - Method in class org.pfsw.reflect.Modifiers
Unsets the FINAL bit.
unsetInterface() - Method in class org.pfsw.reflect.Modifiers
Unsets the INTERFACE bit.
unsetModifier(int) - Method in class org.pfsw.reflect.Modifiers
Unsets the bits in the underlying int that are specified by mod.
unsetNative() - Method in class org.pfsw.reflect.Modifiers
Unsets the NATIVE bit.
unsetPrivate() - Method in class org.pfsw.reflect.Modifiers
Unsets the PRIVATE bit.
unsetProtected() - Method in class org.pfsw.reflect.Modifiers
Unsets the PROTECTED bit.
unsetPublic() - Method in class org.pfsw.reflect.Modifiers
Unsets the PUBLIC bit.
unsetStatic() - Method in class org.pfsw.reflect.Modifiers
Unsets the STATIC bit.
unsetStrict() - Method in class org.pfsw.reflect.Modifiers
Unsets the STRICT bit.
unsetSynchronized() - Method in class org.pfsw.reflect.Modifiers
Unsets the SYNCHRONIZED bit.
unsetTransient() - Method in class org.pfsw.reflect.Modifiers
Unsets the TRANSIENT bit.
unsetVolatile() - Method in class org.pfsw.reflect.Modifiers
Unsets the VOLATILE bit.

V

values() - Method in class org.pfsw.reflect.MappedObject
 
VIS_DEFAULT - Static variable in class org.pfsw.reflect.Modifiers
String constant for "".
VIS_PRIVATE - Static variable in class org.pfsw.reflect.Modifiers
String constant for "private".
VIS_PROTECTED - Static variable in class org.pfsw.reflect.Modifiers
String constant for "protected".
VIS_PUBLIC - Static variable in class org.pfsw.reflect.Modifiers
String constant for "public".

X

XmlReflection - Class in org.pfsw.reflect
Provides a mechanism to create Java object instances from XML meta-data describing the objects to create.
XmlReflection() - Constructor for class org.pfsw.reflect.XmlReflection
Initialize the new instance with default values.

A B C D E F G H I K L M N O P R S T U V X