public final class StandardJavaTranslator extends Object
PrimitiveTranslator| Modifier and Type | Method and Description |
|---|---|
static StandardJavaTranslator |
instance() |
boolean |
isPrimitiveOrBoxed(Class<?> targetType) |
boolean |
isPrimitiveOrBoxedFloatType(Class<?> targetType) |
boolean |
isPrimitiveOrBoxedIntegerType(Class<?> targetType) |
Class<?> |
switchPrimitiveAndBoxedType(Class<?> type) |
Object |
translateEnum(Object sourceValue,
Class<?> returnType,
boolean strict) |
Object |
translatePrimitive(Object source,
Class<?> returnType,
boolean strict) |
public static StandardJavaTranslator instance()
public boolean isPrimitiveOrBoxed(Class<?> targetType)
public boolean isPrimitiveOrBoxedIntegerType(Class<?> targetType)
public boolean isPrimitiveOrBoxedFloatType(Class<?> targetType)
public Object translatePrimitive(Object source, Class<?> returnType, boolean strict)
Copyright © 2015 Boleslav Bobcik - Auderis. All rights reserved.