Package com.sun.xml.ws.model
Class ReflectAnnotationReader
- java.lang.Object
-
- com.sun.xml.ws.model.ReflectAnnotationReader
-
- All Implemented Interfaces:
MetadataReader
- Direct Known Subclasses:
ExternalMetadataReader
public class ReflectAnnotationReader extends Object implements MetadataReader
ReflectAnnotationReader- Author:
- [email protected]
-
-
Constructor Summary
Constructors Constructor Description ReflectAnnotationReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A extends Annotation>
AgetAnnotation(Class<A> annType, Class<?> cls)
<A extends Annotation>
AgetAnnotation(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)
-
-
-
Method Detail
-
getAnnotations
public Annotation[] getAnnotations(Method m)
- Specified by:
getAnnotations
in interfaceMetadataReader
-
getParameterAnnotations
public Annotation[][] getParameterAnnotations(Method method)
- Specified by:
getParameterAnnotations
in interfaceMetadataReader
-
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annType, Method m)
- Specified by:
getAnnotation
in interfaceMetadataReader
-
getAnnotation
public <A extends Annotation> A getAnnotation(Class<A> annType, Class<?> cls)
- Specified by:
getAnnotation
in interfaceMetadataReader
-
getAnnotations
public Annotation[] getAnnotations(Class<?> cls)
- Specified by:
getAnnotations
in interfaceMetadataReader
-
getProperties
public void getProperties(Map<String,Object> prop, Class<?> cls)
- Specified by:
getProperties
in interfaceMetadataReader
-
getProperties
public void getProperties(Map<String,Object> prop, Method method)
- Specified by:
getProperties
in interfaceMetadataReader
-
getProperties
public void getProperties(Map<String,Object> prop, Method method, int pos)
- Specified by:
getProperties
in interfaceMetadataReader
-
-