Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for OnMethod (0.12 sec)

  1. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractClassChangeIncrementalCompilationIntegrationTest.groovy

                public @interface B {
                    Class<?> value();
                }
            """
            def a = source "class A {}"
            source "@B(A.class) class OnClass {}",
                "class OnMethod { @B(A.class) void foo() {} }",
                "class OnField { @B(A.class) String foo; }",
                "class OnParameter { void foo(@B(A.class) int x) {} }"
            outputs.snapshot { run language.compileTaskName }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskConstantChangesIncrementalGroovyCompilationIntegrationTest.groovy

                   @interface B { int value(); }"""
            ], impl: [
                // cases where it's relevant, ABI-wise
                "class X {}",
                "@B(A.CST) class OnClass {}",
                "class OnMethod { @B(A.CST) void foo() {} }",
                "class OnField { @B(A.CST) String foo; }",
                "class OnParameter { void foo(@B(A.CST) int x) {} }",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskClassChangesIncrementalCompilationIntegrationTest.groovy

                    }
                """,
                "class A {}"
            ], impl: [
                "class NoAnnotationClass {}",
                "@B(A.class) class OnClass {}",
                "class OnMethod { @B(A.class) void foo() {} }",
                "class OnField { @B(A.class) String foo; }",
                "class OnParameter { void foo(@B(A.class) int x) {} }"
            ]
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskConstantChangesIncrementalJavaCompilationIntegrationTest.groovy

                   @interface B { int value(); }"""
            ], impl: [
                // cases where it's relevant, ABI-wise
                "@B(A.x) class OnClass {}",
                "class OnMethod { @B(A.y) void foo() {} }",
                "class OnField { @B(A.x) String foo; }",
                "class OnParameter { void foo(@B(A.y) int x) {} }",
                "class InMethodBody { void foo(int x) { @B(A.x) int value = 5; } }"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 19.4K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/integTest/resources/org/gradle/api/tasks/javadoc/JavadocIntegrationTest/handlesTagsAndTaglets/src/taglet/java/CustomTaglet.java

    public class CustomTaglet implements Taglet {
        public boolean inField() {
            return false;
        }
    
        public boolean inConstructor() {
            return false;
        }
    
        public boolean inMethod() {
            return false;
        }
    
        public boolean inOverview() {
            return false;
        }
    
        public boolean inPackage() {
            return false;
        }
    
        public boolean inType() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 998 bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/integTest/resources/org/gradle/api/tasks/javadoc/JavadocIntegrationTest/canCombineLocalOptionWithOtherOptions/src/taglet/java/LocaleAwareTaglet.java

    public class LocaleAwareTaglet implements Taglet {
        public boolean inField() {
            return false;
        }
    
        public boolean inConstructor() {
            return false;
        }
    
        public boolean inMethod() {
            return false;
        }
    
        public boolean inOverview() {
            return true;
        }
    
        public boolean inPackage() {
            return false;
        }
    
        public boolean inType() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

                if (dynamic0) { task inBlock }
                def task() { task inMethod }
                task()
                def cl = { -> task inClosure }
                cl()
                task all(dependsOn: [dynamic0, dynamic1, inBlock, inMethod, inClosure])
            """
    
            expect:
            succeeds ":dynamic0", ":dynamic1", ":inBlock", ":inClosure", ":inMethod", ":all"
        }
    
        def "can define tasks using task method expression"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                } catch (Exception e) {
                    throw new GradleException(String.format(
                            "Could not convert javadoc comment to docbook.%nClass: %s%nMethod: %s%nComment: %s",
                            ownerClass.getClassName(), methodMetaData.getSignature(), rawCommentText), e);
                }
            } finally {
                listener.finish();
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
Back to top