net.sourceforge.pmd.jedit.PMDJEditPlugin.check(buffer, view);
net.sourceforge.pmd.jedit.PMDJEditPlugin.displayPreferencesDialog(view);