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()
Annotation
getClassName
in interface Annotation
public java.lang.Object getAnnotation()
Annotation
getAnnotation
in interface Annotation
public java.util.List<java.lang.String> getParameterTypes()
Annotation
getParameterTypes
in interface Annotation
public java.lang.String getMemberName()
Annotation
getMemberName
in interface Annotation
public boolean isOnMethod()
Annotation
isOnMethod
in interface Annotation
public boolean isOnField()
Annotation
isOnField
in interface Annotation
Copyright ? 2008 Red Hat Middleware LLC (http://www.jboss.com/)