类 ClassTool.Sub<T extends ClassTool.Sub>
java.lang.Object
org.apache.velocity.tools.generic.ClassTool.Sub<T>
- 所有已实现的接口:
Comparable<T>
- 直接已知子类:
ClassTool.CallableSub,ClassTool.FieldSub
- 封闭类:
- ClassTool
public abstract static class ClassTool.Sub<T extends ClassTool.Sub>
extends Object
implements Comparable<T>
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明intCompare unique names of inspected and given objectsbooleanReturns theAnnotations of the element being inspected.protected abstract AnnotatedElementabstract Stringprotected abstract intabstract StringgetName()protected abstract Stringabstract StringinthashCode()booleanbooleanInspected object deprecation statusbooleanisFinal()booleanbooleanisNative()booleanbooleanbooleanisPublic()booleanisStatic()booleanisStrict()booleanbooleanbooleantoString()
-
构造器详细资料
-
Sub
public Sub()
-
-
方法详细资料
-
getElement
-
getModifiers
protected abstract int getModifiers() -
getSubType
-
getName
-
getUniqueName
-
getJavadocRef
-
getAnnotations
Returns theAnnotations of the element being inspected.- 返回:
- annotations list
-
isDeprecated
public boolean isDeprecated()Inspected object deprecation status- 返回:
- deprecation status
-
isPublic
public boolean isPublic()- 返回:
- whether the inspected object is public
-
isProtected
public boolean isProtected()- 返回:
- whether the inspected object is protected
-
isPrivate
public boolean isPrivate()- 返回:
- whether the inspected object is private
-
isStatic
public boolean isStatic()- 返回:
- whether the inspected object is static
-
isFinal
public boolean isFinal()- 返回:
- whether the inspected object is final
-
isInterface
public boolean isInterface()- 返回:
- whether the inspected object is an interface
-
isNative
public boolean isNative()- 返回:
- whether the inspected object is native
-
isStrict
public boolean isStrict()- 返回:
- whether the inspected object is strictfp
-
isSynchronized
public boolean isSynchronized()- 返回:
- whether the inspected object is synchronized
-
isTransient
public boolean isTransient()- 返回:
- whether the inspected object is transcient
-
isVolatile
public boolean isVolatile()- 返回:
- whether the inspected object is volatile
-
isAbstract
public boolean isAbstract()- 返回:
- whether the inspected object is abstract
-
compareTo
Compare unique names of inspected and given objects- 指定者:
compareTo在接口中Comparable<T extends ClassTool.Sub>- 参数:
that- object to compare to- 返回:
- comparison result
-
hashCode
public int hashCode() -
equals
-
toString
-