Here you can find the source of typeName(final JoinPoint joinPoint)
public static String typeName(final JoinPoint joinPoint)
//package com.java2s; import org.aspectj.lang.JoinPoint; public class Main { public static String typeName(final JoinPoint joinPoint) { final Class<?> type = type(joinPoint); if (type != null) { return type.getName(); }// ww w . j ava2s .co m return null; } public static Class<?> type(final JoinPoint joinPoint) { return joinPoint.getTarget().getClass(); } }