Package | Description |
---|---|
java.lang |
Provides classes that are fundamental to the design of the Java
programming language.
|
java.lang.invoke |
The
java.lang.invoke package contains dynamic language support provided directly by
the Java core class libraries and virtual machine. |
javax.management |
Provides the core classes for the Java Management Extensions.
|
javax.management.modelmbean |
Provides the definition of the ModelMBean classes.
|
Modifier and Type | Method and Description |
---|---|
Constructor<T> |
Class.getConstructor(Class<?>... parameterTypes)
Answers a public Constructor object which represents the
constructor described by the arguments.
|
Constructor<?>[] |
Class.getConstructors()
Answers an array containing Constructor objects describing
all constructors which are visible from the current execution
context.
|
Constructor<T> |
Class.getDeclaredConstructor(Class<?>... parameterTypes)
Answers a Constructor object which represents the
constructor described by the arguments.
|
Constructor<?>[] |
Class.getDeclaredConstructors()
Answers an array containing Constructor objects describing
all constructor which are defined by the receiver.
|
Constructor<?> |
Class.getEnclosingConstructor()
If this Class is defined inside a constructor, return the Constructor.
|
Modifier and Type | Method and Description |
---|---|
MethodHandle |
MethodHandles.Lookup.unreflectConstructor(Constructor<?> method)
Return a MethodHandle for the reflect constructor.
|
Constructor and Description |
---|
MBeanConstructorInfo(String description,
Constructor<?> constructor)
Constructs an
MBeanConstructorInfo object. |
Constructor and Description |
---|
ModelMBeanConstructorInfo(String description,
Constructor<?> constructorMethod)
Constructs a ModelMBeanConstructorInfo object with a default
descriptor.
|
ModelMBeanConstructorInfo(String description,
Constructor<?> constructorMethod,
Descriptor descriptor)
Constructs a ModelMBeanConstructorInfo object.
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2025, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.