Enum AllTypeMembersFunction.Mode

java.lang.Object
java.lang.Enum<AllTypeMembersFunction.Mode>
spoon.reflect.visitor.filter.AllTypeMembersFunction.Mode
All Implemented Interfaces:
Serializable, Comparable<AllTypeMembersFunction.Mode>
Enclosing class:
AllTypeMembersFunction

public static enum AllTypeMembersFunction.Mode extends Enum<AllTypeMembersFunction.Mode>
  • Enum Constant Details

    • ALL

      public static final AllTypeMembersFunction.Mode ALL
      Returns all type members - including private
    • SKIP_PRIVATE

      public static final AllTypeMembersFunction.Mode SKIP_PRIVATE
      Returns only type members, which are accessible from the input `type`. It means that inherited private type members are skipped
  • Method Details

    • values

      public static AllTypeMembersFunction.Mode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static AllTypeMembersFunction.Mode 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