PsiElement () { final PsiTypeElement[] elements = new PsiTypeElement[myTypeElements.length]; for (int i = 0; i < myTypeElements.length; i++) { PsiTypeElement typeElement = myTypeElements[i]; elements[i] = (PsiTypeElement) typeElement.copy(); } return new LightReferenceParameterList(myManager, elements); }