PsiType (@NotNull PsiType type, @NotNull List<? extends PsiType> traits) { return createTraitType(ContainerUtil.prepend(traits, type instanceof GrTraitType ? ((GrTraitType)type).myDelegate : type)); }