diff options
Diffstat (limited to 'src/main/java/com/fivetran/javac/message/LintMessage.java')
-rw-r--r-- | src/main/java/com/fivetran/javac/message/LintMessage.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/src/main/java/com/fivetran/javac/message/LintMessage.java b/src/main/java/com/fivetran/javac/message/LintMessage.java new file mode 100644 index 0000000..d6e21bb --- /dev/null +++ b/src/main/java/com/fivetran/javac/message/LintMessage.java @@ -0,0 +1,19 @@ +package com.fivetran.javac.message; + +public class LintMessage { + public final Type type; + public final String text, filePath; + public final Range range; + + public LintMessage(Type type, String text, String filePath, Range range) { + this.type = type; + this.text = text; + this.filePath = filePath; + this.range = range; + } + + public static enum Type { + Error, + Warning + } +} |