Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for CallInterceptingMetaClass (0.18 sec)

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

     */
    @NonNullApi
    public class CallInterceptingMetaClass extends MetaClassImpl implements AdaptingMetaClass, InstrumentedMetaClass {
    
        private MetaClass adaptee;
        private final InstrumentedGroovyCallsTracker callsTracker;
        private final CallInterceptorResolver interceptorResolver;
    
        private static final Object[] NO_ARG = new Object[0];
    
        public CallInterceptingMetaClass(
            MetaClassRegistry registry,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 13:46:35 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CallInterceptingMetaClassTest.groovy

            def method3 = instance.metaClass.pickMethod("test", new Class[]{String})
    
            then:
            method1 instanceof CallInterceptingMetaClass.InterceptedMetaMethod
            method2 instanceof CallInterceptingMetaClass.InterceptedMetaMethod
            !(method3 instanceof CallInterceptingMetaClass.InterceptedMetaMethod)
        }
    
        def 'intercepts invokeMethod in a closure'() {
            given:
            def closure = {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 15K bytes
    - Viewed (0)
Back to top