How I can make method public static void main?
Answered
How I can make a method with some annotation runnable (public static void)? Like a `@Test` annotation, which Idea allows to run directly
Please sign in to leave a comment.
By making a method, you mean adding a new method programmatically using PSI? If so, please refer to Modifying the PSI section in our docs.