Record Class RegisterReflectionReflectiveProcessor.ReflectionRegistration
java.lang.Object
java.lang.Record
org.springframework.aot.hint.annotation.RegisterReflectionReflectiveProcessor.ReflectionRegistration
- Enclosing class:
RegisterReflectionReflectiveProcessor
protected static record RegisterReflectionReflectiveProcessor.ReflectionRegistration(Class<?>[] classes, MemberCategory[] memberCategories)
extends Record
- Since:
- 6.2
- Author:
- Stephane Nicoll
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedReflectionRegistration(Class<?>[] classes, MemberCategory[] memberCategories) Creates an instance of aReflectionRegistrationrecord class. -
Method Summary
Modifier and TypeMethodDescriptionClass<?>[]classes()Returns the value of theclassesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thememberCategoriesrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ReflectionRegistration
Creates an instance of aReflectionRegistrationrecord class.- Parameters:
classes- the value for theclassesrecord componentmemberCategories- the value for thememberCategoriesrecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
classes
Returns the value of theclassesrecord component.- Returns:
- the value of the
classesrecord component
-
memberCategories
Returns the value of thememberCategoriesrecord component.- Returns:
- the value of the
memberCategoriesrecord component
-