All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.common.eventbus.SubscriberRegistry.class Maven / Gradle / Ivy

????4?
java/lang/Object()V
	
com/google/common/collect/MapsnewConcurrentMap&()Ljava/util/concurrent/ConcurrentMap;	-com/google/common/eventbus/SubscriberRegistrysubscribers$Ljava/util/concurrent/ConcurrentMap;
$com/google/common/base/PreconditionscheckNotNull&(Ljava/lang/Object;)Ljava/lang/Object;#com/google/common/eventbus/EventBus	bus%Lcom/google/common/eventbus/EventBus;
 !"findAllSubscribers8(Ljava/lang/Object;)Lcom/google/common/collect/Multimap;$%&'("com/google/common/collect/MultimapasMap()Ljava/util/Map;*+,-.
java/util/MapentrySet()Ljava/util/Set;01234
java/util/Setiterator()Ljava/util/Iterator;6789:java/util/IteratorhasNext()Z6<=>next()Ljava/lang/Object;@java/util/Map$Entry?BC>getKeyEjava/lang/Class?GH>getValueJjava/util/CollectionLMNO"java/util/concurrent/ConcurrentMapgetQ(java/util/concurrent/CopyOnWriteArraySet
PLTUVputIfAbsent8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
XYZ[V"com/google/common/base/MoreObjectsfirstNonNull
P]^_addAll(Ljava/util/Collection;)Z
Pab_	removeAlld"java/lang/IllegalArgumentExceptionfjava/lang/StringBuilder
ei5missing event subscriber for an annotated method. Is 
eklmappend-(Ljava/lang/String;)Ljava/lang/StringBuilder;
eolp-(Ljava/lang/Object;)Ljava/lang/StringBuilder;r registered?
etuvtoString()Ljava/lang/String;
cxy(Ljava/lang/String;)V{java/util/AbstractCollection
}~??&com/google/common/collect/ImmutableSetof*()Lcom/google/common/collect/ImmutableSet;
???getClass()Ljava/lang/Class;
???flattenHierarchy;(Ljava/lang/Class;)Lcom/google/common/collect/ImmutableSet;
}???size()I
?????com/google/common/collect/ListsnewArrayListWithCapacity(I)Ljava/util/ArrayList;
}?3?2()Lcom/google/common/collect/UnmodifiableIterator;
P1?????java/util/Listadd(Ljava/lang/Object;)Z?1
?????#com/google/common/collect/Iteratorsconcat*(Ljava/util/Iterator;)Ljava/util/Iterator;
?????&com/google/common/collect/HashMultimapcreate*()Lcom/google/common/collect/HashMultimap;
???getAnnotatedMethods<(Ljava/lang/Class;)Lcom/google/common/collect/ImmutableList;
???'com/google/common/collect/ImmutableList?java/lang/reflect/Method
????getParameterTypes()[Ljava/lang/Class;
?????%com/google/common/eventbus/Subscriberz(Lcom/google/common/eventbus/EventBus;Ljava/lang/Object;Ljava/lang/reflect/Method;)Lcom/google/common/eventbus/Subscriber;$???put'(Ljava/lang/Object;Ljava/lang/Object;)Z	???subscriberMethodsCache&Lcom/google/common/cache/LoadingCache;????$com/google/common/cache/LoadingCachegetUnchecked?=com/google/common/util/concurrent/UncheckedExecutionException
????getCause()Ljava/lang/Throwable;
????vjava/lang/Throwable
getMessage
c??*(Ljava/lang/String;Ljava/lang/Throwable;)V
?????#com/google/common/reflect/TypeToken8(Ljava/lang/Class;)Lcom/google/common/reflect/TypeToken;
????getTypes/()Lcom/google/common/reflect/TypeToken$TypeSet;
????.+com/google/common/reflect/TypeToken$TypeSetrawTypes
???
newHashMap()Ljava/util/HashMap;
D???getDeclaredMethods()[Ljava/lang/reflect/Method;?$com/google/common/eventbus/Subscribe
????isAnnotationPresent(Ljava/lang/Class;)Z
???:isSynthetic?lMethod %s has @Subscribe annotation but has %s parameters. Subscriber methods must have exactly 1 parameter.
???
checkArgument)(ZLjava/lang/String;Ljava/lang/Object;I)V
D??:isPrimitive{@Subscribe method %s's parameter is %s. Subscriber methods cannot accept primitives. Consider changing the parameter to %s.
DvgetName
	
'com/google/common/primitives/Primitiveswrap$(Ljava/lang/Class;)Ljava/lang/Class;
D
v
getSimpleName
?L(ZLjava/lang/String;Ljava/lang/Object;Ljava/lang/Object;Ljava/lang/Object;)V>com/google/common/eventbus/SubscriberRegistry$MethodIdentifier
(Ljava/lang/reflect/Method;)V*?containsKey*?V*values()Ljava/util/Collection;
? !"copyOfA(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableList;	$%?flattenHierarchyCache
}'!(@(Ljava/util/Collection;)Lcom/google/common/collect/ImmutableSet;
*+,-.$com/google/common/cache/CacheBuilder
newBuilder(()Lcom/google/common/cache/CacheBuilder;
*01.weakKeys345apply#()Lcom/google/common/base/Function;
789:;#com/google/common/cache/CacheLoaderfromH(Lcom/google/common/base/Function;)Lcom/google/common/cache/CacheLoader;
*=>?buildM(Lcom/google/common/cache/CacheLoader;)Lcom/google/common/cache/LoadingCache;3	Signature?Ljava/util/concurrent/ConcurrentMap;Ljava/util/concurrent/CopyOnWriteArraySet;>;RuntimeInvisibleAnnotations$Lcom/google/j2objc/annotations/Weak;?Lcom/google/common/cache/LoadingCache;Lcom/google/common/collect/ImmutableList;>;zLcom/google/common/cache/LoadingCache;Lcom/google/common/collect/ImmutableSet;>;>;((Lcom/google/common/eventbus/EventBus;)VCodeLineNumberTableLocalVariableTablethis/Lcom/google/common/eventbus/SubscriberRegistry;MethodParametersregister(Ljava/lang/Object;)VnewSet*Ljava/util/concurrent/CopyOnWriteArraySet;	eventTypeLjava/lang/Class;eventMethodsInListenerLjava/util/Collection;eventSubscribersentryLjava/util/Map$Entry;listenerLjava/lang/Object;listenerMethods$Lcom/google/common/collect/Multimap;LocalVariableTypeTableSLjava/util/concurrent/CopyOnWriteArraySet;Ljava/lang/Class<*>;?Ljava/util/Collection;jLjava/util/Map$Entry;Ljava/util/Collection;>;aLcom/google/common/collect/Multimap;Lcom/google/common/eventbus/Subscriber;>;
StackMapTable
unregisterlistenerMethodsForTypecurrentSubscribersgetSubscribersForTesting"(Ljava/lang/Class;)Ljava/util/Set;N(Ljava/lang/Class<*>;)Ljava/util/Set;1Lcom/google/common/annotations/VisibleForTesting;getSubscribers((Ljava/lang/Object;)Ljava/util/Iterator;event
eventTypes(Lcom/google/common/collect/ImmutableSet;subscriberIteratorsLjava/util/List;>Lcom/google/common/collect/ImmutableSet;>;OLjava/util/List;>;Q(Ljava/lang/Object;)Ljava/util/Iterator;parameterTypes[Ljava/lang/Class;methodLjava/lang/reflect/Method;methodsInListenerclazz[Ljava/lang/Class<*>;u(Ljava/lang/Object;)Lcom/google/common/collect/Multimap;Lcom/google/common/eventbus/Subscriber;>;e?Lcom/google/common/util/concurrent/UncheckedExecutionException;[(Ljava/lang/Class<*>;)Lcom/google/common/collect/ImmutableList;getAnnotatedMethodsNotCachedident@Lcom/google/common/eventbus/SubscriberRegistry$MethodIdentifier;	supertype
supertypesLjava/util/Set;identifiersLjava/util/Map;&Ljava/util/Set<+Ljava/lang/Class<*>;>;kLjava/util/Map;?java/lang/reflect/Method;v
concreteClassT(Ljava/lang/Class<*>;)Lcom/google/common/collect/ImmutableSet;>;lambda$static$0
SourceFileSubscriberRegistry.javaRuntimeVisibleAnnotationsaP^7LR_C@T`S0V^+XWa?[bc:?$6?c$6?DIP?
$MYdOH??*+?M,?#?)?/N-?5?h-?;??:?A?D:?F?I:*?
?K?P:?
?`?#?cY?eY?gh?j+?nq?j?s?w?????I&	_a+b7cCeSfbk?q?rJH7KRSC?eUS/fQ+WWX?KL?YZ?[\]47KR_C?e`S/f^+WWa?[bc@?$6?J$6?DIP?$6?MYghH]*?
+?K?z?|?W?0?IvJKLRS]R_MRAiCjklHZ+????M,????N,??:?5?3?;?D:*?
?K?P:?-????W???-?????I&	~?	??,?<?A?M?P?J><VQ,!RSZKLZmZRnoJpq]*<V^,!R_RnrJpsc?}?66?MmAt!"HM??M+??N-????:?5?2?;??:??:2:,*?+????W???,?I"??	?(?/?5?H?K?JH/uv5RS( wxMKLMYZIy\	DzS]*/u{5R_Iyb	Dz_c?$D6?8MYA|
??H?-??*?????L+???c??cY+?̶?+?̷տ+?
?I?
???+?J}~-zS]-z_cM???MzA
??H?*?ضݶ?L??M+?/N-?5??-?;?D:??:?66??2:??q???i??:		????	???	2????	2?	2????Y?:
,
??,
?W???w??Q,???IJ???*?G?Y?`?v?z???????????????????JH`_uv	???
Gxwx*??S?zS??????]4`_u{	*??_?z_??????cP	?0*6?"D0*6D??1??@@?9?D0*6?MzA??HI
?#*???}?I?J
?S]
?_M?A?Cj
??H8*?ضݶ?&?I?J?S?H])?)?/?2?6?




© 2015 - 2025 Weber Informatics LLC | Privacy Policy