info.append("\n\tmethod: " + mi.getMethod().getName());
info.append("\n\tClass containing method: " + mi.getTargetObject().getClass().getName());
}
else if (invocation instanceof ConstructorInvocation)
{
ConstructorInvocation ci = (ConstructorInvocation)invocation;
info.append("\n\ttype: Constructor Invocation");
info.append("\n\tconstructor: " + ci.getConstructor());
}
else if (invocation instanceof FieldWriteInvocation)
{
FieldWriteInvocation fi = (FieldWriteInvocation)invocation;
info.append("\n\ttype: Field Write Invocation");