类 ClassTool.FieldSub
java.lang.Object
org.apache.velocity.tools.generic.ClassTool.Sub<ClassTool.FieldSub>
org.apache.velocity.tools.generic.ClassTool.FieldSub
- 所有已实现的接口:
Comparable<ClassTool.FieldSub>
- 封闭类:
- ClassTool
A simplified wrapping interface for inspecting features
of a
Field in an inspected Class.-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected AnnotatedElementSimply returns the name of the field.protected intgetName()Returns the value of the field if and only if it is a static field that has no access restrictions set by the security manager.protected StringgetType()Simply returns the name of the field, since field names cannot be overloaded.从类继承的方法 org.apache.velocity.tools.generic.ClassTool.Sub
compareTo, equals, getAnnotations, hashCode, isAbstract, isDeprecated, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isTransient, isVolatile, toString
-
字段详细资料
-
field
-
-
构造器详细资料
-
FieldSub
FieldSub constructor- 参数:
field- inspected field
-
-
方法详细资料
-
getElement
- 指定者:
getElement在类中ClassTool.Sub<ClassTool.FieldSub>- 返回:
- inspected element
-
getName
- 指定者:
getName在类中ClassTool.Sub<ClassTool.FieldSub>- 返回:
- field name
-
getUniqueName
Simply returns the name of the field, since field names cannot be overloaded.- 指定者:
getUniqueName在类中ClassTool.Sub<ClassTool.FieldSub>- 返回:
- unique name
-
getJavadocRef
Simply returns the name of the field.- 指定者:
getJavadocRef在类中ClassTool.Sub<ClassTool.FieldSub>- 返回:
- field name
-
getType
- 返回:
- field class
-
getStaticValue
Returns the value of the field if and only if it is a static field that has no access restrictions set by the security manager.- 返回:
- value of static field
-
getModifiers
protected int getModifiers()- 指定者:
getModifiers在类中ClassTool.Sub<ClassTool.FieldSub>- 返回:
- inspected field modifiers
-
getSubType
- 指定者:
getSubType在类中ClassTool.Sub<ClassTool.FieldSub>- 返回:
- inspected field inspector type, aka "field"
-