IncompletePropertyInspection (PsiElement element) { final InspectionProjectProfileManager profileManager = InspectionProjectProfileManager.getInstance(element.getProject()); InspectionProfile inspectionProfile = profileManager.getCurrentProfile(); return (IncompletePropertyInspection) inspectionProfile.getUnwrappedTool(TOOL_KEY, element); }