类 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
- 所有已实现的接口:
Comparable<ClassTool.ConstructorSub>
- 封闭类:
- 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.-
字段概要
字段从类继承的字段 org.apache.velocity.tools.generic.ClassTool.CallableSub
javadocRef, signature, uniqueName -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected AnnotatedElementprotected intgetName()Class[]protected StringbooleanReturns true if the final parameter for the constructor was declared as a vararg.从类继承的方法 org.apache.velocity.tools.generic.ClassTool.CallableSub
getJavadocRef, getParameterCount, getSignature, getUniqueName, signature, takesParameters从类继承的方法 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
-
字段详细资料
-
constructor
-
-
构造器详细资料
-
ConstructorSub
Constructor inspector constructor- 参数:
constructor- constructor to inspect
-
-
方法详细资料
-
getElement
- 指定者:
getElement在类中ClassTool.Sub<ClassTool.ConstructorSub>- 返回:
- inspected element
-
getName
- 指定者:
getName在类中ClassTool.Sub<ClassTool.ConstructorSub>- 返回:
- inspected constructor name
-
getParameters
- 指定者:
getParameters在类中ClassTool.CallableSub<ClassTool.ConstructorSub>- 返回:
- inspected constructor parameters
-
isVarArgs
public boolean isVarArgs()Returns true if the final parameter for the constructor was declared as a vararg.- 指定者:
isVarArgs在类中ClassTool.CallableSub<ClassTool.ConstructorSub>- 返回:
- whether the inspected constructor is vararg
-
getModifiers
protected int getModifiers()- 指定者:
getModifiers在类中ClassTool.Sub<ClassTool.ConstructorSub>- 返回:
- inspected constructor modifiers
-
getSubType
- 指定者:
getSubType在类中ClassTool.Sub<ClassTool.ConstructorSub>- 返回:
- inspector type, aka "constructor"
-