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 TypeMethodDescriptionint
boolean
Returns theAnnotation
s of the element being inspected.protected abstract AnnotatedElement
abstract String
protected abstract int
abstract String
getName()
protected abstract String
abstract String
int
hashCode()
boolean
boolean
boolean
isFinal()
boolean
boolean
isNative()
boolean
boolean
boolean
isPublic()
boolean
isStatic()
boolean
isStrict()
boolean
boolean
boolean
toString()
-
Constructor Details
-
Sub
public Sub()
-
-
Method Details
-
getElement
-
getModifiers
protected abstract int getModifiers() -
getSubType
-
getName
-
getUniqueName
-
getJavadocRef
-
getAnnotations
Returns theAnnotation
s 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:
compareTo
in interfaceComparable<T extends ClassTool.Sub>
-
hashCode
public int hashCode() -
equals
-
toString
-