Package org.jboss.jdeparser
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 java.lang.Enum
Enum.EnumDesc<E extends Enum<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. -
Method Summary
Modifier and TypeMethodDescriptionboolean
in
(JClassItem.Kind v1) Deprecated.Determine whether this instance is equal to one of the given instances.boolean
in
(JClassItem.Kind... values) Deprecated.Determine whether this instance is equal to one of the given instances.boolean
in
(JClassItem.Kind v1, JClassItem.Kind v2) Deprecated.Determine whether this instance is equal to one of the given instances.boolean
in
(JClassItem.Kind v1, JClassItem.Kind v2, JClassItem.Kind v3) Deprecated.Determine whether this instance is equal to one of the given instances.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.static boolean
isFull
(EnumSet<JClassItem.Kind> set) Deprecated.Determine whether the given set is fully populated (or "full"), meaning it contains all possible values.static JClassItem.Kind
Deprecated.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
Deprecated.A 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
.
-
-
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:
true
if the set is full,false
otherwise
-
in
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
Deprecated.Determine whether this instance is equal to one of the given instances.- Parameters:
v1
- the first instancev2
- the second instance- Returns:
true
if one of the instances matches this one,false
otherwise
-
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:
true
if one of the instances matches this one,false
otherwise
-
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:
true
if one of the instances matches this one,false
otherwise
-
in
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
-