use of com.navercorp.pinpoint.bootstrap.instrument.aspect.PointCut in project pinpoint by naver.
the class AspectInterceptorNoExtendClass method testUtilMethod.
@PointCut
public int testUtilMethod() {
int result = __testInt();
utilMethod();
return result;
}
use of com.navercorp.pinpoint.bootstrap.instrument.aspect.PointCut in project pinpoint by naver.
the class TestAspect method testUtilMethod.
@PointCut
public int testUtilMethod() {
touchBefore();
int result = __testInt();
utilMethod();
touchAfter();
return result;
}
use of com.navercorp.pinpoint.bootstrap.instrument.aspect.PointCut in project pinpoint by naver.
the class TestAspect method testInt.
@PointCut
public int testInt() {
touchBefore();
final int result = __testInt();
touchAfter();
return result;
}
use of com.navercorp.pinpoint.bootstrap.instrument.aspect.PointCut in project pinpoint by naver.
the class ASMMethodNodeAdapterTest method hasAnnotation.
@Test
public void hasAnnotation() throws Exception {
final String targetClassName = "com.navercorp.pinpoint.profiler.instrument.mock.AnnotationClass";
final MethodNode methodNode = ASMClassNodeLoader.get(targetClassName, "pointCut");
ASMMethodNodeAdapter adapter = new ASMMethodNodeAdapter(JavaAssistUtils.javaNameToJvmName(targetClassName), methodNode);
assertEquals(true, adapter.hasAnnotation(PointCut.class));
assertEquals(false, adapter.hasAnnotation(JointPoint.class));
}
use of com.navercorp.pinpoint.bootstrap.instrument.aspect.PointCut in project pinpoint by naver.
the class AspectInterceptorExtendSubClass method testUtilMethod.
@PointCut
public int testUtilMethod() {
int result = __testInt();
utilMethod();
return result;
}
Aggregations