com.thoughtworks.qdox.model.annotation
Class AnnotationFieldRef
java.lang.Object
com.thoughtworks.qdox.model.annotation.AnnotationFieldRef
- All Implemented Interfaces:
- AnnotationValue
public class AnnotationFieldRef
- extends Object
- implements AnnotationValue
AnnotationFieldRef
public AnnotationFieldRef(String name)
getName
public String getName()
getNamePrefix
public String getNamePrefix(int end)
getNamePart
public String getNamePart(int index)
getPartCount
public int getPartCount()
accept
public Object accept(AnnotationVisitor visitor)
- Description copied from interface:
AnnotationValue
- Accept a visitor for this value.
- Specified by:
accept
in interface AnnotationValue
- Parameters:
visitor
- Visitor
- Returns:
- Visitor result
getParameterValue
public Object getParameterValue()
- Description copied from interface:
AnnotationValue
- Get a parameter value for
Annotation.getNamedParameter(String)
.
- Specified by:
getParameterValue
in interface AnnotationValue
- Returns:
- Parameter value
toString
public String toString()
- Overrides:
toString
in class Object
getContext
public AbstractBaseJavaEntity getContext()
setContext
public void setContext(AbstractBaseJavaEntity context)
getClassPart
public String getClassPart()
getFieldPart
public String getFieldPart()
resolveField
protected JavaField resolveField(JavaClass javaClass,
int start,
int end)
getField
public JavaField getField()
Copyright © 2002-2011. All Rights Reserved.