throw new IllegalArgumentException("Unable to identify field " + type + " of type "
+ type.getClass().getName());
}
}
cw.visitEnd();
final byte[] bytes = cw.toByteArray();
ClassLoader loader = new ClassLoader(this.getClass().getClassLoader()) {
@Override
public Class<?> loadClass(String name) throws ClassNotFoundException {