org.apache.velocity.tools.generic
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>
ClassTool.Sub
public ClassTool.Sub()
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 the
Annotation
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
public int compareTo(T that)
- Specified by:
compareTo
in interface Comparable<T extends ClassTool.Sub>
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.