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