public static enum CtJavaDocTag.TagType extends java.lang.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 |
---|---|
java.lang.String |
getName()
Get tag name
|
boolean |
hasParam()
Return true if the tag can have a parameter
|
static CtJavaDocTag.TagType |
tagFromName(java.lang.String tagName)
Get the tag type associated to a name
|
java.lang.String |
toString() |
static CtJavaDocTag.TagType |
valueOf(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
public boolean hasParam()
public static CtJavaDocTag.TagType tagFromName(java.lang.String tagName)
tagName
- the tag namepublic java.lang.String toString()
toString
in class java.lang.Enum<CtJavaDocTag.TagType>
Copyright © 2007–2021 Inria. All rights reserved.