Package org.jvnet.jaxb.annox.reflect
Class DirectAnnotatedElementFactory
- java.lang.Object
-
- org.jvnet.jaxb.annox.reflect.DirectAnnotatedElementFactory
-
- All Implemented Interfaces:
AnnotatedElementFactory
public class DirectAnnotatedElementFactory extends Object implements AnnotatedElementFactory
-
-
Field Summary
Fields Modifier and Type Field Description static DirectAnnotatedElementFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description DirectAnnotatedElementFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotatedElementgetAnnotatedElement(AnnotatedElement annotatedElement)ParameterizedAnnotatedElementgetAnnotatedElement(Constructor constructor)ParameterizedAnnotatedElementgetAnnotatedElement(Method method)static DirectAnnotatedElementFactorygetInstance()
-
-
-
Field Detail
-
INSTANCE
public static DirectAnnotatedElementFactory INSTANCE
-
-
Method Detail
-
getInstance
public static DirectAnnotatedElementFactory getInstance()
-
getAnnotatedElement
public AnnotatedElement getAnnotatedElement(AnnotatedElement annotatedElement) throws AnnotatedElementException
- Specified by:
getAnnotatedElementin interfaceAnnotatedElementFactory- Throws:
AnnotatedElementException
-
getAnnotatedElement
public ParameterizedAnnotatedElement getAnnotatedElement(Method method) throws AnnotatedElementException
- Specified by:
getAnnotatedElementin interfaceAnnotatedElementFactory- Throws:
AnnotatedElementException
-
getAnnotatedElement
public ParameterizedAnnotatedElement getAnnotatedElement(Constructor constructor) throws AnnotatedElementException
- Specified by:
getAnnotatedElementin interfaceAnnotatedElementFactory- Throws:
AnnotatedElementException
-
-