Skip to content

genohm/autoproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

autoproxy

Autoproxy is an annotation post processor that autogenerates proxies for interfaces. For example annotating the following interface:

@AutoProxy
public interface SayHello {
  void hi();
}

Will generate

public final class AutoProxy_SayHello implements SayHello {
  
  private SayHello instance;
  
  public AutoProxy_SayHello(SayHello instance) {
    this.instance = instance;
  }
 
  public void hi() {
    instance.hi();
  }
  
}

Known limitations: Bounds on generics are not supported.

About

No description, website, or topics provided.

Resources

License

Stars

0 stars

Watchers

4 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages