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:
java.lang.Comparable<T>
Direct Known Subclasses:
ClassTool.CallableSub, ClassTool.FieldSub
Enclosing class:
ClassTool

public abstract static class ClassTool.Sub<T extends ClassTool.Sub>
extends java.lang.Object
implements java.lang.Comparable<T>


Constructor Summary
ClassTool.Sub()
           
 
Method Summary
 int compareTo(T that)
           
 boolean equals(java.lang.Object obj)
           
 java.util.List<java.lang.annotation.Annotation> getAnnotations()
          Returns the Annotations of the element being inspected.
protected abstract  java.lang.reflect.AnnotatedElement getElement()
           
abstract  java.lang.String getJavadocRef()
           
protected abstract  int getModifiers()
           
abstract  java.lang.String getName()
           
protected abstract  java.lang.String getSubType()
           
abstract  java.lang.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()
           
 java.lang.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 java.lang.reflect.AnnotatedElement getElement()

getModifiers

protected abstract int getModifiers()

getSubType

protected abstract java.lang.String getSubType()

getName

public abstract java.lang.String getName()

getUniqueName

public abstract java.lang.String getUniqueName()

getJavadocRef

public abstract java.lang.String getJavadocRef()

getAnnotations

public java.util.List<java.lang.annotation.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 java.lang.Comparable<T extends ClassTool.Sub>

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright (c) 2003-2007 Apache Software Foundation