Justin Tullgren
02/14/2022, 2:47 PMRule
visitor method to override to determine if a type implements an interface? I looked at visitSuperTypeEntry but in poking it I didn't see what i was looking for. Usecase: if a type implements an interface, check the value set to a val
property.Brais Gabin
02/15/2022, 4:53 PMvisitClass
(or something like that) And check if it implements your interface. If it does you add it to a list. Then you check the properties and check if it does what you want and at the end of visitFile
you can if it's correct.Brais Gabin
02/15/2022, 4:56 PMJustin Tullgren
02/15/2022, 5:52 PM