Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Yan Zhulanow
Total activity
6
Last activity
May 14, 2019 15:19
Member since
April 15, 2019 19:29
Following
0 users
Followed by
0 users
Votes
0
Subscriptions
2
Activity overview
Articles (0)
Posts (0)
Comments (4)
Yan Zhulanow
commented,
May 14, 2019 15:19
Sorry for the delay. I suppose you missed to register some of IntelliJ services, without those analyzer won't work properly. Unfortunately, it's not a simple thing to do. You can use Android Lint C...
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes
Yan Zhulanow
commented,
April 30, 2019 20:43
1. You can use `org.jetbrains.kotlin.codegen.ClassBuilderFactories#BINARIES`, this should be enough. 2. You can find a KtClass for which you need to find a name by traversing the AST (PSI tree). Th...
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes
Yan Zhulanow
commented,
April 29, 2019 13:20
> I understood it doesn't compile your code with "shouldGenerateCode = false" right? Sure. > and I don't write plugin, I want standalone application, can I do it? You will possibly need to provide...
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes
Yan Zhulanow
commented,
April 29, 2019 10:47
It is fairly easy to get the internal anonymous class names. 1. Run analysis over Kotlin files ('KotlinToJVMBytecodeCompiler#analyzeAndGenerate'). You can skip bytecode generation by providing an '...
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes