indent++;
long[] keys = advisor.getMethodInterceptors().keys();
for (int i = 0; i < keys.length; i++)
{
long key = keys[i];
MethodInfo method = advisor.getMethodInfo(key);
System.out.println("info " + method + " for " + key);
@SuppressWarnings("unchecked")
HashMap methodCallers = (HashMap) advisor.getMethodCalledByMethodInterceptors().get(key);
@SuppressWarnings("unchecked")
HashMap conCallers = (HashMap) advisor.getConCalledByMethodInterceptors().get(key);
if (method == null && methodCallers == null) continue;
if (method != null && methodCallers == null && (method.getInterceptors() == null || method.getInterceptors().length < 1)) continue;
indenter(pw, indent);
pw.println("<method signature=\"" + method.getMethod().toString() + "\">");
if (method != null)
{
Interceptor[] chain = method.getInterceptors();
if (chain != null && chain.length > 0)
{
outputChain(indent + 1, pw, chain);
}
}