IS there a way to look for a class by its name fro...
# compiler
g
IS there a way to look for a class by its name from within a
FirFunctionChecker
? Probably through the
CheckerContext
parameter of
check
?
j
You can use
session.symbolProvider.getRegularClassSymbolByClassId(...)
You can get the session from the context
g
Thanks, I'll have a deeper look, but it seems ClassId needs a package name and I would like to look for any class finishing by a certain name in any package 🤔
d
It's not possible
g
ah, ok, I'll find another way then