- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for toSourceFile (0.11 sec)
-
platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/listeners/ConstantsCollectorTest.groovy
public static final int CONSTANT2 = A.CONSTANT; @Annotation(A.CONSTANT) public final int field = A.CONSTANT; } """ when: compiler.compile(toSourceFile(clazz) + getAnnotation("int")) then: privateDependentToConstants["A"] == null accessibleDependentToConstants["A"] == null }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:06:26 UTC 2023 - 22.4K bytes - Viewed (0) -
platforms/jvm/java-compiler-plugin/src/test/groovy/com/gradle/internal/compiler/java/AbstractCompilerPluginTest.groovy
sourceFolder = Files.createTempDirectory(temporaryFolder.toPath(), null).toFile() } List<File> toSourceFiles(List<String> bodies) { return bodies.collect { toSourceFile(it) }.flatten() } List<File> toSourceFile(String body) { def packageGroup = (body =~ /(?s).*?(?:package) (\w+).*/) String packageName = packageGroup.size() > 0 ? packageGroup[0][1] : ""
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 13:06:26 UTC 2023 - 2.6K bytes - Viewed (0)