EngineHub / Intake

IoC-oriented Java command parsing library
GNU Lesser General Public License v3.0
98 stars 21 forks source link

Replace @Optional with @OptArg or similar #19

Open DarkArc opened 8 years ago

DarkArc commented 8 years ago

Currently if using the @Optional annotation to specify an optional argument, within a class file also using the JDK Optional class, or the Guava Optional class you're forced to use the expanded type name so as to specify which Optional you're referring to.

To resolve this naming conflict, I suggest making the @Optional annotation an @OptArg annotation or similar.

elysweyr commented 6 years ago

What about this issure? It's still open: what'll happen?