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 Constructor Description Sub()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intcompareTo(T that)booleanequals(Object obj)List<Annotation>getAnnotations()Returns theAnnotations of the element being inspected.protected abstract AnnotatedElementgetElement()abstract StringgetJavadocRef()protected abstract intgetModifiers()abstract StringgetName()protected abstract StringgetSubType()abstract StringgetUniqueName()inthashCode()booleanisAbstract()booleanisDeprecated()booleanisFinal()booleanisInterface()booleanisNative()booleanisPrivate()booleanisProtected()booleanisPublic()booleanisStatic()booleanisStrict()booleanisSynchronized()booleanisTransient()booleanisVolatile()StringtoString()
-
-
-
Method Detail
-
getElement
protected abstract AnnotatedElement getElement()
-
getModifiers
protected abstract int getModifiers()
-
getSubType
protected abstract String getSubType()
-
getName
public abstract String getName()
-
getUniqueName
public abstract String getUniqueName()
-
getJavadocRef
public abstract String getJavadocRef()
-
getAnnotations
public List<Annotation> 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
public int compareTo(T that)
- Specified by:
compareToin interfaceComparable<T extends ClassTool.Sub>
-
-