throw new RuntimeException( "nothing to verify" );
JavaClass jc = clGen.getJavaClass();
Repository.addClass( jc );
Verifier v = VerifierFactory.getVerifier( jc.getClassName() );
checkVerificationResult(v.doPass1(), "1");
checkVerificationResult(v.doPass2(), "2");
MethodWeaver methodWeavers[] = new MethodWeaver[methods.size()];
methods.values().toArray( methodWeavers );
for( int i = 0; i < methods.size(); i++ ) {
int method_index = methodWeavers[i].getTargetIndex();
checkVerificationResult(v.doPass3a(method_index), "3a");
checkVerificationResult(v.doPass3b(method_index), "3b");
}
try {
String[] warnings = v.getMessages();
if (warnings.length != 0)
System.err.println("Messages:");
for (int j = 0; j < warnings.length; j++)
System.err.println(warnings[j]);
} catch(Exception e) {System.err.println("could not verify " + targetClass);}