[Code Samples Inspection] Java > Probable bugs > Nullability problems

This commit is contained in:
Jakub Chrzanowski 2020-04-16 12:05:14 +02:00
parent 29962a4e05
commit fb16e8e6f0

View File

@ -5,15 +5,16 @@ package org.intellij.sdk.inspection;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiElementVisitor;
import com.intellij.psi.PsiPlainTextFile;
import org.jetbrains.annotations.NotNull;
public class DemoInspectionVisitor extends PsiElementVisitor {
@Override
public void visitElement(PsiElement element) {
public void visitElement(@NotNull PsiElement element) {
super.visitElement(element);
}
@Override
public void visitPlainTextFile(PsiPlainTextFile file) {
public void visitPlainTextFile(@NotNull PsiPlainTextFile file) {
super.visitPlainTextFile(file);
}
}