Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for MyAnnotation (0.17 sec)

  1. platforms/documentation/docs/src/snippets/groovy/compilationAvoidance/groovy/ast-transformation/src/main/groovy/MyAnnotation.groovy

    import java.lang.annotation.*;
    @Retention(RetentionPolicy.RUNTIME)
    @Target([ElementType.TYPE])
    @org.codehaus.groovy.transform.GroovyASTTransformationClass("MyASTTransformation")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 213 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/groovy/compilationAvoidance/kotlin/ast-transformation/src/main/groovy/MyAnnotation.groovy

    import java.lang.annotation.*;
    @Retention(RetentionPolicy.RUNTIME)
    @Target([ElementType.TYPE])
    @org.codehaus.groovy.transform.GroovyASTTransformationClass("MyASTTransformation")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 213 bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/GroovyIncrementalCompilationIntegrationTest.groovy

        @Issue("https://github.com/gradle/gradle/issues/10340")
        def "recompiles class when constant from inner class is changed"() {
            given:
            file("src/main/${languageName}/MyAnnotation.${languageName}") << """
                public @interface MyAnnotation { int value(); }
            """
            file("src/main/${languageName}/TopLevel.${languageName}") << """
                public class TopLevel {
                   static class Inner {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/groovy/compilationAvoidance/groovy/ast-transformation-consumer/src/main/groovy/Main.groovy

    @MyAnnotation
    class Main {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 29 bytes
    - Viewed (0)
  5. platforms/documentation/docs/src/snippets/groovy/compilationAvoidance/kotlin/ast-transformation-consumer/src/main/groovy/Main.groovy

    @MyAnnotation
    class Main {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 29 bytes
    - Viewed (0)
  6. platforms/jvm/plugins-groovy/src/integTest/groovy/org/gradle/java/compile/AbstractGroovyCompileAvoidanceIntegrationSpec.groovy

            }
            buildFile << astTransformationDeclaration()
            file("a/src/main/groovy/MyAnnotation.groovy") << astTransformationAnnotation()
            def astTransformationSourceFile = file("a/src/main/groovy/MyASTTransformation.groovy")
            file("b/src/main/groovy/Main.groovy") << """
                @MyAnnotation
                public class Main {}
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 12:15:28 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

      }
    
      public void testNoEqualsChecksOnInterface() throws Exception {
        tester.testEquals(Runnable.class);
      }
    
      public void testNoEqualsChecksOnAnnotation() throws Exception {
        tester.testEquals(MyAnnotation.class);
      }
    
      public void testGoodNulls() throws Exception {
        tester.testNulls(GoodNulls.class);
      }
    
      public void testNoNullCheckNeededDespiteNotInstantiable() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  8. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaClassChangeIncrementalCompilationIntegrationTest.groovy

        }
    
        def "partially recompiles when constant from inner class is changed"() {
            given:
            file("src/main/${languageName}/MyAnnotation.${languageName}") << """
                public @interface MyAnnotation { int value(); }
            """
            file("src/main/${languageName}/TopLevel.${languageName}") << """
                public class TopLevel {
                   static class Inner {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 21.1K bytes
    - Viewed (0)
Back to top