net.sourceforge.pmd.ast
public class ASTLiteral extends SimpleJavaTypeNode
Constructor Summary | |
---|---|
ASTLiteral(int id) | |
ASTLiteral(JavaParser p, int id) |
Method Summary | |
---|---|
boolean | isCharLiteral() |
boolean | isFloatLiteral() |
boolean | isIntLiteral() |
boolean | isSingleCharacterStringLiteral()
Returns true if this is a String literal with only one character.
|
boolean | isStringLiteral() |
Object | jjtAccept(JavaParserVisitor visitor, Object data)
Accept the visitor. |
void | setCharLiteral() |
void | setFloatLiteral() |
void | setIntLiteral() |
void | setStringLiteral() |
Returns: true is this is a String literal with only one character