I am a novice in Java. I have been given the task to design a list of APIs to be used by a GUI to communicate with an application. Considering that the application has just been designed and I have its initial class diagram, should I:
1- Just list the fields and methods from this application class diagram that will be needed by the GUI to communicate with the application
or
2- Create a list of completely new fields and methods needed by the GUI to communicate with the application which the application developer should create
Thanks in advance!!!