org.apache.velocity.tools.generic
Class ClassTool.Sub<T extends ClassTool.Sub>

java.lang.Object
  extended by 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
ClassTool.Sub()
           
 
Method Summary
 int compareTo(T that)
           
 boolean equals(Object obj)
           
 List<Annotation> getAnnotations()
          Returns the Annotations of the element being inspected.
protected abstract  AnnotatedElement getElement()
           
abstract  String getJavadocRef()
           
protected abstract  int getModifiers()
           
abstract  String getName()
           
protected abstract  String getSubType()
           
abstract  String getUniqueName()
           
 int hashCode()
           
 boolean isAbstract()
           
 boolean isDeprecated()
           
 boolean isFinal()
           
 boolean isInterface()
           
 boolean isNative()
           
 boolean isPrivate()
           
 boolean isProtected()
           
 boolean isPublic()
           
 boolean isStatic()
           
 boolean isStrict()
           
 boolean isSynchronized()
           
 boolean isTransient()
           
 boolean isVolatile()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassTool.Sub

public ClassTool.Sub()
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 the Annotations 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-2011 The Apache Software Foundation. All Rights Reserved.