public static enum Comment.Type extends java.lang.Enum<Comment.Type>
| Enum Constant and Description |
|---|
BLOCK |
IMPORTANT |
JSDOC |
LINE |
SHEBANG |
| Modifier and Type | Method and Description |
|---|---|
static Comment.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Comment.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Comment.Type BLOCK
public static final Comment.Type LINE
public static final Comment.Type JSDOC
public static final Comment.Type SHEBANG
public static final Comment.Type IMPORTANT
public static Comment.Type[] values()
for (Comment.Type c : Comment.Type.values()) System.out.println(c);
public static Comment.Type 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 © 2009-2020 Google. All Rights Reserved.