|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.utils.reflect.Constructor
public final class Constructor
Provides information about, and access to, a single constructor for a Class.
Method Summary | |
---|---|
Class |
getDeclaringClass()
Returns the Class object representing the class or interface that declares the constructor. |
Class[] |
getParameterTypes()
Returns an array of Class objects that represent the formal parameter types, in declaration order, of the constructor. |
boolean |
isAccessible()
|
Object |
newInstance(Object... args)
Uses the constructor to create and initialize a new instance of the constructor's declaring class, with the supplied initialization parameters. |
void |
setAccessible(boolean accessible)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Class[] getParameterTypes()
public Class getDeclaringClass()
public boolean isAccessible()
public void setAccessible(boolean accessible)
public Object newInstance(Object... args) throws ReflectionException
ReflectionException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |