private static void getTypeInfo(UResourceBundle typeInfoRes) {
        Map<String,Set<String>> _deprecatedKeyTypes = new LinkedHashMap<String,Set<String>>();
        for (UResourceBundleIterator keyInfoIt = typeInfoRes.getIterator(); keyInfoIt.hasNext();) {
            UResourceBundle keyInfoEntry = keyInfoIt.next();
            String key = keyInfoEntry.getKey();
            TypeInfoType typeInfo = TypeInfoType.valueOf(key);
            for (UResourceBundleIterator keyInfoIt2 = keyInfoEntry.getIterator(); keyInfoIt2.hasNext();) {
                UResourceBundle keyInfoEntry2 = keyInfoIt2.next();
                String key2 = keyInfoEntry2.getKey();
                Set<String> _deprecatedTypes = new LinkedHashSet<String>();
                for (UResourceBundleIterator keyInfoIt3 = keyInfoEntry2.getIterator(); keyInfoIt3.hasNext();) {
                    UResourceBundle keyInfoEntry3 = keyInfoIt3.next();
                    String key3 = keyInfoEntry3.getKey();
                    switch (typeInfo) { // allow for expansion
                    case deprecated:
                        _deprecatedTypes.add(key3);
                        break;
                    }
                }
                _deprecatedKeyTypes.put(key2, Collections.unmodifiableSet(_deprecatedTypes));
            }
        }
        DEPRECATED_KEY_TYPES = Collections.unmodifiableMap(_deprecatedKeyTypes);
    }
private static void getTypeInfo ( UResourceBundle typeInfoRes ) { Map < String , Set < String > > _deprecatedKeyTypes = new LinkedHashMap < String , Set < String > > ( ) ; for ( UResourceBundleIterator keyInfoIt = typeInfoRes . getIterator ( ) ; keyInfoIt . hasNext ( ) ; ) { UResourceBundle keyInfoEntry = keyInfoIt . next ( ) ; String key = keyInfoEntry . getKey ( ) ; TypeInfoType typeInfo = TypeInfoType . valueOf ( key ) ; for ( UResourceBundleIterator keyInfoIt2 = keyInfoEntry . getIterator ( ) ; keyInfoIt2 . hasNext ( ) ; ) { UResourceBundle keyInfoEntry2 = keyInfoIt2 . next ( ) ; String key2 = keyInfoEntry2 . getKey ( ) ; Set < String > _deprecatedTypes = new LinkedHashSet < String > ( ) ; for ( UResourceBundleIterator keyInfoIt3 = keyInfoEntry2 . getIterator ( ) ; keyInfoIt3 . hasNext ( ) ; ) { UResourceBundle keyInfoEntry3 = keyInfoIt3 . next ( ) ; String key3 = keyInfoEntry3 . getKey ( ) ; switch ( typeInfo ) { case deprecated : _deprecatedTypes . add ( key3 ) ; break ; } } _deprecatedKeyTypes . put ( key2 , Collections . unmodifiableSet ( _deprecatedTypes ) ) ; } } DEPRECATED_KEY_TYPES = Collections . unmodifiableMap ( _deprecatedKeyTypes ) ; }
Reads:
typeInfo{
deprecated{
co{
direct{"true"}
}
tz{
camtr{"true"}
}
}
}