static new ThreadLocal DynamicObject_loading; static class DynamicObject { S className; // just the name, without the "main$" /*new XXX - not initializing anymore - may cause problems in the odd legacy program */ LinkedHashMap fieldValues; *() {} // className = just the name, without the "main$" *(S *className) {} Map _map() { ret fieldValues; } }