Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for BYTECODE_UPGRADE (0.18 sec)

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

    @SpecificJvmCallInterceptors(generatedClassName = BasicCallInterceptionTestInterceptorsDeclaration.JVM_BYTECODE_GENERATED_CLASS + "BytecodeUpgrade", type = BYTECODE_UPGRADE)
    @SpecificGroovyCallInterceptors(generatedClassName = BasicCallInterceptionTestInterceptorsDeclaration.GROOVY_GENERATED_CLASS + "BytecodeUpgrade", type = BYTECODE_UPGRADE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 17:53:39 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/types/FilterableBytecodeInterceptorFactory.java

         */
        interface BytecodeUpgradeInterceptorFactory extends FilterableBytecodeInterceptorFactory {
            @Override
            default BytecodeInterceptorType getType() {
                return BytecodeInterceptorType.BYTECODE_UPGRADE;
            }
        }
    
        interface InstrumentationInterceptorFactory extends FilterableBytecodeInterceptorFactory {
            @Override
            default BytecodeInterceptorType getType() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 13:55:59 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  3. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/types/FilterableBytecodeInterceptor.java

         */
        interface BytecodeUpgradeInterceptor extends FilterableBytecodeInterceptor {
            @Override
            default BytecodeInterceptorType getType() {
                return BytecodeInterceptorType.BYTECODE_UPGRADE;
            }
        }
    
        /**
         * A marker interface that indicates that a class is used for configuration cache instrumentation.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 13:55:59 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/types/BytecodeInterceptorFilter.java

     */
    public enum BytecodeInterceptorFilter {
        INSTRUMENTATION_ONLY(EnumSet.of(BytecodeInterceptorType.INSTRUMENTATION)),
        ALL(EnumSet.of(BytecodeInterceptorType.INSTRUMENTATION, BytecodeInterceptorType.BYTECODE_UPGRADE));
    
        @SuppressWarnings("ImmutableEnumChecker")
        private final EnumSet<BytecodeInterceptorType> instrumentationTypes;
    
        BytecodeInterceptorFilter(EnumSet<BytecodeInterceptorType> instrumentationTypes) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/internal-instrumentation-api/src/main/java/org/gradle/internal/instrumentation/api/types/BytecodeInterceptorType.java

            FilterableBytecodeInterceptorFactory.InstrumentationInterceptorFactory.class
        ),
    
        /**
         * An interceptor that is applied to the bytecode only for upgrades.
         */
        BYTECODE_UPGRADE(
            FilterableBytecodeInterceptor.BytecodeUpgradeInterceptor.class,
            FilterableBytecodeInterceptorFactory.BytecodeUpgradeInterceptorFactory.class
        );
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 13:55:59 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

    import static org.gradle.internal.instrumentation.api.declarations.InterceptorDeclaration.JVM_BYTECODE_GENERATED_CLASS_NAME_FOR_PROPERTY_UPGRADES;
    import static org.gradle.internal.instrumentation.api.types.BytecodeInterceptorType.BYTECODE_UPGRADE;
    import static org.gradle.internal.instrumentation.model.CallableKindInfo.GROOVY_PROPERTY_GETTER;
    import static org.gradle.internal.instrumentation.model.CallableKindInfo.INSTANCE_METHOD;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. platforms/core-runtime/internal-instrumentation-processor/src/test/groovy/org/gradle/internal/instrumentation/processor/codegen/jvmbytecode/InterceptJvmCallsGeneratorTest.groovy

                .generatedSourceFile(fqName(expectedJvmInterceptors))
                .containsElementsIn(expectedJvmInterceptors)
    
            where:
            type << [BytecodeInterceptorType.INSTRUMENTATION, BytecodeInterceptorType.BYTECODE_UPGRADE]
        }
    
        def "should group visitMethodInsn logic by call owner"() {
            given:
            def givenFirstSource = source """
                package org.gradle.test;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 19:21:09 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. platforms/core-runtime/BYTECODE-INTERCEPTION-README.md

    2. **GeneratedClassName** that will be used to generate bytecode instrumentation, this should not collide between projects
    3. **Type of interception**: Either BYTECODE_UPGRADE for property upgrades or INSTRUMENTATION for cc instrumentation: we want to use only instrumentation interceptors in some cases and that is why you need to define a type
    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