Enum RecordComponentDescription.ForLoadedRecordComponent.Dispatcher.ForLegacyVm

    • Constructor Detail

      • ForLegacyVm

        private ForLegacyVm()
    • Method Detail

      • values

        public static RecordComponentDescription.ForLoadedRecordComponent.Dispatcher.ForLegacyVm[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (RecordComponentDescription.ForLoadedRecordComponent.Dispatcher.ForLegacyVm c : RecordComponentDescription.ForLoadedRecordComponent.Dispatcher.ForLegacyVm.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RecordComponentDescription.ForLoadedRecordComponent.Dispatcher.ForLegacyVm valueOf​(java.lang.String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getAccessor

        public java.lang.reflect.Method getAccessor​(java.lang.Object recordComponent)
        Resolves a record component's accessor method.
        Specified by:
        getAccessor in interface RecordComponentDescription.ForLoadedRecordComponent.Dispatcher
        Parameters:
        recordComponent - The record component to resolve the accessor method for.
        Returns:
        The record component's accessor method.
      • getGenericType

        public java.lang.reflect.Type getGenericType​(java.lang.Object recordComponent)
        Resolves a record component's generic type.
        Specified by:
        getGenericType in interface RecordComponentDescription.ForLoadedRecordComponent.Dispatcher
        Parameters:
        recordComponent - The record component to resolve the generic type for.
        Returns:
        The record component's generic type.
      • getGenericSignature

        public java.lang.String getGenericSignature​(java.lang.Object recordComponent)
        Returns the record component type's generic signature.
        Specified by:
        getGenericSignature in interface RecordComponentDescription.ForLoadedRecordComponent.Dispatcher
        Parameters:
        recordComponent - The record component to resolve the generic signature for.
        Returns:
        The record component type's generic signature or null if no signature is defined.
      • getAnnotatedType

        public java.lang.reflect.AnnotatedElement getAnnotatedType​(java.lang.Object recordComponent)
        Resolves a record component's annotated type.
        Specified by:
        getAnnotatedType in interface RecordComponentDescription.ForLoadedRecordComponent.Dispatcher
        Parameters:
        recordComponent - The record component to resolve the annotated type for.
        Returns:
        The record component's annotated type.