184 if(methodDef == MethodDef.METHOD7 || methodDef == MethodDef.METHOD8)//method signature mismatch |
184 if(methodDef == MethodDef.METHOD7 || methodDef == MethodDef.METHOD8)//method signature mismatch |
185 return false; |
185 return false; |
186 if(context != Context.CONSTRUCTOR && fInterface != FInterface.C && methodDef == MethodDef.METHOD6) |
186 if(context != Context.CONSTRUCTOR && fInterface != FInterface.C && methodDef == MethodDef.METHOD6) |
187 //method that throws exceptions not thrown by the interface method is a mismatch |
187 //method that throws exceptions not thrown by the interface method is a mismatch |
188 return false; |
188 return false; |
189 if(context == Context.CONSTRUCTOR && |
189 if(context == Context.CONSTRUCTOR) |
190 methodReference != MethodReference.METHOD1 && |
|
191 methodReference != MethodReference.METHOD2 && |
|
192 methodReference != MethodReference.METHOD3)//ambiguous reference |
|
193 return false; |
190 return false; |
194 return true; |
191 return true; |
195 } |
192 } |
196 |
193 |
197 void test() throws Exception { |
194 void test() throws Exception { |