public class CtorDescriptor extends Descriptor
Modifier and Type | Field and Description |
---|---|
protected java.lang.reflect.Constructor |
constructor |
protected java.lang.Class[] |
parameters |
classDescriptor, isPublic
Constructor and Description |
---|
CtorDescriptor(ClassDescriptor classDescriptor,
java.lang.reflect.Constructor constructor) |
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Constructor |
getConstructor()
Returns constructor.
|
java.lang.String |
getName()
Returns constructor name.
|
java.lang.Class[] |
getParameters()
Returns constructors parameters.
|
boolean |
isDefault()
Returns
true if this is a default constructor
(with no parameters). |
getClassDescriptor, isPublic, matchDeclared
protected final java.lang.reflect.Constructor constructor
protected final java.lang.Class[] parameters
public CtorDescriptor(ClassDescriptor classDescriptor, java.lang.reflect.Constructor constructor)
public java.lang.String getName()
getName
in class Descriptor
public java.lang.reflect.Constructor getConstructor()
public java.lang.Class[] getParameters()
public boolean isDefault()
true
if this is a default constructor
(with no parameters).Copyright © 2003-present Jodd Team