Refactoring: common logic extracted and moved to a util class
This commit is contained in:
+9
@@ -20,6 +20,15 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public interface MessageCollector {
|
||||
|
||||
MessageCollector NONE = new MessageCollector() {
|
||||
@Override
|
||||
public void report(
|
||||
@NotNull CompilerMessageSeverity severity, @NotNull String message, @NotNull CompilerMessageLocation location
|
||||
) {
|
||||
// Do nothing
|
||||
}
|
||||
};
|
||||
|
||||
void report(@NotNull CompilerMessageSeverity severity, @NotNull String message, @NotNull CompilerMessageLocation location);
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user