if (resolver == null) { resolver = TypeResolver.getResolver();
if (typeResolver == null) { typeResolver = TypeResolver.getResolver();
    public TypeResolver getResolver() {        if (resolver == null) {            resolver = TypeResolver.getResolver();        }        return resolver;    }