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 Annotation
public Object getAnnotation()
getAnnotation
in interface Annotation
public List<String> getParameterTypes()
getParameterTypes
in interface Annotation
public String getMemberName()
getMemberName
in interface Annotation
public boolean isOnMethod()
isOnMethod
in interface Annotation
public boolean isOnField()
isOnField
in interface Annotation
Copyright © 2021 JBoss by Red Hat. All rights reserved.