public <T extends PsiElement> T getElement(@NotNull Class<T> aClass) {
    return setResult(aClass.isInstance(myElement)) ? aClass.cast(myElement) : null;
  }
public <T extends PsiElement> T getElement(@NotNull Class<T> aClass)