private String getConfigPropertyType(final javax.resource.spi.ConfigProperty annotation, final Class<?> type) { Class<?> t = annotation == null ? null : annotation.type(); if (t == null && type != null) { return type.getName(); } else if (t == null) { return null; } if (t.equals(Object.class)) { t = type; } if (t == null) { // t == null && type == null return null; } if (t.isPrimitive()) { t = getWrapper(t.getName()); } return t.getName(); }
private String getConfigPropertyType(final javax.resource.spi.ConfigProperty annotation, final Class<?> type) { Class<?> t = annotation == null ? null : annotation.type(); if (t == null && type != null) { return type.getName(); } else if (t == null) { return null; } if (t.equals(Object.class)) { t = type; } if (t == null) { // t == null && type == null return null; } if (t.isPrimitive()) { t = getWrapper(t.getName()); } return t.getName(); }
type = getWrapper(type.getName());
type = getWrapper(type.getName());