// Constructor injection.
if (methodElement.isConstructor() && PsiConsultantImpl.hasAnnotation(element, CLASS_INJECT)) {
PsiIdentifier nameIdentifier = methodElement.getNameIdentifier();
if (nameIdentifier != null) {
return new LineMarkerInfo<PsiElement>(element, nameIdentifier.getTextRange(), ICON,
UPDATE_ALL, null, new ConstructorInjectToProvidesHandler(), LEFT);
}
}
// Not a method, is it a Field?
} else if (element instanceof PsiField) {