Type-safe version of KeywordOption
Asked by
Alexey Stukalov
Hi
I'm working on a new version of bzr4idea plugin. While working with bzr-java-lib, an idea came to me, that a type-safe version of KeywordOption may be of some use, i.e:
/**
* @param <Type> type of option argument
*/
public class KeywordTypesafe
...
}
It could be used, then, for example, in I[Cmd]Options options:
public static final KeywordTypesafe
This would simplify client-calling code a bit and would provide some basic compile-time checks.
What do you think?
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Alexey Stukalov for more information if necessary.
To post a message you must log in.