Home
last modified time | relevance | path

Searched refs:converterClass (Results 1 – 10 of 10) sorted by relevance

/external/desugar/java/com/google/devtools/common/options/testing/
DConverterTester.java33 private final Class<? extends Converter<?>> converterClass; field in ConverterTester
39 public ConverterTester(Class<? extends Converter<?>> converterClass) { in ConverterTester() argument
40 this.converterClass = converterClass; in ConverterTester()
46 return converterClass.getDeclaredConstructor().newInstance(); in createConverter()
54 return converterClass; in getConverterClass()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/
DDatabindContext.java362 Class<?> converterClass = (Class<?>)converterDef; in converterInstance() local
364 if (converterClass == Converter.None.class || ClassUtil.isBogusClass(converterClass)) { in converterInstance()
367 if (!Converter.class.isAssignableFrom(converterClass)) { in converterInstance()
369 +converterClass.getName()+"; expected Class<Converter>"); in converterInstance()
373 …onverter<?,?> conv = (hi == null) ? null : hi.converterInstance(config, annotated, converterClass); in converterInstance()
375 conv = (Converter<?,?>) ClassUtil.createInstance(converterClass, in converterInstance()
/external/jackson-databind/src/main/java/com/fasterxml/jackson/databind/introspect/
DBasicBeanDescription.java735 Class<?> converterClass = (Class<?>)converterDef; in _createConverter() local
737 if (converterClass == Converter.None.class || ClassUtil.isBogusClass(converterClass)) { in _createConverter()
740 if (!Converter.class.isAssignableFrom(converterClass)) { in _createConverter()
742 +converterClass.getName()+"; expected Class<Converter>"); in _createConverter()
745 …verter<?,?> conv = (hi == null) ? null : hi.converterInstance(_config, _classInfo, converterClass); in _createConverter()
747 conv = (Converter<?,?>) ClassUtil.createInstance(converterClass, in _createConverter()
/external/desugar/java/com/google/devtools/common/options/
DOptionDefinition.java222 Class<? extends Converter> converterClass = getProvidedConverter(); in getConverter() local
223 if (converterClass == Converter.class) { in getConverter()
230 Constructor<?> constructor = converterClass.getConstructor(); in getConverter()
/external/desugar/java/com/google/devtools/common/options/processor/
DOptionProcessor.java111 Class<?> converterClass = entry.getKey(); in init() local
112 String typeName = converterClass.getCanonicalName(); in init()
118 if (!primitiveTypeMap.containsKey(converterClass)) { in init()
127 PrimitiveType primitiveType = primitiveTypeMap.get(converterClass); in init()
/external/jcommander/src/main/java/com/beust/jcommander/
DJCommander.java1346 …final Class<? extends IStringConverter<?>> converterClass = converterFactory.getConverter(forType); in addConverterFactory()
1351 … return converterClass != null ? instantiateConverter(optionName, converterClass) : null; in addConverterFactory()
1423 private static <T> T tryInstantiateConverter(String optionName, Class<T> converterClass) { in tryInstantiateConverter() argument
1424 if (converterClass == NoConverter.class || converterClass == null) { in tryInstantiateConverter()
1428 return instantiateConverter(optionName, converterClass); in tryInstantiateConverter()
1434 private static <T> T instantiateConverter(String optionName, Class<? extends T> converterClass) in instantiateConverter() argument
1439 for (Constructor<T> c : (Constructor<T>[]) converterClass.getDeclaredConstructors()) { in instantiateConverter()
/external/sl4a/Common/src/com/googlecode/android_scripting/rpc/
DMethodDescriptor.java506 Class<? extends Converter> converterClass) { in converterFor() argument
507 if (converterClass == Converter.class) { in converterFor()
516 Constructor<?> constructor = converterClass.getConstructor(new Class<?>[0]); in converterFor()
520 + converterClass.getCanonicalName()); in converterFor()
/external/junit-params/src/main/java/junitparams/internal/
DInvokeParameterisedMethod.java160 … Class<? extends ParamConverter<?>> converterClass = ((ConvertParam) annotation).value(); in castParameterUsingConverter() local
163 return converterClass.newInstance().convert(param, options); in castParameterUsingConverter()
/external/fonttools/Lib/fontTools/ttLib/tables/
DotConverters.py39 converterClass = ValueFormat
41 converterClass = {
47 converterClass = SubTable
49 converterClass = ExtSubTable
51 converterClass = SubStruct
53 converterClass = FeatureParams
55 converterClass = StructWithLength
59 converterClass = Struct
61 converterClass = eval(tp, tableNamespace, converterMapping)
63 conv = converterClass(name, repeat, aux)
/external/jcommander/doc/
Dindex.adoc325 You can now use the type `HostPort` as a parameter without any converterClass attribute: