Stack<QualifiedAllocationExpression> anonymousConstructorCall = new Stack<>();
- private boolean hadErrors = false;
-
- public boolean hadErrors() {
- return hadErrors;
- }
-
public TranslationCollectingVisitor(CompilationUnitDeclaration unit, TaintSource[] target, TranslationCollector c) {
this.unit = unit;
ts = target;
System.err.println("Cannot Handle: " + e + " in " + (call == null ? "constructor" : call.sourceStart) + " => " + caller);
System.err.println(e.getClass());
System.err.println("To ignore: " + (b == null ? "don't know" : b.toConfLine()));
- hadErrors = true;
+ translationCollector.hadError();
}
private void testEnum(Expression e, MethodBinding binding) {