Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for InterceptScope (0.2 sec)

  1. subprojects/core/src/main/java/org/gradle/internal/classpath/intercept/DefaultCallSiteDecorator.java

            switch (callType) {
                case "invoke":
                    maybeApplyInterceptor(ccs, caller, flags, interceptors.get(InterceptScope.methodsNamed(name)));
                    break;
                case "getProperty":
                    maybeApplyInterceptor(ccs, caller, flags, interceptors.get(InterceptScope.readsOfPropertiesNamed(name)));
                    break;
                case "init":
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/internal/classpath/Instrumented.java

            public SystemGetPropertiesInterceptor() {
                super(System.class,
                    InterceptScope.readsOfPropertiesNamed("properties"),
                    InterceptScope.methodsNamed("getProperties"));
            }
    
            @Override
            protected Object interceptSafe(Invocation invocation, String consumer) throws Throwable {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 34.2K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/classpath/CallInterceptingMetaClass.java

            if (matchedCaller != null) {
                InterceptScope scope =
                    kind == INVOKE_METHOD ? InterceptScope.methodsNamed(name) :
                        kind == GET_PROPERTY ? InterceptScope.readsOfPropertiesNamed(name) :
                            kind == SET_PROPERTY ? InterceptScope.writesOfPropertiesNamed(name) :
                                null;
                if (scope == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/groovy/InterceptGroovyCallsGenerator.java

        private static final ClassName INTERCEPTED_SCOPE_CLASS = ClassName.bestGuess("org.gradle.internal.classpath.intercept.InterceptScope");
        private static final ClassName INVOCATION_CLASS = ClassName.bestGuess("org.gradle.internal.classpath.intercept.Invocation");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/BYTECODE-INTERCEPTION-README.md

        }
    }
    ```
    
    For dynamic Groovy:
    ```java
    public static class SetSourceCompatibilityCallInterceptor extends CallInterceptor {
        public SetSourceCompatibilityCallInterceptor() {
            super(InterceptScope.methodsNamed("setSourceCompatibility"));
        }
    
        @Override
        public Object intercept(Invocation invocation, String consumer) throws Throwable {
            Object receiver = invocation.getReceiver();
    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