Matthias Geisler
04/29/2022, 6:51 AMgetSymbolsWithAnnotation with multiple deferring Annotation for a Class target.
Is it suppose to pick up only the first?Matthias Geisler
04/29/2022, 6:54 AMMatthias Geisler
04/29/2022, 6:58 AM@MockCommon is the first I extract via getSymbolsWithAnnotation and surprisingly it also contains `@Mock`and @MockShared :Matthias Geisler
04/29/2022, 6:58 AMGrégory Lureau
04/29/2022, 7:34 AMMatthias Geisler
04/29/2022, 7:40 AMMatthias Geisler
04/29/2022, 7:41 AMGrégory Lureau
04/29/2022, 7:45 AMgetSymbolsWithAnnotation give you all symbols annotated with @MockCommonYou cannot find your class
Platform without giving the annotation name of "MockCommon". Let's say you also annotate another class like Shared with @MockCommon, then getSymbolsWithAnnotation will return [Platform, Shared].Grégory Lureau
04/29/2022, 7:46 AMMatthias Geisler
04/29/2022, 8:06 AMgetSymbolsWithAnnotation when I call it with the name for example of MockCommon will contain in the example above also the Annotated for Mock and MockShared. That would not be that bad, but if call it again for Mock or MockShared, those Annotated are not resolved.Matthias Geisler
04/29/2022, 8:06 AMMatthias Geisler
04/29/2022, 8:07 AMGrégory Lureau
04/29/2022, 8:07 AMMatthias Geisler
04/29/2022, 8:07 AMefemoney
04/29/2022, 8:36 AMPlatformefemoney
04/29/2022, 8:37 AMefemoney
04/29/2022, 8:37 AMefemoney
04/29/2022, 8:39 AMMatthias Geisler
04/29/2022, 8:39 AMefemoney
04/29/2022, 8:41 AMMatthias Geisler
04/29/2022, 8:44 AMMatthias Geisler
04/29/2022, 8:45 AMefemoney
04/29/2022, 8:50 AMMatthias Geisler
04/29/2022, 8:51 AMMatthias Geisler
04/29/2022, 8:51 AMefemoney
04/29/2022, 8:52 AMMatthias Geisler
04/29/2022, 8:56 AMefemoney
04/29/2022, 9:21 AMefemoney
04/29/2022, 9:23 AMMatthias Geisler
04/29/2022, 9:39 AMefemoney
04/29/2022, 9:39 AMMatthias Geisler
04/29/2022, 9:41 AMMatthias Geisler
04/29/2022, 9:42 AM@Retention(AnnotationRetention.SOURCE)
@Target(AnnotationTarget.CLASS)Matthias Geisler
04/29/2022, 9:43 AMefemoney
04/29/2022, 10:31 AMMatthias Geisler
04/29/2022, 11:54 AMMatthias Geisler
04/29/2022, 11:54 AMMatthias Geisler
04/29/2022, 11:55 AMefemoney
04/29/2022, 11:56 AMefemoney
04/29/2022, 12:01 PMMatthias Geisler
04/29/2022, 12:21 PMJiaxiang
04/29/2022, 8:41 PM