System.out.println(getClassName() + " makes unresolvable reference to " + ref );
	public void visit(JavaClass obj) {		compute();		ConstantPool cp = obj.getConstantPool();		Constant[] constants = cp.getConstantPool();		checkConstant: for (int i = 0; i < constants.length; i++) {			Constant co = constants[i];			if (co instanceof ConstantDouble || co instanceof ConstantLong)				i++;			if (co instanceof ConstantClass) {				String ref = getClassName(obj, i).replace('/','.');				if (ref.startsWith("java") && !defined.contains(ref))					bugReporter.reportBug(new BugInstance(this, "VR_UNRESOLVABLE_REFERENCE", NORMAL_PRIORITY)					        .addClass(obj).addString(ref));					System.out.println(getClassName()							+ " makes unresolvable reference to " + ref );			} else if (co instanceof ConstantFieldref) {				// do nothing until we handle static fields defined in interfaces			} else if (co instanceof ConstantCP) {				ConstantCP co2 = (ConstantCP) co;				String className = getClassName(obj, co2.getClassIndex()).replace('/','.');				ConstantNameAndType nt = (ConstantNameAndType) cp						.getConstant(co2.getNameAndTypeIndex());				String ref = getMemberName(obj, className, nt.getNameIndex(),						nt.getSignatureIndex());				// System.out.println("checking " + ref);				if (className.equals(obj.getClassName())						|| !defined.contains(className)) {					// System.out.println("Skipping check of " + ref);					continue checkConstant;				}								if (defined.contains(ref)) {										continue checkConstant;				}											try {					JavaClass target = Repository.lookupClass(className);					if (target.isInterface() || target.isAbstract()) {						// System.out.println("Skipping interface for " + ref);						continue checkConstant;					}					while (true) {												target = target.getSuperClass();						if (target == null || !defined.contains(target.getClassName())) break;												String ref2 = getMemberName(obj, target.getClassName(), nt								.getNameIndex(), nt.getSignatureIndex());						if (defined.contains(ref2)) {														continue checkConstant;						}					}					bugReporter.reportBug(new BugInstance(this, "VR_UNRESOLVABLE_REFERENCE", NORMAL_PRIORITY)					        .addClass(obj).addString(ref));									} catch (ClassNotFoundException e) {					bugReporter.reportMissingClass(e);				}			}		}	}