f9fb718b37
- Most Java classes aren't deprecated. To avoid building `firSymbol` in such cases, this commit adds a simple heuristic which checks the class's annotations for the presence of one of the deprecation annotations recognized by the Kotlin compiler. - Note that annotations are compared via simple names, so there is a slight margin of error. However, comparing class IDs is more costly in my tests, because getting an annotation's class ID is not as cheap as getting its simple name.