public class AnnotationImpl extends java.lang.Object implements Annotation
Constructor and Description |
---|
AnnotationImpl(java.lang.String className,
java.lang.ClassLoader cl,
java.util.List<java.lang.String> parameterTypes,
java.lang.String memberName,
boolean onMethod,
boolean onField,
java.lang.Class<?> annotationClass)
Create a new AnnotationImpl.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAnnotation()
Get the annotation.
|
java.lang.String |
getClassName()
Get the className.
|
java.lang.String |
getMemberName()
Get the memberName.
|
java.util.List<java.lang.String> |
getParameterTypes()
Get the parameterTypes.
|
boolean |
isOnField()
Get the onField.
|
boolean |
isOnMethod()
Get the onMethod.
|
java.lang.String |
toString()
String representation
|
public AnnotationImpl(java.lang.String className, java.lang.ClassLoader cl, java.util.List<java.lang.String> parameterTypes, java.lang.String memberName, boolean onMethod, boolean onField, java.lang.Class<?> annotationClass)
className
- classNamecl
- classloaderparameterTypes
- parameterTypesmemberName
- memberNameonMethod
- onMethodonField
- onFieldannotationClass
- annotationClasspublic java.lang.String getClassName()
getClassName
in interface Annotation
public java.lang.Object getAnnotation()
getAnnotation
in interface Annotation
public java.util.List<java.lang.String> getParameterTypes()
getParameterTypes
in interface Annotation
public java.lang.String getMemberName()
getMemberName
in interface Annotation
public boolean isOnMethod()
isOnMethod
in interface Annotation
public boolean isOnField()
isOnField
in interface Annotation
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2013 IronJacamar (http://www.ironjacamar.org)