TypeElementsScanner's includeAnnotations flag cannot be modified.
GoogleCodeExporter opened this issue · comments
The class TypeElementsScanner contains a private field 'includeAnnotations'.
This field is initialized to 'true' and cannot be modified (due to absence of a
modifier method). Thus annotations will _always_ be stored.
I suppose there should be methods #includeAnnotations() and
#includeAnnotations(boolean) to match the other existing methods.
Original issue reported on code.google.com by stephan...@gmail.com
on 7 Sep 2013 at 7:13
Now that I had another look: the methods #includeFields(), #includeMethods()
and #publicOnly() are rather useless as-is, since they merely set flags that
are by default already set anyway. If the private fields would default to false
then these methods would be more useful, but admittedly changing that now would
constitute an API change...
Original comment by stephan...@gmail.com
on 7 Sep 2013 at 7:18
Original comment by ronm...@gmail.com
on 21 Dec 2013 at 9:35
- Changed state: Fixed