Package | Description |
---|---|
org.netbeans.api.java.source |
Permits inspection and modification of the structure of Java sources.
|
Modifier and Type | Method and Description |
---|---|
Comment.Style |
Comment.style() |
static Comment.Style |
Comment.Style.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Comment.Style[] |
Comment.Style.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static Comment |
Comment.create(Comment.Style style,
int pos,
int endPos,
int indent,
String text)
Define a comment, using source file positions.
|
static Comment |
Comment.create(Comment.Style style,
String text)
Define a comment, using specified style.
|