Giter Club home page Giter Club logo

bundleargs's People

Contributors

mflisar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

bundleargs's Issues

todo and ideas

  • @optional for optional values @required for required fields and class annotations gets a option to define what the default value is for fields without either of those annotations whereas the default will be required
  • @nullable for non primitive fields only
  • default value can be defined in code; if set processor should not set null nor the default primitive values
  • Support for inheritance

Maybe:

  • add a startActivity(Class activity) and a buildFragment(Class fragment) method

Improvement - inner class for builder

Change the generated builder class name to something shorter? Or create inner builder class so that you can use a builder like new Test.Builder() for a class named Test? Or even via a static method like Test.Builder()?

This needs additional setup for proguard I think, currently I just create an extra class...

Improvement - build should directly call the class constructor

The generated builders build method should should create a object of the decorated class and pass in the args.

Test t = new Test(new TestBundleBuilder().build());

Should be improved to

Test t = new TestBundleBuilder().build();

Therefore I must ensure that the annotated class has the desired constructor and use this in the build() function.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.