public class SimpleTypeInstanceFactory
extends java.lang.Object
Some simple type does not have default constructor, e.g. Integer etc. Let’s put their factory method here.
Note only Immutable simple type supported
Constructor and Description |
---|
SimpleTypeInstanceFactory() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isSimpleType(java.lang.reflect.Type type) |
static <T> T |
newInstance(java.lang.Class<T> c) |
Copyright © 2014–2017 ActFramework. All rights reserved.