stubs for annotation parameters

This commit is contained in:
Dmitry Avdeev
2012-08-01 12:25:22 +04:00
parent 97837f18a7
commit 0334898d21
26 changed files with 623 additions and 122 deletions
@@ -36,7 +36,7 @@ public interface PsiNameValuePair extends PsiElement {
ArrayFactory<PsiNameValuePair> ARRAY_FACTORY = new ArrayFactory<PsiNameValuePair>() {
@Override
public PsiNameValuePair[] create(final int count) {
return count == 0 ? PsiNameValuePair.EMPTY_ARRAY : new PsiNameValuePair[count];
return count == 0 ? EMPTY_ARRAY : new PsiNameValuePair[count];
}
};
@@ -56,6 +56,9 @@ public interface PsiNameValuePair extends PsiElement {
@Nullable @NonNls
String getName();
@Nullable
String getLiteralValue();
/**
* Returns the value for the element.
*