1 parent eec0638 commit 4d8602bCopy full SHA for 4d8602b
1 file changed
src/test/compiler/graphql/execution/ShadedJarConsumer.java
@@ -1,5 +1,13 @@
1
package graphql.execution;
2
3
+/**
4
+ * Compilation fixture used only by the {@code compileShadedJarConsumer} Gradle task.
5
+ *
6
+ * <p>Calling {@link ExecutionContext#getOperationDirectives()} forces javac to inspect the
7
+ * shaded {@code ImmutableList} in its generic return type. The task compiles this fixture
8
+ * against the completed JAR with {@code -Xlint:classfile -Werror}, turning unresolved
9
+ * annotation references in shaded class files into a build failure.</p>
10
+ */
11
public class ShadedJarConsumer {
12
13
public Object getOperationDirectives(ExecutionContext executionContext) {
0 commit comments