Package com.puppycrawl.tools.checkstyle
Class JavadocDetailNodeParser.ParseErrorMessage
- java.lang.Object
-
- com.puppycrawl.tools.checkstyle.JavadocDetailNodeParser.ParseErrorMessage
-
- Enclosing class:
- JavadocDetailNodeParser
public static class JavadocDetailNodeParser.ParseErrorMessage extends Object
Contains information about parse error message.
-
-
Field Summary
Fields Modifier and Type Field Description private int
lineNumber
Line number where parse error occurred.private Object[]
messageArguments
Error message arguments.private String
messageKey
Key for error message.
-
Constructor Summary
Constructors Constructor Description ParseErrorMessage(int lineNumber, String messageKey, Object... messageArguments)
Initializes parse error message.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getLineNumber()
Getter for line number where parse error occurred.Object[]
getMessageArguments()
Getter for error message arguments.String
getMessageKey()
Getter for key for error message.
-
-
-
Field Detail
-
lineNumber
private final int lineNumber
Line number where parse error occurred.
-
messageKey
private final String messageKey
Key for error message.
-
messageArguments
private final Object[] messageArguments
Error message arguments.
-
-
Constructor Detail
-
ParseErrorMessage
ParseErrorMessage(int lineNumber, String messageKey, Object... messageArguments)
Initializes parse error message.- Parameters:
lineNumber
- line numbermessageKey
- message keymessageArguments
- message arguments
-
-
Method Detail
-
getLineNumber
public int getLineNumber()
Getter for line number where parse error occurred.- Returns:
- Line number where parse error occurred.
-
getMessageKey
public String getMessageKey()
Getter for key for error message.- Returns:
- Key for error message.
-
getMessageArguments
public Object[] getMessageArguments()
Getter for error message arguments.- Returns:
- Array of error message arguments.
-
-