void generateStaticProxy(Class<?> clazz){
  imports.clear();
  addImport(InvocationHandler.class);
  addImport(Method.class);
  addImport(clazz);
  className=getClassName(clazz) + "Proxy";
  for (  Method m : clazz.getDeclaredMethods()) {
    if (Modifier.isStatic(m.getModifiers())) {
      if (!Modifier.isPrivate(m.getModifiers())) {
        addMethod(m);
      }
    }
  }
}

void generateStaticProxy ( Class < ? > clazz ) { imports . clear ( ) ; addImport ( InvocationHandler . class ) ; addImport ( Method . class ) ; addImport ( clazz ) ; className = getClassName ( clazz ) + "Proxy" ; for ( Method m : clazz . getDeclaredMethods ( ) ) { if ( Modifier . isStatic ( m . getModifiers ( ) ) ) { if ( ! Modifier . isPrivate ( m . getModifiers ( ) ) ) { addMethod ( m ) ; } } } }
generate a class that implements all static methods of the given class , but as non - static .
