Searched refs:exampleType (Results 1 - 1 of 1) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/invoke/util/
H A DWrapper.java360 public <T> Class<T> wrapperType(Class<T> exampleType) { argument
361 if (exampleType == wrapperType) {
362 return exampleType;
363 } else if (exampleType == primitiveType ||
365 exampleType.isInterface()) {
366 return forceType(wrapperType, exampleType);
368 throw newClassCastException(exampleType, primitiveType);
498 static <T> Class<T> forceType(Class<?> type, Class<T> exampleType) { argument
499 boolean z = (type == exampleType ||
500 type.isPrimitive() && forPrimitiveType(type) == findWrapperType(exampleType) ||
[all...]

Completed in 31 milliseconds