/** * Returns the equivalent imported short name for the given qualified name, if there is one, or the qualified name * itself otherwise. Optionally, the qualified name can be automatically imported if possible. * In fact, a parameterized type expression is also allowed, in which case the expression will be parsed to obtain the * individual imported names within it. Then the full expression, with the appropriate substitutions, is returned. * @param qualifiedName the qualified name or parameterized type expression. * @return the equivalent type or type expression, using short names wherever possible. */ public String getImportedName(String qualifiedName) { return getImportedName(qualifiedName, false); }
public String getImportedName(String qualifiedName) { return getImportManager().getImportedName(qualifiedName, true); }
return importManager.getImportedName(qualifiedName);