com.thoughtworks.qdox.model
Class Annotation
java.lang.Object
com.thoughtworks.qdox.model.Annotation
- All Implemented Interfaces:
- Serializable
public class Annotation
- extends Object
- implements Serializable
- Author:
- Eric Redmond
- See Also:
- Serialized Form
Annotation
public Annotation(Type type,
AbstractJavaEntity context,
Map namedParameters,
int lineNumber)
getType
public Type getType()
- Returns:
- the annotation type
getNamedParameter
public Object getNamedParameter(String key)
- Parameters:
key - name of a named-parameter
- Returns:
- the corresponding value,
or null if no such named-parameter was present
getNamedParameterMap
public Map getNamedParameterMap()
- Returns:
- a Map containing all the named-parameters
getContext
public final AbstractJavaEntity getContext()
getLineNumber
public int getLineNumber()
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2002-2007. All Rights Reserved.