Class SimpleMethodSignatureOffsetMappingFactory
- java.lang.Object
-
- co.elastic.apm.agent.bci.bytebuddy.SimpleMethodSignatureOffsetMappingFactory
-
- All Implemented Interfaces:
net.bytebuddy.asm.Advice.OffsetMapping.Factory<SimpleMethodSignatureOffsetMappingFactory.SimpleMethodSignature>
public class SimpleMethodSignatureOffsetMappingFactory extends java.lang.Object implements net.bytebuddy.asm.Advice.OffsetMapping.Factory<SimpleMethodSignatureOffsetMappingFactory.SimpleMethodSignature>
Enables usingSimpleMethodSignatureOffsetMappingFactory.SimpleMethodSignatureinAdvice.OnMethodEnterandAdvice.OnMethodExitmethods.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSimpleMethodSignatureOffsetMappingFactory.SimpleMethodSignatureIndicates that the annotated parameter should be mapped to a string representation of the instrumented method, a constant representingClass.getSimpleName()#Method.getName(), for exampleFooClass#barMethod-
Nested classes/interfaces inherited from interface net.bytebuddy.asm.Advice.OffsetMapping.Factory
net.bytebuddy.asm.Advice.OffsetMapping.Factory.AdviceType, net.bytebuddy.asm.Advice.OffsetMapping.Factory.Illegal<T extends java.lang.annotation.Annotation>, net.bytebuddy.asm.Advice.OffsetMapping.Factory.Simple<T extends java.lang.annotation.Annotation>
-
-
Constructor Summary
Constructors Constructor Description SimpleMethodSignatureOffsetMappingFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<SimpleMethodSignatureOffsetMappingFactory.SimpleMethodSignature>getAnnotationType()net.bytebuddy.asm.Advice.OffsetMappingmake(net.bytebuddy.description.method.ParameterDescription.InDefinedShape target, net.bytebuddy.description.annotation.AnnotationDescription.Loadable<SimpleMethodSignatureOffsetMappingFactory.SimpleMethodSignature> annotation, net.bytebuddy.asm.Advice.OffsetMapping.Factory.AdviceType adviceType)
-
-
-
Method Detail
-
getAnnotationType
public java.lang.Class<SimpleMethodSignatureOffsetMappingFactory.SimpleMethodSignature> getAnnotationType()
- Specified by:
getAnnotationTypein interfacenet.bytebuddy.asm.Advice.OffsetMapping.Factory<SimpleMethodSignatureOffsetMappingFactory.SimpleMethodSignature>
-
make
public net.bytebuddy.asm.Advice.OffsetMapping make(net.bytebuddy.description.method.ParameterDescription.InDefinedShape target, net.bytebuddy.description.annotation.AnnotationDescription.Loadable<SimpleMethodSignatureOffsetMappingFactory.SimpleMethodSignature> annotation, net.bytebuddy.asm.Advice.OffsetMapping.Factory.AdviceType adviceType)- Specified by:
makein interfacenet.bytebuddy.asm.Advice.OffsetMapping.Factory<SimpleMethodSignatureOffsetMappingFactory.SimpleMethodSignature>
-
-