final boolean is_1_5 = jdk.getVersionString().indexOf("1.5") > 0;
return !(DaemonCodeAnalyzerSettings.getInstance().SUPPRESS_WARNINGS && is_1_5 && LanguageLevel.JDK_1_5.compareTo(myContext.getManager().getEffectiveLanguageLevel()) <= 0) &&
myContext.isValid() && myContext.getManager().isInProject(myContext) && getContainer() != null;
}
public void invoke(Project project, Editor editor, PsiFile file) throws IncorrectOperationException {
<BUG>PsiDocCommentOwner container = getContainer();
ReadonlyStatusHandler.getInstance(project).ensureFilesWritable(new VirtualFile[] {container.getContainingFile().getVirtualFile()});
PsiDocComment docComment = container.getDocComment();</BUG>
PsiManager manager = myContext.getManager();
if (docComment == null) {

final boolean is_1_5 = jdk.getVersionString().indexOf("1.5") > 0;
return !(DaemonCodeAnalyzerSettings.getInstance().SUPPRESS_WARNINGS && is_1_5 && LanguageLevel.JDK_1_5.compareTo(myContext.getManager().getEffectiveLanguageLevel()) <= 0) &&
myContext.isValid() && myContext.getManager().isInProject(myContext) && getContainer() != null;
}
public void invoke(Project project, Editor editor, PsiFile file) throws IncorrectOperationException {
PsiDocCommentOwner container = getContainer();
final ReadonlyStatusHandler.OperationStatus status = ReadonlyStatusHandler.getInstance(project)
.ensureFilesWritable(new VirtualFile[]{container.getContainingFile().getVirtualFile()});
if (status.hasReadonlyFiles()) return;
PsiDocComment docComment = container.getDocComment();
PsiManager manager = myContext.getManager();
if (docComment == null) {
