Enum TypeDescription.ForLoadedType.Dispatcher.ForLegacyVm

    • Method Detail

      • values

        public static TypeDescription.ForLoadedType.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 (TypeDescription.ForLoadedType.Dispatcher.ForLegacyVm c : TypeDescription.ForLoadedType.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 TypeDescription.ForLoadedType.Dispatcher.ForLegacyVm valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getNestMembers

        public Class<?>[] getNestMembers​(Class<?> type)
        Returns the nest members of the other class.
        Specified by:
        getNestMembers in interface TypeDescription.ForLoadedType.Dispatcher
        Parameters:
        type - The type to get the nest members for.
        Returns:
        An array containing all nest members of the specified type's nest group.
      • isNestmateOf

        public boolean isNestmateOf​(Class<?> type,
                                    Class<?> candidate)
        Returns true if the specified type is a nest mate of the other type.
        Specified by:
        isNestmateOf in interface TypeDescription.ForLoadedType.Dispatcher
        Parameters:
        type - The type to evaluate for being a nest mate of another type.
        candidate - The candidate type.
        Returns:
        true if the specified type is a nest mate of the other class.