protected void assertExpected(String expectedExpectedType, XExpression obj) { LightweightTypeReference reference = get(IBatchTypeResolver.class).resolveTypes(obj).getExpectedType(obj); if (reference == null) assertNull("expected " + expectedExpectedType + " for " + obj + " but was null", expectedExpectedType); else assertEquals(String.format("expression '%s' yielded unexpected type.", obj), expectedExpectedType, reference.getIdentifier()); }
protected IBatchTypeResolver getTypeResolver() { return typeResolver; }
private IBatchTypeResolver getTypeResolver() { return typeResolver; }
@Override public IBatchTypeResolver getTypeResolver() { return this.typeResolver; }
@Override public IBatchTypeResolver getTypeResolver() { return this.recomputingResolver; }
public IBatchTypeResolver getTypeResolver() { return this.batchTypeResolver; }
public IBatchTypeResolver getTypeResolver() { return this.typeResolver; }
public void setTypeResolver(final IBatchTypeResolver typeResolver) { this.typeResolver = typeResolver; }
public abstract IBatchTypeResolver getTypeResolver();