Class AnnotationImpl
- java.lang.Object
-
- org.jboss.as.connector.annotations.repository.jandex.AnnotationImpl
-
- All Implemented Interfaces:
org.jboss.jca.common.spi.annotations.repository.Annotation
public class AnnotationImpl extends Object implements org.jboss.jca.common.spi.annotations.repository.Annotation
An AnnotationImpl.- Author:
- Stefano Maestri
-
-
Constructor Summary
Constructors Constructor Description AnnotationImpl(String className, ClassLoader cl, List<String> parameterTypes, String memberName, boolean onMethod, boolean onField, Class<?> annotationClass)Create a new AnnotationImpl.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetAnnotation()Get the annotation.StringgetClassName()Get the className.StringgetMemberName()Get the memberName.List<String>getParameterTypes()Get the parameterTypes.booleanisOnField()Get the onField.booleanisOnMethod()Get the onMethod.
-
-
-
Constructor Detail
-
AnnotationImpl
public AnnotationImpl(String className, ClassLoader cl, List<String> parameterTypes, String memberName, boolean onMethod, boolean onField, Class<?> annotationClass)
Create a new AnnotationImpl.- Parameters:
className- classNamecl- classloaderparameterTypes- parameterTypesmemberName- memberNameonMethod- onMethodonField- onFieldannotationClass- annotationClass
-
-
Method Detail
-
getClassName
public final String getClassName()
Get the className.- Specified by:
getClassNamein interfaceorg.jboss.jca.common.spi.annotations.repository.Annotation- Returns:
- the className.
-
getAnnotation
public final Object getAnnotation()
Get the annotation.- Specified by:
getAnnotationin interfaceorg.jboss.jca.common.spi.annotations.repository.Annotation- Returns:
- the annotation.
-
getParameterTypes
public final List<String> getParameterTypes()
Get the parameterTypes.- Specified by:
getParameterTypesin interfaceorg.jboss.jca.common.spi.annotations.repository.Annotation- Returns:
- the parameterTypes.
-
getMemberName
public final String getMemberName()
Get the memberName.- Specified by:
getMemberNamein interfaceorg.jboss.jca.common.spi.annotations.repository.Annotation- Returns:
- the memberName.
-
isOnMethod
public final boolean isOnMethod()
Get the onMethod.- Specified by:
isOnMethodin interfaceorg.jboss.jca.common.spi.annotations.repository.Annotation- Returns:
- the onMethod.
-
isOnField
public final boolean isOnField()
Get the onField.- Specified by:
isOnFieldin interfaceorg.jboss.jca.common.spi.annotations.repository.Annotation- Returns:
- the onField.
-
-