- All Implemented Interfaces:
Serializable,Comparable<Taglet.Location>,Constable
- Enclosing interface:
- Taglet
public static enum Taglet.Location extends Enum<Taglet.Location>
The kind of location in which a tag may be used.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description CONSTRUCTORIn the documentation for a constructor.FIELDIn the documentation for a field.METHODIn the documentation for a method.MODULEIn the documentation for a module.OVERVIEWIn an Overview document.PACKAGEIn the documentation for a package.TYPEIn the documentation for a class, interface or enum. -
Method Summary
Modifier and Type Method Description static Taglet.LocationvalueOf(String name)Returns the enum constant of this type with the specified name.static Taglet.Location[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OVERVIEW
In an Overview document. -
MODULE
In the documentation for a module. -
PACKAGE
In the documentation for a package. -
TYPE
In the documentation for a class, interface or enum. -
CONSTRUCTOR
In the documentation for a constructor. -
METHOD
In the documentation for a method. -
FIELD
In the documentation for a field.
-
-
Method Details
-
values
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
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
-