boolean f =
boolean f = Base.class.getName().equals(name) ||
    public static void main( String args [] )throws Exception{         ClassTransformerFactory transformation =               new ClassTransformerFactory (){                   public ClassTransformer newInstance(){            try{                     InterceptFieldTransformer t1 = new InterceptFieldTransformer( new Filter() );                              AddStaticInitTransformer t2 = new   AddStaticInitTransformer(                TransformDemo.class.getMethod("register",new Class[]{Class.class})               );                                                                 AddDelegateTransformer t3 = new AddDelegateTransformer(                          new Class[]{PersistenceCapable.class},                          PersistenceCapableImpl.class                    );                                            FieldProviderTransformer t4 = new FieldProviderTransformer();                                       return new ClassTransformerChain( new ClassTransformer[]{t4,t1,t2,t3} );                          }catch(Exception e){              throw new CodeGenerationException(e);            }            }      };                TransformingClassLoader loader = new TransformingClassLoader(          TransformDemo.class.getClassLoader(),          new ClassFilter(){            public boolean accept(String name){                System.out.println("load : "  + name);                boolean f =                   MA.class.getName().equals(name) ||                      TransformDemo.class.getName().equals(name);                if(f){                 System.out.println("transforming " + name);                }                return f;            }          },         transformation        );                        loader.loadClass(TransformDemo.class.getName()).getMethod("start",new Class[]{}).invoke(null,null);        }