File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed
Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -400,7 +400,7 @@ private string stubAccessibility(Member m) {
400400 if
401401 m .getDeclaringType ( ) instanceof Interface
402402 or
403- exists ( m . ( Virtualizable ) . getExplicitlyImplementedInterface ( ) )
403+ exists ( getSingleSpecificImplementedInterface ( m ) )
404404 or
405405 m instanceof Constructor and m .isStatic ( )
406406 then result = ""
@@ -713,9 +713,13 @@ private string stubEventAccessors(Event e) {
713713 else result = ";"
714714}
715715
716+ private Interface getSingleSpecificImplementedInterface ( Member c ) {
717+ result = unique( Interface i | i = c .( Virtualizable ) .getExplicitlyImplementedInterface ( ) )
718+ }
719+
716720private string stubExplicitImplementation ( Member c ) {
717- if exists ( c . ( Virtualizable ) . getExplicitlyImplementedInterface ( ) )
718- then result = stubClassName ( c . ( Virtualizable ) . getExplicitlyImplementedInterface ( ) ) + "."
721+ if exists ( getSingleSpecificImplementedInterface ( c ) )
722+ then result = stubClassName ( getSingleSpecificImplementedInterface ( c ) ) + "."
719723 else result = ""
720724}
721725
You can’t perform that action at this time.
0 commit comments