void (@NotNull PsiRecordComponent recordComponent) { if (myType1 == JavaElementType.TYPE && myType2 == JavaTokenType.IDENTIFIER) { createSpaceInCode(true); } else if (myType1 == JavaElementType.MODIFIER_LIST && myType2 == JavaElementType.TYPE) { createSpaceInCode(true); } }