PsiParameterList () { PsiParameterList list = getStubOrPsiChild(JavaStubElementTypes.PARAMETER_LIST); if (list == null) { return CachedValuesManager.getCachedValue(this, () -> { LightParameterListBuilder lightList = new LightParameterListBuilder(getManager(), getLanguage()) { @Override public String getText() { return null; } }; PsiClass aClass = getContainingClass(); if (aClass != null) { PsiRecordComponent[] recordComponents = aClass.getRecordComponents(); for (PsiRecordComponent component : recordComponents) { String name = component.getName(); lightList.addParameter(new LightCompactConstructorParameter(name, component.getType(), this, component)); } } return CachedValueProvider.Result.create(lightList, this, PsiModificationTracker.MODIFICATION_COUNT); }); } return list; }