public class AnnotationImpl extends java.lang.Object implements Annotation
| Constructor and Description |
|---|
AnnotationImpl(org.jboss.papaki.Annotation annotation)
Create a new AnnotationImpl with papaki backend
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getAnnotation()
Get the Annotation Object
|
java.lang.String |
getClassName()
Get the class Name of this annotation
|
java.lang.String |
getMemberName()
Get the member name
|
java.util.List<java.lang.String> |
getParameterTypes()
Get the list of parameters type for this annotation
|
boolean |
isOnField()
Check if the annotation is on a field
|
boolean |
isOnMethod()
Check if the annotation is on a method
|
public AnnotationImpl(org.jboss.papaki.Annotation annotation)
throws java.lang.IllegalArgumentException
annotation - the backing papaki annotationjava.lang.IllegalArgumentException - in case passed annotation is nullpublic java.lang.String getClassName()
AnnotationgetClassName in interface Annotationpublic java.lang.Object getAnnotation()
AnnotationgetAnnotation in interface Annotationpublic java.util.List<java.lang.String> getParameterTypes()
AnnotationgetParameterTypes in interface Annotationpublic java.lang.String getMemberName()
AnnotationgetMemberName in interface Annotationpublic boolean isOnMethod()
AnnotationisOnMethod in interface Annotationpublic boolean isOnField()
AnnotationisOnField in interface AnnotationCopyright ? 2008 Red Hat Middleware LLC (http://www.jboss.com/)