|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Features<T>
Features encapsulate the methods, properties, and fields of a class or object. This provides quick access to all features indexed by name.
Method Summary | |
---|---|
T[] |
getEnumValues()
Get an array of all enumeration values for the enum class. |
java.lang.reflect.Field |
getField(java.lang.String name)
Get a Field object for the given name. |
java.util.List<java.lang.reflect.Method> |
getMethods(java.lang.String name)
Get a list of all methods for the given name. |
java.beans.PropertyDescriptor |
getProperty(java.lang.String name)
Get a PropertyDescriptor object for the given name. |
Method Detail |
---|
java.util.List<java.lang.reflect.Method> getMethods(java.lang.String name)
name
- the name of the method to be retrieved
java.beans.PropertyDescriptor getProperty(java.lang.String name)
name
- the name of the property to be retrieved
java.lang.reflect.Field getField(java.lang.String name)
name
- the name of the field to be retrieved
T[] getEnumValues()
null
if the class is not an enum
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |