static new ThreadLocal DynamicObject_loading; static class DynamicObject { S className; // just the name, without the "main$" new LinkedHashMap fieldValues; *() {} // className = just the name, without the "main$" *(S *className) {} }