We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4fff78e commit f281585Copy full SHA for f281585
src/main/kotlin/com/github/shiraji/permissionsdispatcherplugin/actions/AddDelegationMethod.kt
@@ -50,7 +50,7 @@ class AddDelegationMethod : CodeInsightAction() {
50
51
runWriteAction {
52
val factory = JavaPsiFacade.getElementFactory(project)
53
- val newExpression = factory.createStatementFromText("${clazz.name}PermissionsDispatcher.${methodName}WithCheck(this);", element)
+ val newExpression = factory.createStatementFromText("${clazz.name}PermissionsDispatcher.${methodName}WithPermissionCheck(this);", element)
54
element?.parent?.addAfter(newExpression, element)
55
}
56
0 commit comments