public static enum CtComment.CommentType extends java.lang.Enum<CtComment.CommentType>
Enum Constant and Description |
---|
BLOCK
Block comment (/* *\/)
|
FILE
before the package line (typically the license)
|
INLINE
Inline comment (//)
|
JAVADOC
JavaDoc comment: before methods, fields, types
|
Modifier and Type | Method and Description |
---|---|
static CtComment.CommentType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CtComment.CommentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CtComment.CommentType FILE
public static final CtComment.CommentType JAVADOC
public static final CtComment.CommentType INLINE
public static final CtComment.CommentType BLOCK
public static CtComment.CommentType[] values()
for (CtComment.CommentType c : CtComment.CommentType.values()) System.out.println(c);
public static CtComment.CommentType 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 nullCopyright © 2007–2021 Inria. All rights reserved.