|
org.netbeans.modules.java.source 0.13.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Comment.Style>
org.netbeans.api.java.source.Comment.Style
public static enum Comment.Style
The set of different comment types.
| Enum Constant Summary | |
|---|---|
BLOCK
A block comment. |
|
JAVADOC
A JavaDoc comment. |
|
LINE
A line (double-slash) comment. |
|
WHITESPACE
Whitespace TODO: not comment, but requested by another teams to preserve empty lines etc. |
|
| Method Summary | |
|---|---|
static Comment.Style |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Comment.Style[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Comment.Style LINE
public static final Comment.Style BLOCK
public static final Comment.Style JAVADOC
public static final Comment.Style WHITESPACE
| Method Detail |
|---|
public static final Comment.Style[] values()
for(Comment.Style c : Comment.Style.values())
System.out.println(c);
public static Comment.Style valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
|
org.netbeans.modules.java.source 0.13.0 1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||