Home
last modified time | relevance | path

Searched refs:validateWith (Results 1 – 17 of 17) sorted by relevance

/external/jcommander/src/test/java/com/beust/jcommander/
DPositiveIntegerTest.java12 …@Parameter(names = { "-p", "--port" }, description = "Shows help", validateWith = PositiveInteger.… in validateTest()
24 …@Parameter(names = { "-p", "--port" }, description = "Shows help", validateWith = PositiveInteger.… in validateTest2()
35 …@Parameter(names = { "-p", "--port" }, description = "Shows help", validateWith = PositiveInteger.… in validateTest3()
46 …@Parameter(names = { "-p", "--port" }, description = "Port Number", validateWith = PositiveInteger… in validateTest4()
57 …@Parameter(names = { "-p", "--port" }, description = "Port Number", validateWith = PositiveInteger… in validateTest5()
DMyClass.java9 @Parameter(names = { "-p", "--param" }, validateWith = MyValidator.class)
DValidatePropertiesWhenParsingTest.java34 @Parameter(names = "-path", validateWith = MyPathValidator.class)
DJCommanderTest.java823 @Parameter(validateWith = V.class) in mainParameterShouldBeValidate()
1153 @Parameter(names = {"-h", "--host"}, validateWith = V2.class) in validator2()
/external/jcommander/src/main/java/com/beust/jcommander/
DWrappedParameter.java54 public Class<? extends IParameterValidator>[] validateWith() { in validateWith() method in WrappedParameter
55 return parameter != null ? parameter.validateWith() : dynamicParameter.validateWith(); in validateWith()
DDynamicParameter.java42 Class<? extends IParameterValidator>[] validateWith() default NoValidator.class; in validateWith() method
DParameter.java93 Class<? extends IParameterValidator>[] validateWith() default NoValidator.class; in validateWith() method
DParameterDescription.java330 final Class<? extends IParameterValidator> validators[] = wrappedParameter.validateWith(); in validateParameter()
DJCommander.java719 …r(final Class<? extends IParameterValidator> validator : mainParameterAnnotation.validateWith() ) { in parseValues()
/external/junit/src/main/java/org/junit/validator/
DAnnotationsValidator.java65 ValidateWith validateWith = annotationType in validateAnnotatable() local
67 if (validateWith != null) { in validateAnnotatable()
69 .createAnnotationValidator(validateWith); in validateAnnotatable()
/external/jcommander/src/test/java/com/beust/jcommander/args/
DArgsValidate1.java8 @Parameter(names = "-age", validateWith = PositiveInteger.class)
DArgsMultiValidate.java33 validateWith = {PositiveInteger.class,OddIntegerParameterValidator.class},
/external/smali/smali/src/main/java/org/jf/smali/
DAssembleCommand.java58 validateWith = PositiveInteger.class)
/external/google-smali/smali/src/main/java/com/android/tools/smali/smali/
DAssembleCommand.java57 validateWith = PositiveInteger.class)
/external/google-smali/baksmali/src/main/java/com/android/tools/smali/baksmali/
DDisassembleCommand.java87 validateWith = PositiveInteger.class)
/external/smali/baksmali/src/main/java/org/jf/baksmali/
DDisassembleCommand.java88 validateWith = PositiveInteger.class)
/external/jcommander/doc/
Dindex.adoc484 Specify the name of a class implementing this interface in the `validateWith` attribute of your `@P…
488 @Parameter(names = "-age", validateWith = PositiveInteger.class)
498 @Parameter(names = "-count", validateWith = { PositiveInteger.class, CustomOddNumberValidator.class…