@NotNull
@Override
public PsiReference[] getReferences(@NotNull HeaderValuePart headerValuePart) {
PsiElement parent = headerValuePart.getParent();
if (parent instanceof Clause) {
<BUG>PsiElement element = headerValuePart.getOriginalElement();

if (isPackageRef(element.getPrevSibling())) {
return getPackageReferences(headerValuePart);</BUG>
}

@NotNull
@Override
public PsiReference[] getReferences(@NotNull HeaderValuePart headerValuePart) {
PsiElement parent = headerValuePart.getParent();
if (parent instanceof Clause) {
PsiElement element = headerValuePart.getOriginalElement().getPrevSibling();
if (!(element instanceof ManifestToken) ||
((ManifestToken)element).getTokenType() != ManifestTokenType.SEMICOLON) {
return getPackageReferences(headerValuePart);
