Open GoogleCodeExporter opened 9 years ago
Fixed javadoc in Modules.rewrite -- the API is used as:
Module newModule = Modules.rewrite(new LegacyModule())
.withAnnotation(new DeprecatedAnnotationMatcher(), NewAnnotation.class)
.build());
or
Module newModule = Modules.rewrite(new MyModule())
.withScope(new NoScopeMatcher(), Scopes.SINGLETON)
.build());
(The additional Modules.replace snuck in there accidentally, since I wasn't
sure what
I wanted to call the method, replace or rewrite.)
Original comment by sberlin
on 17 Jan 2010 at 5:42
Attachments:
Original issue reported on code.google.com by
sberlin
on 17 Jan 2010 at 5:37Attachments: