Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make the name and package of the BoundBox generated class customizable #8

Closed
stephanenicolas opened this issue Sep 26, 2013 · 3 comments
Assignees

Comments

@stephanenicolas
Copy link
Owner

Title says it all :

@BoundBox(boundClass = TestClass.class, boundboxname="org.boundbox.BB1")
public class TestClass {
}

If the name contains a dot, then the package is defined as well, otherwise use the same package as TestClass.

@ghost ghost assigned stephanenicolas Sep 26, 2013
@stephanenicolas
Copy link
Owner Author

We definitly need something more powerfull.

We should be able to customize :

  • boundbox class prefix
  • boundbox inner classes prefix
  • boundbox method prefix
  • boundbox class package

stephanenicolas added a commit that referenced this issue Sep 30, 2013
stephanenicolas added a commit that referenced this issue Oct 2, 2013
stephanenicolas added a commit that referenced this issue Oct 2, 2013
@stephanenicolas
Copy link
Owner Author

Only remaining feature is to allow to change package of BoundBox class.

@stephanenicolas
Copy link
Owner Author

    @BoundBox(boundClass = FieldTestClassA.class, boundBoxPackage="foo")
    private BoundBoxOfFieldTestClassA boundBoxOfA;

Package name and prefixes offer good customization level. Names are not that good though. @flavienlaurent , if you come with a better idea, you are welcome :)

TODO :

  • Update wiki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant