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

方法的形参始终会被设置为final #64

Open
w1036460519 opened this issue Oct 24, 2022 · 1 comment
Open

方法的形参始终会被设置为final #64

w1036460519 opened this issue Oct 24, 2022 · 1 comment

Comments

@w1036460519
Copy link

com.strobel.decompiler.languages.java.ast.AstBuilder#createParameters
image
这里没有设置modify。
com.strobel.decompiler.languages.java.ast.transforms.DeclareVariablesTransform#run(com.strobel.decompiler.languages.java.ast.AstNode, com.strobel.decompiler.languages.java.ast.DefiniteAssignmentAnalysis)
image
此处没有设置modify,然后又被设置了final。无论设置modify还是没有设置modify都会变成final修饰。此处不够自定义。

@its-Hans
Copy link

请使用英文在不是中国人的作者这里提issue

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