com.thoughtworks.qdox.model
public class Annotation extends Object implements AnnotationValue, Serializable
| Constructor Summary | |
|---|---|
| Annotation(Type type, AbstractBaseJavaEntity context, Map namedParameters, int lineNumber) | |
| Annotation(Type type, int line) | |
| Method Summary | |
|---|---|
| Object | accept(AnnotationVisitor visitor) |
| AbstractBaseJavaEntity | getContext() |
| int | getLineNumber() |
| Object | getNamedParameter(String key) |
| Map | getNamedParameterMap() |
| Object | getParameterValue() |
| AnnotationValue | getProperty(String name) |
| Map | getPropertyMap() |
| Type | getType() |
| void | setContext(AbstractBaseJavaEntity context) |
| void | setProperty(String name, AnnotationValue value) |
| String | toString() |
Parameters: key name of a named-parameter
Returns: the corresponding value, or null if no such named-parameter was present
Returns: a Map containing all the named-parameters
Returns: the annotation type