public interface CustomAnnotationInstance
Modifier and Type | Method and Description |
---|---|
void |
addParameterData(String paramName,
Object paramValue)
This method stores parameter data in the CustomAnnotationInstance
based on the key that is supplied.
|
String |
getAnnotationClassName()
This returns a string that represents the fully qualified name
of the annotation type this instance represents.
|
Object |
getParameterData(String paramName)
This method retrieves the parameter data associated with the given
parameter name.
|
ElementType |
getTarget()
This method returns the ElementType Enum that represents
the target for this annotation instance.
|
void |
setAnnotationClassName(String annotationClassName)
This sets a string that represents the fully qualified name
of the annotation type this instance represents.
|
void |
setTarget(ElementType elementType)
This method sets the ElementType Enum that represents the
target for this annotation instance.
|
String getAnnotationClassName()
void setAnnotationClassName(String annotationClassName)
void setTarget(ElementType elementType)
ElementType getTarget()
void addParameterData(String paramName, Object paramValue) throws IllegalArgumentException
IllegalArgumentException
Object getParameterData(String paramName) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.