Exemple #1
0
 public IProblemRequestor getContainerContextTopLevelProblemRequestor(
     IFile file,
     String functionPartName,
     String containerContextName,
     IPath containerContextPath,
     boolean containerContextDependent) {
   if (!this.file.equals(file)) {
     return NullProblemRequestor.getInstance();
   }
   topLevelProblemRequestor.setContainerContextDependent(containerContextDependent);
   topLevelProblemRequestor.setReportContextErrors(true);
   ((AccumulatingDynamicProblemRequestor) topLevelProblemRequestor.getRequestor())
       .setContainerContextName(containerContextName);
   return topLevelProblemRequestor;
 }
Exemple #2
0
 public IProblemRequestor getGenericTopLevelFunctionProblemRequestor(
     IFile file, String partName, boolean containerContextDependent) {
   topLevelProblemRequestor.setContainerContextDependent(containerContextDependent);
   topLevelProblemRequestor.setReportContextErrors(false);
   return topLevelProblemRequestor;
 }