Join Slack
Powered by
context: I'm trying replicate the behavior of <htt...
# compiler
v
vineethraj49
04/12/2021, 3:38 AM
context: I'm trying replicate the behavior of
https://github.com/JetBrains/intellij-community/blob/master/jvm/jvm-analysis-impl/[…]ion/blockingCallsDetection/ThrowsTypeBlockingMethodChecker.java
2 problems I'm facing: 1. @kotlin.jvm.Throws is a annotation with retention SOURCE, so how's intelliJ doing it? 2. the
public T method() throws IllegalArgumentExpression
; the throws part of it is a "reference list" which seems to be in rt.jar of the JDK; how is that resolved?
e
ephemient
04/12/2021, 3:57 AM
1. not sure what you mean, psi is intellij's source code model 2. I expect it uses the project JDK,
https://www.jetbrains.com/help/idea/sdk.html#jdk
2
Views
Open in Slack
Previous
Next