主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Yan Zhulanow
活动总数
6
最后的活动
2019年05月14日 15:19
成员加入日期
2019年04月15日 19:29
关注
0 名用户
关注者数
0 名用户
投票数
0
订阅数
2
活动概览
文章(0)
帖子(0)
评论(4)
Yan Zhulanow
进行了评论,
2019年05月14日 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...
社区
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 票
Yan Zhulanow
进行了评论,
2019年04月30日 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...
社区
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 票
Yan Zhulanow
进行了评论,
2019年04月29日 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...
社区
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 票
Yan Zhulanow
进行了评论,
2019年04月29日 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 '...
社区
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 票