public void visit(int version, int access, String name, String signature,
String superName, String[] interfaces)
{
this.myName = name.replace('/', '.');
this.classData = this.projectData.getOrCreateClassData(this.myName);
this.classData.setContainsInstrumentationInfo();
if (((access & Opcodes.ACC_INTERFACE) != 0)
|| arrayContains(interfaces, hasBeenInstrumented))
{
super.visit(version, access, name, signature, superName,
interfaces);
}
else
{
instrument = true;
String[] newInterfaces = new String[interfaces.length + 1];
System.arraycopy(interfaces, 0, newInterfaces, 0,
interfaces.length);
newInterfaces[newInterfaces.length - 1] = hasBeenInstrumented;
super.visit(version, access, name, signature, superName,
newInterfaces);
}
}