class DebugGenerators {

    public static InsnList debugPrint(InsnList text) {
        Validate.notNull(text);
        
        InsnList ret = new InsnList();
        
        ret.add(new FieldInsnNode(Opcodes.GETSTATIC, "java/lang/System", "out", "Ljava/io/PrintStream;"));
        ret.add(text);
        ret.add(new MethodInsnNode(Opcodes.INVOKEVIRTUAL, "java/io/PrintStream", "println", "(Ljava/lang/String;)V", false));

        return ret;
    }

    private  DebugGenerators();

}