Uses of Class
net.sourceforge.argparse4j.internal.ArgumentImpl
Packages that use ArgumentImpl
-
Uses of ArgumentImpl in net.sourceforge.argparse4j.internal
Fields in net.sourceforge.argparse4j.internal with type parameters of type ArgumentImplModifier and TypeFieldDescriptionprivate final List
<ArgumentImpl> ArgumentGroupImpl.args_
private final Map
<String, ArgumentImpl> ArgumentParserImpl.namedArgIndex_
private final List
<ArgumentImpl> ArgumentParserImpl.namedArgs_
private final List
<ArgumentImpl> ArgumentParserImpl.posArgs_
Methods in net.sourceforge.argparse4j.internal that return ArgumentImplModifier and TypeMethodDescriptionArgumentImpl.action
(ArgumentAction action) ArgumentGroupImpl.addArgument
(String... nameOrFlags) ArgumentParserImpl.addArgument
(String... nameOrFlags) ArgumentParserImpl.addArgument
(ArgumentGroupImpl group, String... nameOrFlags) final <E> ArgumentImpl
ArgumentImpl.choices
(E... values) <E> ArgumentImpl
ArgumentImpl.choices
(Collection<E> values) ArgumentImpl.choices
(ArgumentChoice choice) ArgumentImpl.help
(FeatureControl ctrl) ArgumentImpl.nargs
(int n) ArgumentImpl.required
(boolean required) private ArgumentImpl
ArgumentParserImpl.resolveNextFlag
(String flag) Returns named argument ArgumentImpl which matches given flag.final <E> ArgumentImpl
ArgumentImpl.setConst
(E... values) final <E> ArgumentImpl
ArgumentImpl.setDefault
(E... values) ArgumentImpl.setDefault
(Object value) ArgumentImpl.setDefault
(FeatureControl ctrl) <T> ArgumentImpl
<T> ArgumentImpl
ArgumentImpl.type
(ArgumentType<T> type) Methods in net.sourceforge.argparse4j.internal that return types with arguments of type ArgumentImplModifier and TypeMethodDescriptionprivate static List
<ArgumentImpl> ArgumentParserImpl.filterSuppressedArgs
(Collection<ArgumentImpl> args) ArgumentGroupImpl.getArgs()
Methods in net.sourceforge.argparse4j.internal with parameters of type ArgumentImplModifier and TypeMethodDescriptionprivate void
ArgumentParserImpl.accumulatePositionalArg
(ParseState state, ArgumentImpl arg) This function accumulates arguments for a given positional argument.private void
ArgumentParserImpl.addArgDefaultIfNotSuppressed
(Map<String, Object> opts, ArgumentImpl arg) private void
ArgumentParserImpl.addArgValue
(Map<String, Object> opts, ArgumentImpl arg, Object value) private void
ArgumentParserImpl.checkMutex
(ArgumentImpl arg, ArgumentImpl[] groupUsed) Check that another option in mutually exclusive group has already been specified.private void
ArgumentParserImpl.checkRequiredMutex
(ParseState state, ArgumentImpl[] used) private String
ArgumentParserImpl.getActualArgumentName
(ArgumentImpl arg) private void
ArgumentParserImpl.processArg
(Map<String, Object> res, ParseState state, ArgumentImpl arg, String flag, String embeddedValue) This function only handles a named argument.Method parameters in net.sourceforge.argparse4j.internal with type arguments of type ArgumentImplModifier and TypeMethodDescriptionprivate boolean
ArgumentParserImpl.checkDefaultGroup
(List<ArgumentImpl> args) private void
ArgumentParserImpl.checkRequiredArgument
(ParseState state, Set<ArgumentImpl> used) private static List
<ArgumentImpl> ArgumentParserImpl.filterSuppressedArgs
(Collection<ArgumentImpl> args) private void
ArgumentParserImpl.printArgumentHelp
(PrintWriter writer, List<ArgumentImpl> args, int format_width)