bee

bee.task

FindMain.Search

Internal singleton service responsible for scanning project classes to find potential main, premain, and agentmain classes.

This class is managed by Kiss DI as a singleton. Upon first instantiation, its constructor walks through all compiled class files of the current project, parses them using the Class-File API, and checks methods for the specific signatures and modifiers required for each entry point type. The fully qualified names of the classes containing these methods are stored in lists.