mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
EA-21213 - IAE: PsiArrayType.<init>
This commit is contained in:
+1
-1
@@ -100,7 +100,7 @@ public class GrParameterImpl extends GrVariableImpl implements GrParameter {
|
||||
@Override
|
||||
public PsiType getDeclaredType() {
|
||||
final PsiType type = super.getDeclaredType();
|
||||
if (isVarArgs()) {
|
||||
if (type != null && isVarArgs()) {
|
||||
return new PsiEllipsisType(type);
|
||||
}
|
||||
return type;
|
||||
|
||||
Reference in New Issue
Block a user