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) {
400
400
if
401
401
m .getDeclaringType ( ) instanceof Interface
402
402
or
403
- exists ( m . ( Virtualizable ) . getExplicitlyImplementedInterface ( ) )
403
+ exists ( getSingleSpecificImplementedInterface ( m ) )
404
404
or
405
405
m instanceof Constructor and m .isStatic ( )
406
406
then result = ""
@@ -713,9 +713,13 @@ private string stubEventAccessors(Event e) {
713
713
else result = ";"
714
714
}
715
715
716
+ private Interface getSingleSpecificImplementedInterface ( Member c ) {
717
+ result = unique( Interface i | i = c .( Virtualizable ) .getExplicitlyImplementedInterface ( ) )
718
+ }
719
+
716
720
private 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 ) ) + "."
719
723
else result = ""
720
724
}
721
725
You can’t perform that action at this time.
0 commit comments