public class ReflectAnnotationReader extends Object implements MetadataReader
| Constructor and Description |
|---|
ReflectAnnotationReader() |
| Modifier and Type | Method and Description |
|---|---|
<A extends Annotation> |
getAnnotation(Class<A> annType,
Class<?> cls) |
<A extends Annotation> |
getAnnotation(Class<A> annType,
Method m) |
Annotation[] |
getAnnotations(Class<?> cls) |
Annotation[] |
getAnnotations(Method m) |
Annotation[][] |
getParameterAnnotations(Method method) |
void |
getProperties(Map<String,Object> prop,
Class<?> cls) |
void |
getProperties(Map<String,Object> prop,
Method method) |
void |
getProperties(Map<String,Object> prop,
Method method,
int pos) |
public Annotation[] getAnnotations(Method m)
getAnnotations in interface MetadataReaderpublic Annotation[][] getParameterAnnotations(Method method)
getParameterAnnotations in interface MetadataReaderpublic <A extends Annotation> A getAnnotation(Class<A> annType, Method m)
getAnnotation in interface MetadataReaderpublic <A extends Annotation> A getAnnotation(Class<A> annType, Class<?> cls)
getAnnotation in interface MetadataReaderpublic Annotation[] getAnnotations(Class<?> cls)
getAnnotations in interface MetadataReaderpublic void getProperties(Map<String,Object> prop, Class<?> cls)
getProperties in interface MetadataReaderpublic void getProperties(Map<String,Object> prop, Method method)
getProperties in interface MetadataReaderpublic void getProperties(Map<String,Object> prop, Method method, int pos)
getProperties in interface MetadataReaderCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.