Class ApiLog
java.lang.Object
org.codehaus.commons.compiler.util.reflect.ApiLog
Simple logging of method invocations.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static Class<?>[]
getAllInterfaces
(Class<?> c) private static void
getAllInterfaces
(Class<?> c, Set<Class<?>> result) static Object
logMethodInvocations
(Object delegate) Creates and returns an object that implements all interfaces that the delegate implements.protected static String
-
Constructor Details
-
ApiLog
private ApiLog()
-
-
Method Details
-
logMethodInvocations
Creates and returns an object that implements all interfaces that the delegate implements. All method invocations are forwarded to the delegate, and, after the delegate's method returns, logged toSystem.err
. -
truncate
-
getAllInterfaces
-
getAllInterfaces
-