Enum JClassItem.Kind

java.lang.Object
java.lang.Enum<JClassItem.Kind>
org.jboss.jdeparser.JClassItem.Kind
All Implemented Interfaces:
Serializable, Comparable<JClassItem.Kind>, java.lang.constant.Constable
Enclosing interface:
JClassItem

@Deprecated public static enum JClassItem.Kind extends Enum<JClassItem.Kind>
Deprecated.
The kind of class item.
  • Enum Constant Details

    • LINE_COMMENT

      public static final JClassItem.Kind LINE_COMMENT
      Deprecated.
      A line comment. The item will implement JComment.
    • BLOCK_COMMENT

      public static final JClassItem.Kind BLOCK_COMMENT
      Deprecated.
      A block comment. The item will implement JComment.
    • BLANK_LINE

      public static final JClassItem.Kind BLANK_LINE
      Deprecated.
      A blank line.
    • ENUM_CONSTANT

      public static final JClassItem.Kind ENUM_CONSTANT
      Deprecated.
      An enum constant. The item will implement JEnumConstant.
    • FIELD

      public static final JClassItem.Kind FIELD
      Deprecated.
      A field. The item will implement JVarDeclaration.
    • INIT_BLOCK

      public static final JClassItem.Kind INIT_BLOCK
      Deprecated.
      An initialization block. The item will implement JBlock. The block may be static; examine the modifiers to make this determination.
    • CONSTRUCTOR

      public static final JClassItem.Kind CONSTRUCTOR
      Deprecated.
      A constructor. The item will implement JMethodDef.
    • METHOD

      public static final JClassItem.Kind METHOD
      Deprecated.
      A constructor. The item will implement JMethodDef.
    • ENUM

      public static final JClassItem.Kind ENUM
      Deprecated.
      A nested enum. The item will implement JClassDef.
    • ANNOTATION_INTERFACE

      public static final JClassItem.Kind ANNOTATION_INTERFACE
      Deprecated.
      A nested annotation interface. The item will implement JClassDef.
    • INTERFACE

      public static final JClassItem.Kind INTERFACE
      Deprecated.
      A nested interface. The item will implement JClassDef.
    • CLASS

      public static final JClassItem.Kind CLASS
      Deprecated.
      A nested class. The item will implement JClassDef.
  • Field Details

    • fullSize

      private static final int fullSize
      Deprecated.
  • Constructor Details

    • Kind

      private Kind()
      Deprecated.
  • Method Details

    • values

      public static JClassItem.Kind[] values()
      Deprecated.
      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 JClassItem.Kind valueOf(String name)
      Deprecated.
      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
    • isFull

      public static boolean isFull(EnumSet<JClassItem.Kind> set)
      Deprecated.
      Determine whether the given set is fully populated (or "full"), meaning it contains all possible values.
      Parameters:
      set - the set
      Returns:
      true if the set is full, false otherwise
    • in

      public boolean in(JClassItem.Kind v1)
      Deprecated.
      Determine whether this instance is equal to one of the given instances.
      Parameters:
      v1 - the first instance
      Returns:
      true if one of the instances matches this one, false otherwise
    • in

      public boolean in(JClassItem.Kind v1, JClassItem.Kind v2)
      Deprecated.
      Determine whether this instance is equal to one of the given instances.
      Parameters:
      v1 - the first instance
      v2 - the second instance
      Returns:
      true if one of the instances matches this one, false otherwise
    • in

      public boolean in(JClassItem.Kind v1, JClassItem.Kind v2, JClassItem.Kind v3)
      Deprecated.
      Determine whether this instance is equal to one of the given instances.
      Parameters:
      v1 - the first instance
      v2 - the second instance
      v3 - the third instance
      Returns:
      true if one of the instances matches this one, false otherwise
    • in

      public boolean in(JClassItem.Kind v1, JClassItem.Kind v2, JClassItem.Kind v3, JClassItem.Kind v4)
      Deprecated.
      Determine whether this instance is equal to one of the given instances.
      Parameters:
      v1 - the first instance
      v2 - the second instance
      v3 - the third instance
      v4 - the fourth instance
      Returns:
      true if one of the instances matches this one, false otherwise
    • in

      public boolean in(JClassItem.Kind... values)
      Deprecated.
      Determine whether this instance is equal to one of the given instances.
      Parameters:
      values - the possible values
      Returns:
      true if one of the instances matches this one, false otherwise