public static enum CtJavaDocTag.TagType extends Enum<CtJavaDocTag.TagType>
Enum Constant and Description |
---|
AUTHOR |
DEPRECATED |
EXCEPTION |
PARAM |
RETURN |
SEE |
SERIAL |
SERIAL_DATA |
SERIAL_FIELD |
SINCE |
THROWS |
UNKNOWN |
VERSION |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get tag name
|
boolean |
hasParam()
Return true if the tag can have a parameter
|
static CtJavaDocTag.TagType |
tagFromName(String tagName)
Get the tag type associated to a name
|
String |
toString() |
static CtJavaDocTag.TagType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CtJavaDocTag.TagType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CtJavaDocTag.TagType AUTHOR
public static final CtJavaDocTag.TagType DEPRECATED
public static final CtJavaDocTag.TagType EXCEPTION
public static final CtJavaDocTag.TagType PARAM
public static final CtJavaDocTag.TagType RETURN
public static final CtJavaDocTag.TagType SEE
public static final CtJavaDocTag.TagType SERIAL
public static final CtJavaDocTag.TagType SERIAL_DATA
public static final CtJavaDocTag.TagType SERIAL_FIELD
public static final CtJavaDocTag.TagType SINCE
public static final CtJavaDocTag.TagType THROWS
public static final CtJavaDocTag.TagType VERSION
public static final CtJavaDocTag.TagType UNKNOWN
public static CtJavaDocTag.TagType[] values()
for (CtJavaDocTag.TagType c : CtJavaDocTag.TagType.values()) System.out.println(c);
public static CtJavaDocTag.TagType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getName()
public boolean hasParam()
public static CtJavaDocTag.TagType tagFromName(String tagName)
tagName
- the tag namepublic String toString()
toString
in class Enum<CtJavaDocTag.TagType>
Copyright © 2007–2019 Inria. All rights reserved.