Set < ModuleResolutionFlags > readModuleResolutionFlags ( int flags ) { Set < ModuleResolutionFlags > set = EnumSet . noneOf ( ModuleResolutionFlags . class ) ; for ( ModuleResolutionFlags f : ModuleResolutionFlags . values ( ) ) { if ( ( flags & f . value ) != 0 ) set . add ( f ) ; } return set ; }
Read resolution_flags .