Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
Modifier and Type | Method and Description |
---|---|
java.lang.reflect.Constructor<T> |
Class.getConstructor(Class<?>... parameterTypes)
Returns a
Constructor object that reflects the specified
public constructor of the class represented by this Class
object. |
java.lang.reflect.Constructor<T> |
Class.getDeclaredConstructor(Class<?>... parameterTypes)
Returns a
Constructor object that reflects the specified
constructor of the class or interface represented by this
Class object. |
java.lang.reflect.Method |
Class.getDeclaredMethod(String name,
Class<?>... parameterTypes)
Returns a
Method object that reflects the specified
declared method of the class or interface represented by this
Class object. |
java.lang.reflect.Method |
Class.getMethod(String name,
Class<?>... parameterTypes)
Returns a
Method object that reflects the specified public
member method of the class or interface represented by this
Class object. |