Home Help Center

Can slice2java generate @override annotations

myrosiamyrosia Member Myroslava DzikovskaOrganization: University of EdinburghProject: tutorial dialogue system ✭✭
We do a lot of our development in Java, with warnings enabled to keep our code clean. Unfortunately, loading code generated with slice2java into Eclipse generates over 1000 warnings along those lines:

Description Resource Path Location Type
The method __read(InputStream, boolean) of type _PrinterDisp should be tagged with @Override since it actually overrides a superclass method _PrinterDisp.java /Beetle trunk/ice-generated-java/BeetleIceTest line 243 Java Problem

Is there a way to make slice2java generate @override annotations to deal with this?

Thanks,

Myrosia

Comments

  • mesmes CaliforniaAdministrators, ZeroC Staff Mark SpruiellOrganization: ZeroC, Inc.Project: Ice Developer ZeroC Staff
    Hi,

    slice2java is not currently able to generate those annotations. We'll consider fixing this in a future release.

    Regards,
    Mark
Sign In or Register to comment.