File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/main/kotlin/platform/mixin/handlers/desugar Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -38,13 +38,13 @@ import com.intellij.util.JavaPsiConstructorUtil
38
38
39
39
object FieldAssignmentDesugarer : Desugarer() {
40
40
override fun desugar (project : Project , file : PsiJavaFile , context : DesugarContext ) {
41
- val staticStatementsToInsertPre = mutableListOf<PsiStatement >()
42
- val staticStatementsToInsertPost = mutableListOf<PsiStatement >()
43
- val nonStaticStatementsToInsert = mutableListOf<PsiStatement >()
44
- var seenStaticInitializer = false
45
41
val factory = JavaPsiFacade .getElementFactory(project)
46
42
47
43
for (aClass in DesugarUtil .allClasses(file)) {
44
+ val staticStatementsToInsertPre = mutableListOf<PsiStatement >()
45
+ val staticStatementsToInsertPost = mutableListOf<PsiStatement >()
46
+ val nonStaticStatementsToInsert = mutableListOf<PsiStatement >()
47
+ var seenStaticInitializer = false
48
48
for (child in aClass.children) {
49
49
when (child) {
50
50
is PsiField -> {
You can’t perform that action at this time.
0 commit comments