java.lang.Object
com.thoughtworks.qdox.model.expression.FieldRef
- 所有已实现的接口:
AnnotationValue,Expression
-
构造器概要
构造器构造器说明FieldRef(String name, TypeResolver typeResolver) create with the name and theTypeResolverobject of the declaring class -
方法概要
修饰符和类型方法说明accept(ExpressionVisitor visitor) Accept a visitor for this value.getField()getName()getNamePart(int index) getNamePrefix(int end) Get a parameter value forJavaAnnotation.getNamedParameter(String).intprotected JavaFieldresolveField(JavaClass javaClass, int start, int end) voidsetClassLibrary(ClassLibrary classLibrary) voidsetDeclaringClass(JavaClass declaringClass) toString()
-
构造器详细资料
-
FieldRef
- 参数:
name- the field name, notnull
-
FieldRef
create with the name and theTypeResolverobject of the declaring class- 参数:
name- the field name of the declaring class or any other class, notnulltypeResolver-
-
-
方法详细资料
-
getName
-
getNamePrefix
-
getNamePart
-
getPartCount
public int getPartCount() -
accept
Accept a visitor for this value.- 指定者:
accept在接口中AnnotationValue- 参数:
visitor- Visitor- 返回:
- Visitor result
-
getParameterValue
Get a parameter value forJavaAnnotation.getNamedParameter(String).- 指定者:
getParameterValue在接口中Expression- 返回:
- Parameter value
-
toString
-
setDeclaringClass
-
setClassLibrary
-
getClassPart
-
getFieldPart
-
resolveField
-
getField
-