| Modifier and Type | Field and Description |
|---|---|
| private static final StringManager |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static Class | Returns: if the parameter is a primitive type returns its wrapper; otherwise returns the same classClass that will be evaluated clazz)Converts the primitive type to its corresponding wrapper. |
| public static Field[] | Returns: the class fields as an arrayThe class to introspect clazz)Obtain the declared fields for a class taking account of any security manager that may be configured. |
| public static Method[] | Returns: the class methods as an arrayThe class to introspect clazz)Obtain the declared methods for a class taking account of any security manager that may be configured. |
| public static String | Returns: the bean property nameThe setter method setter)Extract the Java Bean property name from the setter name. |
| public static boolean | Returns: true if the method is a valid lifecycle callback
method, else falseThe method to test method)Determines if a method is a valid lifecycle callback method. |
| public static boolean | Returns: true if the method does have a valid name and
signature, else falseThe method to test method)Determines if a method has a valid name and signature for a Java Bean setter. |
| public static Class |
| sm | back to summary |
|---|---|
| private static final StringManager sm | |
| Introspection | back to summary |
|---|---|
| public Introspection() | |
| convertPrimitiveType | back to summary |
|---|---|
| public static Class Converts the primitive type to its corresponding wrapper. | |
| getDeclaredFields | back to summary |
|---|---|
| public static Field[] getDeclaredFields(final Class<?> clazz) Obtain the declared fields for a class taking account of any security manager that may be configured. | |
| getDeclaredMethods | back to summary |
|---|---|
| public static Method[] getDeclaredMethods(final Class<?> clazz) Obtain the declared methods for a class taking account of any security manager that may be configured. | |
| getPropertyName | back to summary |
|---|---|
| public static String getPropertyName(Method setter) Extract the Java Bean property name from the setter name. Note This method assumes that the method name has already been checked for correctness. | |
| isValidLifecycleCallback | back to summary |
|---|---|
| public static boolean isValidLifecycleCallback(Method method) Determines if a method is a valid lifecycle callback method.
| |
| isValidSetter | back to summary |
|---|---|
| public static boolean isValidSetter(Method method) Determines if a method has a valid name and signature for a Java Bean setter.
| |
| loadClass | back to summary |
|---|---|
| public static Class Attempt to load a class using the given Container's class loader. If the class cannot be loaded, a debug level log message will be written to the Container's log and null will be returned. | |