Closed jeff-aion closed 5 years ago
It seems that the latest stable version of Intellij (2018.3.4) only works with JDK 8 as bootJDK. With JDK 10/11 as bootJDK, IntelliJ just freezes. Because of this, AVM idea plugin needs to be compatible with JDK 8. But as target version of avm.jar is JDK 10, calling AvmDetails from Idea plugin class is not directly possible.
So we need to find a workaround for this. May be we can think of compiling AvmDetails.java independently with JDK 8 and consume it in avm idea plugin for now.
Another option is, provide support only from Intellij (2019.1) which is still in early release version.
Tools which want to help developers build contracts for the AVM need a way to look up the JCL whitelist in order to synthesize warnings when the user attempts to use something not provided.
The current proposal is to expose this as a
Map
of supportedClass
objects to arrays of an internal data structure to describe a single method name and its arguments: