f2ddlZddlZddlZGddeZy)NcpeZdZdZeZejZfdZ dZ dZ dZ dZ dZxZS) TypeCacheNc|jE|j5|jtt|||_ddd|jS|jS#1swY|jSxYwN) _instance_locksuperr__new__)cls __class__s D:\a/1/s/src/ruby/lib/javonet-ruby-sdk/Binaries/Native/Windows/X64/../../../../Binaries/Python\javonet\core\typeCache\TypeCache.pyr zTypeCache.__new__ se ==  G==($))S$A#$FCM G}}s}} G}}s %AA3c||j5|jj|dddy#1swYyxYwr)r type_cacheappend)self type_regexs r cache_typezTypeCache.cache_types0 ZZ / OO " ": . / / /2;cv|j5t|jdk(cdddS#1swYyxYwNr)rlenrrs r is_type_cache_emptyzTypeCache.is_type_cache_emptys/ ZZ -t'1, - - -s/8cF|j5t|tjr |j}n'dj |j |jg}|jD]"}tj||sdddy dddy#1swYyxYw)N.TF) r isinstancetypes ModuleType__name__join __module__rrematch)r type_to_check name_to_checkpatterns r is_type_allowedzTypeCache.is_type_alloweds ZZ -)9)9: - 6 6 #-*B*BMDZDZ)[ \ ?? 88G]3     sA4BB BB cd|j5|jddcdddS#1swYyxYwr)rrrs r get_cached_typeszTypeCache.get_cached_types%s* ZZ &??1% & & &s&/c||j5|jj dddy#1swYyxYwr)rrclearrs r clear_cachezTypeCache.clear_cache)s1 ZZ  OO ! ! #   r)rr! __qualname__rlistr threadingLockrr rrr'r)r, __classcell__)r s@r rrs;IJ INN E/- &r)r"rr/objectrr2r r5s &&r2