Class ClassTool.Sub<T extends ClassTool.Sub>
java.lang.Object
org.apache.velocity.tools.generic.ClassTool.Sub<T>
- All Implemented Interfaces:
Comparable<T>
- Direct Known Subclasses:
ClassTool.CallableSub,ClassTool.FieldSub
- Enclosing class:
- ClassTool
public abstract static class ClassTool.Sub<T extends ClassTool.Sub>
extends Object
implements Comparable<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbooleanReturns theAnnotations of the element being inspected.protected abstract AnnotatedElementabstract Stringprotected abstract intabstract StringgetName()protected abstract Stringabstract StringinthashCode()booleanbooleanbooleanisFinal()booleanbooleanisNative()booleanbooleanbooleanisPublic()booleanisStatic()booleanisStrict()booleanbooleanbooleantoString()
-
Constructor Details
-
Sub
public Sub()
-
-
Method Details
-
getElement
-
getModifiers
protected abstract int getModifiers() -
getSubType
-
getName
-
getUniqueName
-
getJavadocRef
-
getAnnotations
Returns theAnnotations of the element being inspected. -
isDeprecated
public boolean isDeprecated() -
isPublic
public boolean isPublic() -
isProtected
public boolean isProtected() -
isPrivate
public boolean isPrivate() -
isStatic
public boolean isStatic() -
isFinal
public boolean isFinal() -
isInterface
public boolean isInterface() -
isNative
public boolean isNative() -
isStrict
public boolean isStrict() -
isSynchronized
public boolean isSynchronized() -
isTransient
public boolean isTransient() -
isVolatile
public boolean isVolatile() -
isAbstract
public boolean isAbstract() -
compareTo
- Specified by:
compareToin interfaceComparable<T extends ClassTool.Sub>
-
hashCode
public int hashCode() -
equals
-
toString
-