/** * Gets the class name for a given id. * * @param id the simple class name or full class name. * @return the full class name or the original id if one could not be found. * @throws IllegalArgumentException if there are multiple classes with the same id. */ public static String getClassName(final String id) { return getClassName(id, null); }
/** * Gets the class name for a given id. * * @param id the simple class name or full class name. * @return the full class name or the original id if one could not be found. * @throws IllegalArgumentException if there are multiple classes with the same id. */ public static String getClassName(final String id) { return SimpleClassNameCache.getClassName(id); }
/** * Gets the class name for a given id. * * @param id the simple class name or full class name. * @param baseType the base type of the ID - used to help resolve conflicting IDs * @return the full class name or the original id if one could not be found. * @throws IllegalArgumentException if there are multiple classes with the same id. */ public static String getClassName(final String id, final JavaType baseType) { return SimpleClassNameCache.getClassName(id, baseType); }