org.apache.velocity.tools.generic
Class ClassTool.ConstructorSub

java.lang.Object
  extended by org.apache.velocity.tools.generic.ClassTool.Sub<T>
      extended by org.apache.velocity.tools.generic.ClassTool.CallableSub<ClassTool.ConstructorSub>
          extended by org.apache.velocity.tools.generic.ClassTool.ConstructorSub
All Implemented Interfaces:
Comparable<ClassTool.ConstructorSub>
Enclosing class:
ClassTool

public static class ClassTool.ConstructorSub
extends ClassTool.CallableSub<ClassTool.ConstructorSub>

A simplified wrapping interface for inspecting features of a Constructor in an inspected Class.


Field Summary
protected  Constructor constructor
           
 
Fields inherited from class org.apache.velocity.tools.generic.ClassTool.CallableSub
javadocRef, signature, uniqueName
 
Constructor Summary
ClassTool.ConstructorSub(Constructor constructor)
           
 
Method Summary
protected  AnnotatedElement getElement()
           
protected  int getModifiers()
           
 String getName()
           
 Class[] getParameters()
           
protected  String getSubType()
           
 boolean isVarArgs()
          Returns true if the final parameter for the constructor was declared as a vararg.
 
Methods inherited from class org.apache.velocity.tools.generic.ClassTool.CallableSub
getJavadocRef, getParameterCount, getSignature, getUniqueName, signature, takesParameters
 
Methods inherited from class org.apache.velocity.tools.generic.ClassTool.Sub
compareTo, equals, getAnnotations, hashCode, isAbstract, isDeprecated, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isTransient, isVolatile, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

constructor

protected Constructor constructor
Constructor Detail

ClassTool.ConstructorSub

public ClassTool.ConstructorSub(Constructor constructor)
Method Detail

getElement

protected AnnotatedElement getElement()
Specified by:
getElement in class ClassTool.Sub<ClassTool.ConstructorSub>

getName

public String getName()
Specified by:
getName in class ClassTool.Sub<ClassTool.ConstructorSub>

getParameters

public Class[] getParameters()
Specified by:
getParameters in class ClassTool.CallableSub<ClassTool.ConstructorSub>

isVarArgs

public boolean isVarArgs()
Returns true if the final parameter for the constructor was declared as a vararg.

Specified by:
isVarArgs in class ClassTool.CallableSub<ClassTool.ConstructorSub>

getModifiers

protected int getModifiers()
Specified by:
getModifiers in class ClassTool.Sub<ClassTool.ConstructorSub>

getSubType

protected String getSubType()
Specified by:
getSubType in class ClassTool.Sub<ClassTool.ConstructorSub>


Copyright © 2002-2011 The Apache Software Foundation. All Rights Reserved.