Anonymous and ThreadLocal from javapaper