|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sourceforge.pmd.CommonAbstractRule net.sourceforge.pmd.AbstractJavaRule de.smartics.pmd.rules.strings.StringLiteralEncodingRule
public class StringLiteralEncodingRule
Rule to detect usage of characters of disallowed encoding in String literals.
Field Summary |
---|
Fields inherited from interface net.sourceforge.pmd.Rule |
---|
LOWEST_PRIORITY, PRIORITIES |
Constructor Summary | |
---|---|
StringLiteralEncodingRule() |
Method Summary | |
---|---|
String |
toString() Returns the string representation of the class for debugging. |
Object |
visit(net.sourceforge.pmd.ast.ASTLiteral node, Object data) Checks that there are disallowed encoded characters in String literals. |
Methods inherited from class net.sourceforge.pmd.AbstractJavaRule |
---|
addViolation, addViolation, addViolation, addViolationWithMessage, apply, getDeclaringType, importsPackage, isQualifiedName, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visitAll |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringLiteralEncodingRule()
Method Detail |
---|
public Object visit(net.sourceforge.pmd.ast.ASTLiteral node, Object data)
visit
in interface
net.sourceforge.pmd.ast.JavaParserVisitor
visit
in class
AbstractJavaRule
AbstractJavaRule.visit(net.sourceforge.pmd.ast.ASTLiteral, java.lang.Object)
public String toString()
toString
in class
Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |