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

Specify how -overrideCollectionClass is created #19

Open
haxney opened this issue Jun 9, 2015 · 1 comment
Open

Specify how -overrideCollectionClass is created #19

haxney opened this issue Jun 9, 2015 · 1 comment

Comments

@haxney
Copy link

haxney commented Jun 9, 2015

The -overrideCollectionClass argument for the -Ximmutable plugin assumes that the chosen class can be constructed directly using new OverrideCollectionClassName(args), but this is not the case for Guava's ImmutableList, which must be built using a builder or a static method, such as copyOf(Iterable).

There should be some way of specifying how the collection class should be created.

@mklemm
Copy link
Owner

mklemm commented Oct 6, 2015

Maybe it is possible to pass the whole collection construction expression as a command-line parameter

@mklemm mklemm closed this as completed Oct 6, 2015
@mklemm mklemm reopened this Oct 6, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants