public class ConstructorInfo
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.ClassLoader |
classloader
The classloader with which this info was loaded.
|
protected java.lang.String |
classname
The clazz name.
|
protected java.lang.reflect.Constructor<?> |
method
The field (cached).
|
protected java.lang.String[] |
parametertypes
The fully qualified parameter clazz names.
|
Constructor and Description |
---|
ConstructorInfo()
Create a new ConstructorInfo.
|
ConstructorInfo(java.lang.reflect.Constructor<?> m)
Create a new ConstructorInfo.
|
ConstructorInfo(java.lang.String[] parametertypes,
java.lang.String classname)
Create a new FieldInfo.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Get the classname.
|
java.lang.reflect.Constructor<?> |
getConstructor(java.lang.ClassLoader cl)
Get the constructor via classloader.
|
java.lang.String[] |
getParameterTypes()
Get the parametertypes.
|
void |
setClassName(java.lang.String classname)
Set the classname.
|
void |
setParameterTypes(java.lang.String[] parametertypes)
Set the parametertypes.
|
protected java.lang.String[] parametertypes
protected java.lang.String classname
protected java.lang.reflect.Constructor<?> method
protected java.lang.ClassLoader classloader
public ConstructorInfo()
public ConstructorInfo(java.lang.reflect.Constructor<?> m)
public ConstructorInfo(java.lang.String[] parametertypes, java.lang.String classname)
public java.lang.reflect.Constructor<?> getConstructor(java.lang.ClassLoader cl)
cl
- The classloader.public java.lang.String[] getParameterTypes()
public void setParameterTypes(java.lang.String[] parametertypes)
parametertypes
- The parametertypes to set.public java.lang.String getClassName()
public void setClassName(java.lang.String classname)
classname
- The classname to set.