Enum JClassItem.Kind
- All Implemented Interfaces:
Serializable, Comparable<JClassItem.Kind>, java.lang.constant.Constable
- Enclosing interface:
JClassItem
Deprecated.
The kind of class item.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.A nested annotation interface.Deprecated.A blank line.Deprecated.A block comment.Deprecated.A nested class.Deprecated.A constructor.Deprecated.A nested enum.Deprecated.An enum constant.Deprecated.A field.Deprecated.An initialization block.Deprecated.A nested interface.Deprecated.A line comment.Deprecated.A constructor. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanin(JClassItem.Kind v1) Deprecated.Determine whether this instance is equal to one of the given instances.booleanin(JClassItem.Kind... values) Deprecated.Determine whether this instance is equal to one of the given instances.booleanin(JClassItem.Kind v1, JClassItem.Kind v2) Deprecated.Determine whether this instance is equal to one of the given instances.booleanin(JClassItem.Kind v1, JClassItem.Kind v2, JClassItem.Kind v3) Deprecated.Determine whether this instance is equal to one of the given instances.booleanin(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.static booleanisFull(EnumSet<JClassItem.Kind> set) Deprecated.Determine whether the given set is fully populated (or "full"), meaning it contains all possible values.static JClassItem.KindDeprecated.Returns the enum constant of this type with the specified name.static JClassItem.Kind[]values()Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
LINE_COMMENT
Deprecated.A line comment. The item will implementJComment. -
BLOCK_COMMENT
Deprecated.A block comment. The item will implementJComment. -
BLANK_LINE
-
ENUM_CONSTANT
Deprecated.An enum constant. The item will implementJEnumConstant. -
FIELD
Deprecated.A field. The item will implementJVarDeclaration. -
INIT_BLOCK
Deprecated.An initialization block. The item will implementJBlock. The block may be static; examine the modifiers to make this determination. -
CONSTRUCTOR
Deprecated.A constructor. The item will implementJMethodDef. -
METHOD
Deprecated.A constructor. The item will implementJMethodDef. -
ENUM
Deprecated.A nested enum. The item will implementJClassDef. -
ANNOTATION_INTERFACE
Deprecated.A nested annotation interface. The item will implementJClassDef. -
INTERFACE
Deprecated.A nested interface. The item will implementJClassDef. -
CLASS
Deprecated.A nested class. The item will implementJClassDef.
-
-
Field Details
-
fullSize
private static final int fullSizeDeprecated.
-
-
Constructor Details
-
Kind
private Kind()Deprecated.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
isFull
Deprecated.Determine whether the given set is fully populated (or "full"), meaning it contains all possible values.- Parameters:
set- the set- Returns:
trueif the set is full,falseotherwise
-
in
Deprecated.Determine whether this instance is equal to one of the given instances.- Parameters:
v1- the first instance- Returns:
trueif one of the instances matches this one,falseotherwise
-
in
Deprecated.Determine whether this instance is equal to one of the given instances.- Parameters:
v1- the first instancev2- the second instance- Returns:
trueif one of the instances matches this one,falseotherwise
-
in
Deprecated.Determine whether this instance is equal to one of the given instances.- Parameters:
v1- the first instancev2- the second instancev3- the third instance- Returns:
trueif one of the instances matches this one,falseotherwise
-
in
Deprecated.Determine whether this instance is equal to one of the given instances.- Parameters:
v1- the first instancev2- the second instancev3- the third instancev4- the fourth instance- Returns:
trueif one of the instances matches this one,falseotherwise
-
in
Deprecated.Determine whether this instance is equal to one of the given instances.- Parameters:
values- the possible values- Returns:
trueif one of the instances matches this one,falseotherwise
-