Enum Class JavadocSeeTagOrderCheck.Kind
java.lang.Object
java.lang.Enum<JavadocSeeTagOrderCheck.Kind>
com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocSeeTagOrderCheck.Kind
- All Implemented Interfaces:
Serializable,Comparable<JavadocSeeTagOrderCheck.Kind>,Constable
- Enclosing class:
JavadocSeeTagOrderCheck
Kind of a member
@see reference, ordered from the closest to the most
distant access. Type and package references are not members and are always
classified as METHOD, since that kind never needs to be compared
against another kind within their own category.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA constructor reference such as#Example().A field reference such as#field.A method or type/package reference such as#getName(). -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intExplicit structural order, independent of the enum's declaration order. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) intorder()Returns the explicit structural order.static JavadocSeeTagOrderCheck.KindReturns the enum constant of this class with the specified name.static JavadocSeeTagOrderCheck.Kind[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FIELD
A field reference such as#field. -
CONSTRUCTOR
A constructor reference such as#Example(). -
METHOD
A method or type/package reference such as#getName().
-
-
Field Details
-
structuralOrder
Explicit structural order, independent of the enum's declaration order.
-
-
Constructor Details
-
Kind
Creates a newKindinstance.- Parameters:
order- the explicit structural order
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
order
int order()Returns the explicit structural order.- Returns:
- the structural order
-