Modifier and Type | Field and Description |
---|---|
List<Tokens.Comment> |
comments
Comment reader associated with this token
|
int |
endPos
The end position of this token
|
Tokens.TokenKind |
kind
The token kind
|
int |
pos
The start position of this token
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkKind() |
Tokens.Comment |
comment(Tokens.Comment.CommentStyle style)
Preserve classic semantics - if multiple javadocs are found on the token
the last one is returned
|
boolean |
deprecatedFlag()
Preserve classic semantics - deprecated should be set if at least one
javadoc comment attached to this token contains the '@deprecated' string
|
Name |
name() |
int |
radix() |
String |
stringVal() |
public final Tokens.TokenKind kind
public final int pos
public final int endPos
public final List<Tokens.Comment> comments
protected void checkKind()
public Name name()
public String stringVal()
public int radix()
public Tokens.Comment comment(Tokens.Comment.CommentStyle style)
public boolean deprecatedFlag()
Copyright © 2016. All rights reserved.