if (method == null || !method.isValid()) return false;
setText(getIntentionName(method));
if (!method.getManager().isInProject(method)) return false;
PsiClass containingClass = method.getContainingClass();
if (containingClass == null) return false;
<BUG>if (method.hasModifierProperty(PsiModifier.ABSTRACT)) {
MyElementProcessor processor = new MyElementProcessor(method);</BUG>
if (containingClass.isEnum()) {
for (PsiField field : containingClass.getFields()) {
if (field instanceof PsiEnumConstant) {

if (method == null || !method.isValid()) return false;
setText(getIntentionName(method));
if (!method.getManager().isInProject(method)) return false;
PsiClass containingClass = method.getContainingClass();
if (containingClass == null) return false;
if (method.hasModifierProperty(PsiModifier.ABSTRACT) || !method.hasModifierProperty(PsiModifier.PRIVATE)) {
MyElementProcessor processor = new MyElementProcessor(method);
if (containingClass.isEnum()) {
for (PsiField field : containingClass.getFields()) {
if (field instanceof PsiEnumConstant) {
