com.googlecode.jslint4java
Class Issue
java.lang.Object
com.googlecode.jslint4java.Issue
public class Issue
- extends Object
A single issue with the code that is being checked for problems.
- Author:
- dom
Nested Class Summary |
static class |
Issue.IssueBuilder
Allow creating an issue in a couple of different ways. |
getA
public String getA()
- Returns:
- A string of auxiliary information.
getB
public String getB()
- Returns:
- A string of auxiliary information.
getC
public String getC()
- Returns:
- A string of auxiliary information.
getCharacter
public int getCharacter()
- Returns:
- the position of the issue within the line. Starts at 0.
getD
public String getD()
- Returns:
- a string of auxiliary information.
getEvidence
public String getEvidence()
- Returns:
- the contents of the line in which this issue occurs.
getLine
public int getLine()
- Returns:
- the number of the line on which this issue occurs.
getRaw
public String getRaw()
- Returns:
- a copy of the evidence, but before substitution has occurred.
getReason
public String getReason()
- Returns:
- a textual description of this issue.
getSystemId
public String getSystemId()
- Returns:
- the name of the file this issue occurred in.
toString
public String toString()
- Provide four fields from this issue, separated by colons: systemId, line,
character, reason.
- Overrides:
toString
in class Object
Copyright © 2007-2012. All Rights Reserved.