@Override
  public boolean canPutAt(@NotNull VirtualFile file, int line, @NotNull Project project) {
    return canPutAtElement(file, line, project, (element, document) -> element instanceof PsiMethod);
  }
@Override
  public boolean canPutAt(@NotNull VirtualFile file, int line, @NotNull Project project)