public class AnnotationUtils extends java.lang.Object
Constructor and Description |
---|
AnnotationUtils() |
Modifier and Type | Method and Description |
---|---|
static org.apache.hivemind.Location |
buildLocationForAnnotation(java.lang.reflect.Method method,
java.lang.annotation.Annotation annotation,
org.apache.hivemind.Resource classResource) |
static java.lang.String |
getPropertyName(java.lang.reflect.Method method)
Determines the property name for a method, by stripping off the is/get/set prefix and
decapitalizing the first name.
|
public AnnotationUtils()
public static java.lang.String getPropertyName(java.lang.reflect.Method method)
method
- accessor method (get/set/is)org.apache.hivemind.ApplicationRuntimeException
- if the method is not an accessor or mutator methodpublic static org.apache.hivemind.Location buildLocationForAnnotation(java.lang.reflect.Method method, java.lang.annotation.Annotation annotation, org.apache.hivemind.Resource classResource)