|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectReflWrap.ConstructInfo
public class ConstructInfo
This class wraps all information about a constructor
| Field Summary | |
|---|---|
private java.lang.reflect.Constructor |
c
Underlying Constructor object |
private java.lang.String |
name
Name |
private java.lang.String[] |
params
String representation of the parameter types |
| Constructor Summary | |
|---|---|
ConstructInfo(java.lang.reflect.Constructor construct)
Generate from an existing constructor |
|
| Method Summary | |
|---|---|
java.lang.reflect.Constructor |
c()
Retrieve the underlying Constructor object |
java.lang.annotation.Annotation[] |
getParamAnot(int i)
Get the Annotations for a certain parameter |
java.lang.String |
modifiersToString()
Convert all modifiers to a pretty String |
java.lang.String |
name()
Retrieve the constructor's name |
java.lang.String[] |
params()
Retrieve the parameters this constructor takes |
java.lang.String |
paramsToString()
Convert the parameters to a pretty String |
java.lang.String |
toString()
Return a String representation of this object |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private java.lang.reflect.Constructor c
private java.lang.String name
private java.lang.String[] params
| Constructor Detail |
|---|
public ConstructInfo(java.lang.reflect.Constructor construct)
construct - Constructor| Method Detail |
|---|
public java.lang.reflect.Constructor c()
public java.lang.String name()
public java.lang.String[] params()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String paramsToString()
public java.lang.String modifiersToString()
public java.lang.annotation.Annotation[] getParamAnot(int i)
i - Index of the requested parameter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||