public static class ClassTool.ConstructorSub extends ClassTool.CallableSub<ClassTool.ConstructorSub>
Constructor
in an inspected Class.Modifier and Type | Field and Description |
---|---|
protected Constructor |
constructor |
javadocRef, signature, uniqueName
Constructor and Description |
---|
ConstructorSub(Constructor constructor) |
Modifier and Type | Method and Description |
---|---|
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.
|
getJavadocRef, getParameterCount, getSignature, getUniqueName, signature, takesParameters
compareTo, equals, getAnnotations, hashCode, isAbstract, isDeprecated, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isTransient, isVolatile, toString
protected Constructor constructor
public ConstructorSub(Constructor constructor)
protected AnnotatedElement getElement()
getElement
in class ClassTool.Sub<ClassTool.ConstructorSub>
public String getName()
getName
in class ClassTool.Sub<ClassTool.ConstructorSub>
public Class[] getParameters()
getParameters
in class ClassTool.CallableSub<ClassTool.ConstructorSub>
public boolean isVarArgs()
isVarArgs
in class ClassTool.CallableSub<ClassTool.ConstructorSub>
protected int getModifiers()
getModifiers
in class ClassTool.Sub<ClassTool.ConstructorSub>
protected String getSubType()
getSubType
in class ClassTool.Sub<ClassTool.ConstructorSub>
Copyright © 2002–2016 Apache Software Foundation. All rights reserved.