private void field_and_method_refs_are_valid() { try { final JavaClass jc = Repository.lookupClass(myOwner.getClassName()); final DescendingVisitor v = new DescendingVisitor(jc, new FAMRAV_Visitor(jc)); v.visit(); } catch (final ClassNotFoundException e) { throw new AssertionViolatedException("Missing class: " + e, e); } }