1

I am using java tree builder and JavaCC to make my own coding language. However, my eclipse is unhappy with the generated jtb code having @Override is this sence:

@Override
public <R, A> R accept(final IRetArguVisitor<R, A> vis, final A argu) {
  return vis.visit(this, argu);
}

The error says

Multiple markers at this line

  • The method accept(IRetArguVisitor, A) of type

    AdditiveExpression must override a superclass method

  • implements EMSL.syntaxtree.INode.accept

Should I delete all the @Override Methods or what should I do to fix these errors? (And yes, all the errors have to do with the override)

Ian S.
  • 1,831
  • 9
  • 17

0 Answers0