You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error("Found invalid access transformer: %s. Final state: conflicting", at);
127
+
error(at, "Found invalid access transformer. Final state: conflicting");
123
128
return;
124
129
}
125
130
@@ -147,7 +152,7 @@ public String toString() {
147
152
// If we're modifying a non-static interface method we can only make it public, meaning it must be defined as default
148
153
if (containingClass.isInterface() && ownerinstanceofPsiMethod && !modifiers.hasModifierProperty(PsiModifier.STATIC)) {
149
154
if (targetAcc != Transformation.Modifier.PUBLIC) {
150
-
error("Access transformer %s targeting %s attempted to make a non-static interface method %s. They can only be made public.", at, targetInfo, targetAcc);
155
+
error(at, "Access transformer targeting %s attempted to make a non-static interface method %s. They can only be made public.", targetInfo, targetAcc);
151
156
} else {
152
157
for (varkw : modifiers.getChildren()) {
153
158
if (kwinstanceofPsiKeyword && kw.getText().equals(PsiKeyword.PRIVATE)) { // Strip private, replace it with default
if (implicitAT != null && implicitAT.modifier() != detectModifier(psiClass.getModifierList(), classAt)) {
253
-
error("Access transformer %s targeting the implicit constructor of %s is not valid, as a record's constructor must have the same access level as the record class. Please AT the record too: \"%s\"", implicitAT, className,
258
+
error(implicitAT, "Access transformer targeting the implicit constructor of %s is not valid, as a record's constructor must have the same access level as the record class. Please AT the record too: \"%s\"", className,
error("Access transformer %s targeting record class %s attempts to widen its access without widening the constructor's access. You must AT the constructor too: \"%s\"", classAt, className,
262
+
error(classAt, "Access transformer targeting record class %s attempts to widen its access without widening the constructor's access. You must AT the constructor too: \"%s\"", className,
@@ -41,9 +45,12 @@ public class Main implements Callable<Integer> {
41
45
@CommandLine.Option(names = "--max-queue-depth", description = "When both input and output support ordering (archives), the transformer will try to maintain that order. To still process items in parallel, a queue is used. Larger queue depths lead to higher memory usage.")
0 commit comments