PsiMethod (@Nullable PsiMethod originalConstructor) { if (originalConstructor == null) return null; PsiMethod methodToUseInstead = originalConstructor.getUserData(LightMethodObjectExtractedData.REFERENCE_METHOD); return methodToUseInstead == null ? originalConstructor : methodToUseInstead; }