Announcement Announcement Module
Collapse
No announcement yet.
Reverse lookup in Dao for the methods from its DaoImpl Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Reverse lookup in Dao for the methods from its DaoImpl

    Hello,

    If Dao defines a method, its DaoImpl must implement it; otherwise STS will show an error. However DaoImpl could have some extra methods that are not present in its Dao.

    Is there any reverse lookup in STS to check which methods from DaoImpl are present in the corresponding Dao and which are not?

    Regards,
    Paresh
    PS: I'm using SpringSource Tool Suite 2.7.1.RELEASE on a Mac OS X 10.6.8.

  • #2
    Hey Paresh!

    We don't have additional analysis tools for this kind of things, but the basic Eclipse Java tooling already provides some nice features that might help you.
    As long as there is a interface-implementation-relationship between these two, the tooling will show you which methods in the implementation are implementing something from the interface and which are not. In addition to that you could use the @Override annotation with Java6 to make sure that your methods in the implementation are really implementing something from the interface.

    HTH,
    Martin

    Comment


    • #3
      Thanks Martin!

      Comment

      Working...
      X