public interface Comment extends Codeable
Comment superinterface.| Modifier and Type | Field and Description | 
|---|---|
static int | 
BLOCK_WITHOUT_INTERMEDIARY_STARS
Deprecated. 
 
This will be removed in the future. Use  
MULTI_LINE
             instead. | 
static int | 
D
Deprecated. 
 
prefer more descriptive  
DOCUMENTATION | 
static int | 
DOCUMENTATION
Type constant for a documentation comment. 
 | 
static int | 
M
Deprecated. 
 
prefer more descriptive  
MULTI_LINE | 
static int | 
Mbe
Deprecated. 
 
prefer more descriptive
              
BLOCK_WITHOUT_INTERMEDIARY_STARS | 
static int | 
MULTI_LINE
Type constant for a multiple line comment. 
 | 
static int | 
S
Deprecated. 
 
prefer more descriptive  
SINGLE_LINE | 
static int | 
SINGLE_LINE
Type constant for a single line comment. 
 | 
static int | 
TRAILING
Type constant for a trailing comment. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getText()
Gets the text for this comment. 
 | 
int | 
getType()
Returns the type of this comment. 
 | 
Comment | 
setText(String text)
Sets the text for this comment. 
 | 
int | 
type()
Deprecated. 
 
Name does not follow naming convention. Use
              
getType() instead. | 
applyStyle, cast, getComment, isActive, isBlockWithAbruptCompletion, setComment, toCode, visit, vmstatic final int SINGLE_LINE
@Deprecated static final int S
SINGLE_LINEstatic final int MULTI_LINE
@Deprecated static final int M
MULTI_LINE@Deprecated static final int BLOCK_WITHOUT_INTERMEDIARY_STARS
MULTI_LINE
             instead.@Deprecated static final int Mbe
BLOCK_WITHOUT_INTERMEDIARY_STARSstatic final int DOCUMENTATION
@Deprecated static final int D
DOCUMENTATIONstatic final int TRAILING
 If putting the comment in a trailing position fails, it will be treated
 like a SINGLE_LINE comment.
 
Note: Feature is still incomplete and is tested on statements only.
String getText()
@Deprecated int type()
getType() instead.int getType()
Copyright © 2000–2018 jenesis4java. All rights reserved.