I would like to find the return type of the method from org.aspectj.lang.Signature and org.aspectj.lang.ProceedingJoinPoint classes.
My code is like:
Form sig.toLongString() , I can get the entire thing.
From sig.getName(), I get the name of the method, which is getIt.
myTargetClass returns the name of the class, which is org.Service.MyClass.
pjp.getArgs() will return values of the arguments in an array which is good.
There is no API available to get the return type, which is java.util.List
I can use poor man's solution and parse the String obtained from sig.toLongString() to get the return type.
But I am wondering if there is any clean API available to get the return type (java.uti.List), instead of parsing sig.toLongString().