Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for InterceptGroovyCalls (0.22 sec)

  1. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/InterceptGroovyCalls.java

    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    @Retention(RetentionPolicy.CLASS)
    @Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
    public @interface InterceptGroovyCalls {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 977 bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/declarations/GroovyFileInterceptors.java

    public class GroovyFileInterceptors {
        @InterceptGroovyCalls
        @GroovyPropertyGetter
        @WithExtensionReferences(toClass = ResourceGroovyMethods.class)
        public static String intercept_text(
            @Receiver File self,
            @CallerClassName String consumer
        ) throws IOException {
            return Instrumented.groovyFileGetText(self, consumer);
        }
    
        @InterceptGroovyCalls
        @InstanceMethod
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jul 24 15:57:56 UTC 2023
    - 16.8K bytes
    - Viewed (0)
  3. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/CompositeCallInterceptionTestInterceptorsDeclaration.java

        }
    
        @InterceptGroovyCalls
        @CallableKind.GroovyPropertyGetter
        public static boolean intercept_testFlag(
            @ParameterKind.Receiver CompositeInterceptorTestReceiver self,
            @ParameterKind.CallerClassName String consumer
        ) {
            self.intercepted = "composite.isTestFlag()";
            return self.isTestFlag();
        }
    
        @InterceptGroovyCalls
        @CallableKind.GroovyPropertySetter
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. subprojects/core/src/testInterceptors/java/org/gradle/internal/classpath/BasicCallInterceptionTestInterceptorsDeclaration.java

        }
    
        @InterceptGroovyCalls
        @CallableKind.GroovyPropertyGetter
        public static boolean intercept_testFlag(
            @ParameterKind.Receiver InterceptorTestReceiver self,
            @ParameterKind.CallerClassName String consumer
        ) {
            self.intercepted = "isTestFlag()";
            return self.isTestFlag();
        }
    
        @InterceptGroovyCalls
        @CallableKind.GroovyPropertySetter
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 23 08:15:56 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/GroovyClassGeneratorUtils.java

            interceptionRequests.forEach(request -> {
                if (request.getRequestExtras().getByType(RequestExtra.InterceptGroovyCalls.class).isPresent()) {
                    String implementationName = request.getRequestExtras().getByType(RequestExtra.InterceptGroovyCalls.class)
                        .map(RequestExtra.InterceptGroovyCalls::getImplementationClassName)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 13:39:36 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/ConfigurationCacheInstrumentationProcessor.java

                ),
                new AddGeneratedClassNameFlagFromClassLevelAnnotation(processingEnv.getElementUtils(),
                    ifHasAnnotation(InterceptGroovyCalls.class), SpecificGroovyCallInterceptors.class, RequestExtra.InterceptGroovyCalls::new
                ),
    
                (CodeGeneratorContributor) InterceptJvmCallsGenerator::new,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 12 16:31:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/model/RequestExtra.java

                return interceptorType;
            }
        }
    
        class InterceptGroovyCalls implements RequestExtra {
            private final String implementationClassName;
            private final BytecodeInterceptorType interceptorType;
    
            public InterceptGroovyCalls(String implementationClassName, BytecodeInterceptorType interceptorType) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 13:39:36 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/annotations/InterceptCalls.java

    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    import java.lang.annotation.Target;
    
    @Retention(RetentionPolicy.CLASS)
    @Target(ElementType.METHOD)
    @InterceptGroovyCalls
    @InterceptJvmCalls
    public @interface InterceptCalls {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 02 15:44:14 UTC 2023
    - 981 bytes
    - Viewed (0)
  9. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsResourceGenerator.java

            return interceptionRequests.stream()
                .filter(request -> request.getRequestExtras().getByType(RequestExtra.InterceptGroovyCalls.class).isPresent())
                .collect(Collectors.toList());
        }
    
        @Override
        public GenerationResult generateResourceForRequests(Collection<CallInterceptionRequest> filteredRequests) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

        @Override
        protected String classNameForRequest(CallInterceptionRequest request) {
            return request.getRequestExtras().getByType(RequestExtra.InterceptGroovyCalls.class)
                .map(RequestExtra.InterceptGroovyCalls::getImplementationClassName)
                .orElse(null);
        }
    
        @Override
        protected Consumer<TypeSpec.Builder> classContentForClass(
            String className,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
Back to top