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

生成代码,在调用静态方法的时候,可以优化 #8

Open
wangchaomail opened this issue Nov 6, 2020 · 0 comments
Open

Comments

@wangchaomail
Copy link

对节点使用Java类型的代码调用的时候,获取实例类的方法,存在优化的可能,如果方法是静态的方法,不需要获取实例。
date = ((Date)ObjectFactory.getInstance("java.util.Date")).getDate();
应该为:
date =java.util.Date.getDate();

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

1 participant