/** * If {@code type} is a primitive type, returns the boxed equivalent; otherwise returns * {@code type}. */ private static TypeMirror boxedType(TypeMirror type, Types types) { return type.getKind().isPrimitive() ? types.boxedClass(MoreTypes.asPrimitiveType(type)).asType() : type; }
packageName = ""; enclosingNames = ""; simpleName = asPrimitiveType(type).toString(); typeArguments = emptyList(); array = false;