Kapt: Refactor kapt type wrappers. Now every ordinary (not NoType) type has a backed PsiType so it's easy to call utility functions from IntelliJ.
(cherry picked from commit 0a684aa)
This commit is contained in:
committed by
Yan Zhulanow
parent
84d62f37eb
commit
6eb3d7e002
+4
@@ -643,6 +643,10 @@ class GradleMessageCollector(val logger: Logger, val outputCollector: OutputItem
|
||||
|
||||
override fun hasErrors() = hasErrors
|
||||
|
||||
override fun clear() {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
override fun report(severity: CompilerMessageSeverity, message: String, location: CompilerMessageLocation) {
|
||||
val text = with(StringBuilder()) {
|
||||
append(when (severity) {
|
||||
|
||||
+5
@@ -50,6 +50,11 @@ public class MavenPluginLogMessageCollector implements MessageCollector {
|
||||
return Collections.unmodifiableList(collectedErrors);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void clear() {
|
||||
// Do nothing
|
||||
}
|
||||
|
||||
@Override
|
||||
public void report(@NotNull CompilerMessageSeverity severity, @NotNull String message, @NotNull CompilerMessageLocation location) {
|
||||
String path = location.getPath();
|
||||
|
||||
Reference in New Issue
Block a user