Class java.lang.Class
Added interface java.lang.invoke.TypeDescriptor.OfField
.
Added Methods | |
---|---|
Class<?> arrayType () |
|
Class<?> componentType () |
|
String descriptorString () |
|
A[] getDeclaredAnnotationsByType (Class<A> ) |
|
Class<?> getNestHost () |
|
Class<?> getNestMembers () |
|
Class<?> getPermittedSubclasses () |
|
RecordComponent[] getRecordComponents () |
|
boolean isNestmateOf (Class<?> ) |
|
boolean isRecord () |
|
boolean isSealed () |
Changed Methods | ||
---|---|---|
T newInstance () |
Now deprecated. |