Package tests.jfun.yan.xml.nuts

Source Code of tests.jfun.yan.xml.nuts.Util

package tests.jfun.yan.xml.nuts;

import jfun.yan.Component;
import jfun.yan.Mutation;

final class Util {
  static Component decorate(boolean echo, Component c, final Listener l){
    if(!echo) return c;
    return c.mutate(new Mutation(){
      public void mutate(Object obj){
        l.onInstance(obj);
      }
    });
  }
}
TOP

Related Classes of tests.jfun.yan.xml.nuts.Util

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.