Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow static methods without params to be executed #78

Open
sirolf2009 opened this issue Oct 9, 2018 · 1 comment
Open

Allow static methods without params to be executed #78

sirolf2009 opened this issue Oct 9, 2018 · 1 comment

Comments

@sirolf2009
Copy link

I quite often leave static methods to analyze something related to the class. Normally when I want to execute one, I need to write a main method to actually trigger it. It would be nice if I could trigger them like the main methods.
Example:

public class Database {

	public Location getLocation();
	public static void printLocationQueryTime();

	public Graph<Location> buildLocationTree();
	public static printBuildLocationTreeQueryTime();
}
@angelozerr
Copy link
Owner

To be honnest with you, I find it's a too specific case. But if there are several people who want to have this feature, I could try to implement it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants