File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
javascript/frameworks/ui5/lib/advanced_security/javascript/frameworks/ui5 Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -286,7 +286,8 @@ class Renderer extends SapExtendCall {
286286class CustomControl extends SapExtendCall {
287287 CustomControl ( ) {
288288 this .getReceiver ( ) .getALocalSource ( ) =
289- TypeTrackers:: hasDependency ( [ "sap/ui/core/Control" , "sap.ui.core.Control" ] ) .getAMemberCall ( "extend" ) or
289+ TypeTrackers:: hasDependency ( [ "sap/ui/core/Control" , "sap.ui.core.Control" ] )
290+ .getAMemberCall ( "extend" ) or
290291 exists ( CustomControl superControl |
291292 superControl .getDefine ( ) = this .getDefine ( ) .getSuperModule ( _)
292293 )
@@ -494,7 +495,7 @@ class CustomController extends SapExtendCall {
494495 (
495496 this .getReceiver ( ) .getALocalSource ( ) =
496497 TypeTrackers:: hasDependency ( [ "sap/ui/core/mvc/Controller" , "sap.ui.core.mvc.Controller" ] )
497- .getAMemberCall ( "extend" )
498+ .getAMemberCall ( "extend" )
498499 or
499500 exists ( CustomController superController |
500501 superController .getDefine ( ) = this .getDefine ( ) .getSuperModule ( _)
@@ -894,7 +895,8 @@ module ManifestJson {
894895 * Gets the view this target is associated with.
895896 */
896897 UI5View getView ( ) {
897- result .getName ( ) = getSubstringAfterLastOccurrenceOfCharacter ( this .getViewName ( ) , "/" )
898+ result .getControllerName ( ) =
899+ getSubstringAfterLastOccurrenceOfCharacter ( this .getViewName ( ) , "/" )
898900 }
899901
900902 /**
You can’t perform that action at this time.
0 commit comments