Class ClassTool.ConstructorSub
java.lang.Object
org.apache.velocity.tools.generic.ClassTool.Sub<T>
org.apache.velocity.tools.generic.ClassTool.CallableSub<ClassTool.ConstructorSub>
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
FieldsFields inherited from class org.apache.velocity.tools.generic.ClassTool.CallableSub
javadocRef, signature, uniqueName
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AnnotatedElement
protected int
getName()
Class[]
protected String
boolean
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
-
Field Details
-
constructor
-
-
Constructor Details
-
ConstructorSub
-
-
Method Details
-
getElement
- Specified by:
getElement
in classClassTool.Sub<ClassTool.ConstructorSub>
-
getName
- Specified by:
getName
in classClassTool.Sub<ClassTool.ConstructorSub>
-
getParameters
- Specified by:
getParameters
in classClassTool.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 classClassTool.CallableSub<ClassTool.ConstructorSub>
-
getModifiers
protected int getModifiers()- Specified by:
getModifiers
in classClassTool.Sub<ClassTool.ConstructorSub>
-
getSubType
- Specified by:
getSubType
in classClassTool.Sub<ClassTool.ConstructorSub>
-