Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for SimpleAnnotation (0.1 sec)

  1. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

                }
            """
            settingsFile << "include 'processor'"
            writeAnnotationProcessorProject()
    
            file("src/main/java/Java.java") << """
                @com.test.SimpleAnnotation
                public class Java {
                    void foo() {
                        (new Runnable() { public void run() {} }).run();
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/testFixtures/groovy/org/gradle/groovy/compile/AbstractBasicGroovyCompilerIntegrationSpec.groovy

            def ordering = Ordering.<Integer> natural().lexicographical()
            ordering.compare(versionParts, otherParts)
        }
    
        String getAnnotationText() {
            "@com.test.SimpleAnnotation"
        }
    
        String getNonCompilableImperativeGroovy() {
            "Bad code = new thatDoesntAffectStubGeneration()"
        }
    
        def writeAnnotationProcessorProject() {
            file("processor").create {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 09:08:49 UTC 2023
    - 27K bytes
    - Viewed (0)
Back to top