public class AnnotationImpl extends Object implements Annotation
| Constructor and Description |
|---|
AnnotationImpl(String className,
ClassLoader cl,
List<String> parameterTypes,
String memberName,
boolean onMethod,
boolean onField,
Class<?> annotationClass)
Create a new AnnotationImpl.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getAnnotation()
Get the annotation.
|
String |
getClassName()
Get the className.
|
String |
getMemberName()
Get the memberName.
|
List<String> |
getParameterTypes()
Get the parameterTypes.
|
boolean |
isOnField()
Get the onField.
|
boolean |
isOnMethod()
Get the onMethod.
|
String |
toString()
String representation
|
public AnnotationImpl(String className, ClassLoader cl, List<String> parameterTypes, String memberName, boolean onMethod, boolean onField, Class<?> annotationClass)
className - classNamecl - classloaderparameterTypes - parameterTypesmemberName - memberNameonMethod - onMethodonField - onFieldannotationClass - annotationClasspublic String getClassName()
getClassName in interface Annotationpublic Object getAnnotation()
getAnnotation in interface Annotationpublic List<String> getParameterTypes()
getParameterTypes in interface Annotationpublic String getMemberName()
getMemberName in interface Annotationpublic boolean isOnMethod()
isOnMethod in interface Annotationpublic boolean isOnField()
isOnField in interface AnnotationCopyright © 2021 JBoss by Red Hat. All rights reserved.