Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
joptsimple.internal.Reflection does not handle autoboxing #5
It would be nice if using parser.ofType(int.class) was equivalent to parser.ofType(Integer.class), but currently it fails because Reflection doesn't handle autoboxing.
Generics specification makes int.class and Integer.class equivalent for generic purposes (i.e. parser.ofType(int.class) is of type ArgumentAcceptingOptionSpec.