fix suffix match

This commit is contained in:
Jaroslav Lobačevski
2022-06-02 14:39:39 +03:00
committed by Michael Nebel
parent 56055bd76a
commit 3d281fbb71

View File

@@ -199,7 +199,7 @@ class MicrosoftAspNetCoreMvcController extends Class {
MicrosoftAspNetCoreMvcController() {
(
this.getABaseType*() instanceof MicrosoftAspNetCoreMvcControllerBaseClass or
this.getABaseType*().hasName("%Controller") or
this.getABaseType*().getName().matches("%Controller") or
this.getABaseType*().getAnAttribute() instanceof MicrosoftAspNetCoreMvcControllerAttribute
) and
not this.getABaseType*().getAnAttribute() instanceof