void (@NotNull PsiVariable variable) { super.visitVariable(variable); final PsiType type = variable.getType(); final String typeString = type.getCanonicalText(); if (!"java.lang.ProcessBuilder".equals(typeString)) { return; } final PsiTypeElement typeElement = variable.getTypeElement(); if (typeElement == null) { return; } registerError(typeElement); }