public class JavaConstructor extends java.lang.Object implements IConstructor
IConstructor that is wrapping a Java constructor.| Constructor and Description |
|---|
JavaConstructor(JavaType type,
java.lang.reflect.Constructor<?> constructor)
Creates a new
JavaConstructor. |
| Modifier and Type | Method and Description |
|---|---|
ITypeDeclaration[] |
getParameterTypes()
Returns the list of
ITypeDeclaration representing the parameter types. |
java.lang.String |
toString() |
public JavaConstructor(JavaType type, java.lang.reflect.Constructor<?> constructor)
JavaConstructor.type - The declaring type of this constructorconstructor - The actual Java constructorpublic ITypeDeclaration[] getParameterTypes()
ITypeDeclaration representing the parameter types. If this is the
default constructor, then an empty array should be returned.getParameterTypes in interface IConstructorpublic java.lang.String toString()
toString in class java.lang.ObjectEclipseLink 2.4.2, "build v20130514-5956486" API Reference