Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for instanceMethod (0.23 sec)

  1. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/CallInterceptionFilteringTestInstrumentationDeclaration.java

    @SpecificGroovyCallInterceptors(generatedClassName = BasicCallInterceptionTestInterceptorsDeclaration.GROOVY_GENERATED_CLASS)
    public class CallInterceptionFilteringTestInstrumentationDeclaration {
    
        @InterceptCalls
        @CallableKind.InstanceMethod
        @SuppressWarnings("NewMethodNamingConvention")
        public static void intercept_testInstrumentation(@ParameterKind.Receiver CallInterceptionFilteringTestReceiver self) {
            self.intercepted = "testInstrumentation()";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 17:53:39 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/InheritedMethodsInterceptionTestInterceptorsDeclaration.java

    @SpecificGroovyCallInterceptors(generatedClassName = GROOVY_GENERATED_CLASS)
    public class InheritedMethodsInterceptionTestInterceptorsDeclaration {
    
        @InterceptCalls
        @InterceptInherited
        @CallableKind.InstanceMethod
        public static String intercept_sayHello(@ParameterKind.Receiver InheritedMethodTestReceiver self) {
            return self.sayHello() + " from: " + self.getClass().getName().replace(self.getClass().getPackage().getName() + ".", "");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 23 08:15:56 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/MutableClassDetails.java

        }
    
        void superType(Class<?> type) {
            superTypes.add(type);
        }
    
        void method(Method method) {
            methods.add(method);
        }
    
        void instanceMethod(Method method) {
            instanceMethods.add(method);
        }
    
        MutablePropertyDetails property(String propertyName) {
            MutablePropertyDetails property = properties.get(propertyName);
            if (property == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsResourceGeneratorTest.groovy

                @SpecificGroovyCallInterceptors(generatedClassName = "my.InterceptorDeclaration_GroovyBytecodeImpl")
                public class FileInterceptorsDeclaration {
                    @InterceptCalls
                    @InstanceMethod
                    public static File[] intercept_listFiles(@Receiver File thisFile) {
                        return new File[0];
                    }
    
                    @AfterConstructor
                    @InterceptCalls
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 13:46:28 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/ClassInspector.java

                    String propertyName = accessorType.propertyNameFor(method);
                    classDetails.property(propertyName).addSetter(method);
                } else {
                    classDetails.instanceMethod(method);
                }
            }
            for (Field field : type.getDeclaredFields()) {
                classDetails.field(field);
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/CallableKind.java

        @Target(ElementType.METHOD)
        @Retention(RetentionPolicy.CLASS)
        public @interface AfterConstructor {
        }
    
        @Target(ElementType.METHOD)
        @Retention(RetentionPolicy.CLASS)
        public @interface InstanceMethod {
        }
    
        @Target(ElementType.METHOD)
        @Retention(RetentionPolicy.CLASS)
        public @interface StaticMethod {
            Class<?> ofClass();
        }
    
        @Target(ElementType.METHOD)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/CallInterceptionFilteringTestBytecodeUpgradeDeclaration.java

    public class CallInterceptionFilteringTestBytecodeUpgradeDeclaration {
    
        @InterceptCalls
        @CallableKind.InstanceMethod
        @SuppressWarnings("NewMethodNamingConvention")
        public static void intercept_testBytecodeUpgrade(@ParameterKind.Receiver CallInterceptionFilteringTestReceiver self) {
            self.intercepted = "testBytecodeUpgrade()";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 17:53:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/modelreader/impl/AnnotationCallInterceptionRequestReaderImpl.java

                this.reason = reason;
            }
        }
    
        private static final Class<? extends Annotation>[] CALLABLE_KIND_ANNOTATION_CLASSES = Cast.uncheckedNonnullCast(new Class<?>[]{
            CallableKind.InstanceMethod.class,
            CallableKind.StaticMethod.class,
            CallableKind.AfterConstructor.class,
            CallableKind.GroovyPropertyGetter.class,
            CallableKind.GroovyPropertySetter.class
        });
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:48:42 UTC 2023
    - 13K bytes
    - Viewed (0)
  9. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGenerator.java

                if (callable.getKind() != CallableKindInfo.STATIC_METHOD && callable.getKind() != CallableKindInfo.INSTANCE_METHOD) {
                    throw new Failure(
                        "Only @" + CallableKind.StaticMethod.class.getSimpleName() + " or @" + CallableKind.InstanceMethod.class.getSimpleName() + " can use Kotlin default parameters"
                    );
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:50:01 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/BYTECODE-INTERCEPTION-README.md

    @SpecificGroovyCallInterceptors(
     generatedClassName = GROOVY_INTERCEPTORS_GENERATED_CLASS_NAME_FOR_CONFIG_CACHE,
     type = INSTRUMENTATION
    )
    public class JavaCompileInterceptorsDeclaration {
        @InterceptCalls // <4>
        @InstanceMethod
        public static void /* <5> */ intercept_setSourceCompatibility(
            @Receiver JavaCompile javaCompile, // <6>
            String sourceCompatibility // <7>
        ) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 09:22:58 UTC 2024
    - 22.1K bytes
    - Viewed (0)
Back to top