Enum JClassItem.Kind

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<JClassItem.Kind>
    Enclosing interface:
    JClassItem

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

      • 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.
      • 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.
      • 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.
    • Method Detail

      • values

        public static JClassItem.Kind[] values()
        Deprecated.
        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 (JClassItem.Kind c : JClassItem.Kind.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static JClassItem.Kind valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • isFull

        public static boolean isFull​(java.util.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