public class ResourceInspectorUtil extends Object
| Constructor and Description |
|---|
ResourceInspectorUtil() |
| Modifier and Type | Method and Description |
|---|---|
protected static Class |
determineType(Class resource,
Method method)
Determine the expected type as the returned type of the method.
|
protected static List<Method> |
findMethodsByAnnotation(Class objClass,
Class<? extends Annotation> annotationType)
Finds methods for the given annotation
It first finds all public member methods of the class or interface represented by objClass,
including those inherited from superclasses and superinterfaces.
|
static Object |
invokeMethod(Method annotatedMethod,
Object obj)
Invokes a method and returns the result
|
protected static Class determineType(Class resource, Method method)
resource - - resource with methodsmethodName - protected static List<Method> findMethodsByAnnotation(Class objClass, Class<? extends Annotation> annotationType)
objClass - - the classannotationType - - the annotation to findCopyright © 2005–2014 Alfresco Software. All rights reserved.