public class Ctors
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected CtorDescriptor[] |
allCtors |
protected ClassDescriptor |
classDescriptor |
protected CtorDescriptor |
defaultCtor |
Constructor and Description |
---|
Ctors(ClassDescriptor classDescriptor) |
Modifier and Type | Method and Description |
---|---|
protected CtorDescriptor |
createCtorDescriptor(java.lang.reflect.Constructor ctor)
Creates new
CtorDescriptor . |
CtorDescriptor |
getCtorDescriptor(java.lang.Class... args)
Finds constructor description that matches given argument types.
|
CtorDescriptor |
getDefaultCtor()
Returns default (no-args) constructor descriptor.
|
protected CtorDescriptor[] |
inspectConstructors()
Inspects all declared constructors of a target type.
|
protected final ClassDescriptor classDescriptor
protected final CtorDescriptor[] allCtors
protected CtorDescriptor defaultCtor
public Ctors(ClassDescriptor classDescriptor)
protected CtorDescriptor[] inspectConstructors()
protected CtorDescriptor createCtorDescriptor(java.lang.reflect.Constructor ctor)
CtorDescriptor
.public CtorDescriptor getDefaultCtor()
public CtorDescriptor getCtorDescriptor(java.lang.Class... args)
Copyright © 2003-present Jodd Team