Exemplo n.º 1
0
 ProblemReporter problemReporter(MethodBinding currentMethod) {
   ProblemReporter reporter = problemReporter();
   if (currentMethod.declaringClass
       == type) // only report against the currentMethod if its implemented by the type
   reporter.referenceContext = currentMethod.sourceMethod();
   return reporter;
 }