Lines Matching refs:Wrapper
28 public enum Wrapper {
53 private Wrapper(Class<?> wtype, Class<?> ptype, char tchar, Object zero, Object emptyArray, int format) {
142 public boolean isConvertibleFrom(Wrapper source) {
167 for (Wrapper w : values()) {
187 for (Wrapper x : values()) {
201 for (Wrapper x : values()) {
234 // public static Wrapper valueOf(Class<?> type) {
246 public static Wrapper forPrimitiveType(Class<?> type) {
247 Wrapper w = findPrimitiveType(type);
254 static Wrapper findPrimitiveType(Class<?> type) {
255 Wrapper w = FROM_PRIM[hashPrim(type)];
268 public static Wrapper forWrapperType(Class<?> type) {
269 Wrapper w = findWrapperType(type);
271 for (Wrapper x : values())
277 static Wrapper findWrapperType(Class<?> type) {
278 Wrapper w = FROM_WRAP[hashWrap(type)];
289 public static Wrapper forBasicType(char type) {
290 Wrapper w = FROM_CHAR[hashChar(type)];
294 for (Wrapper x : values())
303 public static Wrapper forBasicType(Class<?> type) {
315 private static final Wrapper[] FROM_PRIM = new Wrapper[16];
316 private static final Wrapper[] FROM_WRAP = new Wrapper[16];
317 private static final Wrapper[] FROM_CHAR = new Wrapper[16];
333 for (Wrapper w : values()) {
389 Wrapper w = findWrapperType(type);
433 // return Wrapper.valueOf(type).cast(x, type);
478 Wrapper source = findWrapperType(sourceType);