Class PdePreprocessIssue

java.lang.Object
processing.mode.java.preproc.PdePreprocessIssue

public class PdePreprocessIssue extends Object
Issue emitted from the preprocessor.
  • Constructor Details

    • PdePreprocessIssue

      public PdePreprocessIssue(int newLine, int newCharPositionInLine, String newMsg)
      Create a new record of an issue emitted from the preprocessor.
      Parameters:
      newLine - The line in the generated java file.
      newCharPositionInLine - The character position in the source line.
      newMsg - Description of the issue.
  • Method Details

    • getLine

      public int getLine()
      Get the unified source line where the issue was found.
      Returns:
      The line in the output java source where the issue was found.
    • getCharPositionInLine

      public int getCharPositionInLine()
      Get the character position in the source line of the issue.
      Returns:
      The source column where the issue was found.
    • getMsg

      public String getMsg()
      Get a description of the issue found.
      Returns:
      Human-readable localized message describing the issue.