Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for InstrumentedClasses (0.21 sec)

  1. subprojects/core/src/testFixtures/groovy/org/gradle/internal/classpath/InstrumentedClasses.groovy

    import org.gradle.internal.instrumentation.api.types.BytecodeInterceptorFilter
    
    import java.util.function.Predicate
    
    class InstrumentedClasses {
    
        private final Predicate<String> shouldInstrumentClassByName
    
        private final TestInstrumentedClassLoader loader
    
        InstrumentedClasses(
                ClassLoader source,
                Predicate<String> shouldInstrumentClassByName,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:14:01 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  2. subprojects/core/src/test/groovy/org/gradle/internal/classpath/AbstractCallInterceptionTest.groovy

            InstrumentationTypeRegistry.empty()
        }
    
        protected InstrumentedClasses instrumentedClasses
    
        private JvmInterceptorsSubstitution jvmInterceptorsSubstitution
        private GroovyInterceptorsSubstitution groovyInterceptorsSubstitution
    
        def setup() {
            // Substitutions should be set before the InstrumentedClasses is constructed
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:14:01 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/internal/classpath/GroovyDynamicDispatchingInterceptingTest.groovy

            given:
            def transformedClosureClass = instrumentedClasses.instrumentedClosure {
                test()
            }
            def constructor = transformedClosureClass.class.getDeclaredConstructor(Object.class, Object.class)
    
            when:
            def modifiedMetaClasses = instrumentedClasses.instrumentedClosure { Constructor<?> ctor, Object receiver ->
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:44:54 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. build-logic/packaging/src/main/kotlin/gradlebuild/instrumentation/tasks/InstrumentedSuperTypesMergeTask.kt

         */
        @get:OutputFile
        abstract val instrumentedSuperTypes: RegularFileProperty
    
        @TaskAction
        fun mergeInstrumentedSuperTypes() {
            val instrumentedClasses = findInstrumentedClasses()
            if (instrumentedClasses.isEmpty()) {
                instrumentedSuperTypes.asFile.get().delete()
                return
            }
    
            // Merge and find all transitive super types
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 19 14:00:26 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CallInterceptionFilteringTest.groovy

    import static org.gradle.internal.classpath.GroovyCallInterceptorsProvider.ClassLoaderSourceGroovyCallInterceptorsProvider
    import static org.gradle.internal.classpath.InstrumentedClasses.nestedClassesOf
    import static org.gradle.internal.classpath.JavaCallerForCallInterceptionFilteringTest.doTestBytecodeUpgrade
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 24 13:33:59 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/internal/classpath/InheritedMethodsInterceptionTest.groovy

    import static org.gradle.internal.classpath.GroovyCallInterceptorsProvider.ClassLoaderSourceGroovyCallInterceptorsProvider
    import static org.gradle.internal.classpath.InstrumentedClasses.nestedClassesOf
    import static org.gradle.internal.classpath.intercept.JvmBytecodeInterceptorFactoryProvider.*
    
    /**
     * See {@link BasicCallInterceptionTest} for a basic example
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 07 20:14:01 UTC 2024
    - 4K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/classpath/CompositeCallInterceptionTest.groovy

    import static org.gradle.internal.classpath.GroovyCallInterceptorsProvider.ClassLoaderSourceGroovyCallInterceptorsProvider
    import static org.gradle.internal.classpath.InstrumentedClasses.nestedClassesOf
    import static org.gradle.internal.classpath.intercept.JvmBytecodeInterceptorFactoryProvider.ClassLoaderSourceJvmBytecodeInterceptorFactoryProvider
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 09 11:38:52 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/internal/classpath/BasicCallInterceptionTest.groovy

    import static org.gradle.internal.classpath.GroovyCallInterceptorsProvider.ClassLoaderSourceGroovyCallInterceptorsProvider
    import static org.gradle.internal.classpath.InstrumentedClasses.nestedClassesOf
    import static org.gradle.internal.classpath.JavaCallerForBasicCallInterceptorTest.doTestNoArg
    import static org.gradle.internal.classpath.JavaCallerForBasicCallInterceptorTest.doTestSingleArg
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 09:44:54 UTC 2023
    - 8.8K bytes
    - Viewed (0)
Back to top