public void addImport(String qualifiedName)
public void addImport(String packageName, String shortName)
    public void addImport(String qualifiedName)    {      int firstBracket = qualifiedName.indexOf("[");      if (firstBracket != -1) qualifiedName = qualifiedName.substring(0, firstBracket);      int lastDot = qualifiedName.lastIndexOf(".");      String shortName = qualifiedName.substring(lastDot + 1);      int firstDollar = shortName.indexOf("$");      if (firstDollar != -1)       {        shortName = shortName.substring(0, firstDollar);      }      String packageName = lastDot == -1 ? null : qualifiedName.substring(0, lastDot);      basicAdd(packageName, shortName, qualifiedName);    }