
io.opentelemetry.javaagent.tooling.field.NoopVirtualFieldImplementationInstaller Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opentelemetry-javaagent-tooling Show documentation
Show all versions of opentelemetry-javaagent-tooling Show documentation
Instrumentation of Java libraries using OpenTelemetry.
/*
* Copyright The OpenTelemetry Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.opentelemetry.javaagent.tooling.field;
import com.google.errorprone.annotations.CanIgnoreReturnValue;
import net.bytebuddy.agent.builder.AgentBuilder.Identified.Extendable;
final class NoopVirtualFieldImplementationInstaller implements VirtualFieldImplementationInstaller {
static final NoopVirtualFieldImplementationInstaller INSTANCE =
new NoopVirtualFieldImplementationInstaller();
private NoopVirtualFieldImplementationInstaller() {}
@Override
@CanIgnoreReturnValue
public Extendable rewriteVirtualFieldsCalls(Extendable builder) {
return builder;
}
@Override
@CanIgnoreReturnValue
public Extendable injectHelperClasses(Extendable builder) {
return builder;
}
@Override
@CanIgnoreReturnValue
public Extendable injectFields(Extendable builder) {
return builder;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy