public static MethodAnnotation fromCalledMethod ( String className , String methodName , String methodSig , boolean isStatic ) { MethodAnnotation methodAnnotation = fromForeignMethod ( className , methodName , methodSig , isStatic ) ; methodAnnotation . setDescription ( METHOD_CALLED ) ; return methodAnnotation ; }
Create a MethodAnnotation from a method that is not directly accessible . We will use the repository to try to find its class in order to populate the information as fully as possible .