File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/main/kotlin/com/demonwav/mcdev/platform/mixin/inspection Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change 1010
1111package com.demonwav.mcdev.platform.mixin.inspection
1212
13+ import com.demonwav.mcdev.platform.mixin.util.MixinConstants.Annotations.ACCESSOR
1314import com.demonwav.mcdev.platform.mixin.util.MixinConstants.Annotations.OVERWRITE
1415import com.demonwav.mcdev.platform.mixin.util.MixinConstants.Annotations.SHADOW
1516import com.demonwav.mcdev.platform.mixin.util.isMixin
@@ -58,6 +59,7 @@ class StaticMemberInspection : MixinInspection() {
5859 && modifiers.hasModifierProperty(PsiModifier .STATIC )
5960 && modifiers.findAnnotation(SHADOW ) == null
6061 && modifiers.findAnnotation(OVERWRITE ) == null
62+ && modifiers.findAnnotation(ACCESSOR ) == null
6163 }
6264 }
6365}
You can’t perform that action at this time.
0 commit comments