Merge branch '6.2.x'
This commit is contained in:
@@ -166,6 +166,14 @@ public enum MemberCategory {
|
||||
* when {@link ReflectionHints#registerType(Class, MemberCategory...) adding a reflection hint for a type}.
|
||||
*/
|
||||
@Deprecated(since = "7.0", forRemoval = true)
|
||||
DECLARED_CLASSES
|
||||
DECLARED_CLASSES,
|
||||
|
||||
/**
|
||||
* A category that represents the need for
|
||||
* {@link sun.misc.Unsafe#allocateInstance(Class) unsafe allocation}
|
||||
* for this type.
|
||||
* @since 6.2.1
|
||||
*/
|
||||
UNSAFE_ALLOCATED
|
||||
|
||||
}
|
||||
|
||||
@@ -129,6 +129,9 @@ class ReflectionHintsAttributes {
|
||||
case INVOKE_PUBLIC_METHODS -> attributes.put("allPublicMethods", true);
|
||||
case INVOKE_DECLARED_METHODS ->
|
||||
attributes.put("allDeclaredMethods", true);
|
||||
case PUBLIC_CLASSES -> attributes.put("allPublicClasses", true);
|
||||
case DECLARED_CLASSES -> attributes.put("allDeclaredClasses", true);
|
||||
case UNSAFE_ALLOCATED -> attributes.put("unsafeAllocated", true);
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user