@Nullable
@Override
public String getLookupTailText() {
GoLiteralString importPathLiteral = getImportPath();
GoPackage goPackage = getPackage();
if (importPathLiteral == null)
return null;
if (goPackage != null)
return String.format(" (%s:%s)", goPackage.getName(), importPathLiteral.getValue());
// TODO: decide if we want to include invalid import statements here
return String.format(" (<invalid>:%s)", importPathLiteral.getValue());
}