Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Charmik1994
Total activity
15
Last activity
January 21, 2020 13:37
Member since
April 12, 2019 08:46
Following
0 users
Followed by
0 users
Votes
1
Subscriptions
2
Activity overview
Posts (2)
Comments (10)
Sort by recent activity
Recent activity
Votes
Created
May 14, 2019 11:18
ping, sorry?
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes
Created
May 04, 2019 13:56
Sorry, I think I did everything what you said, but I have a small problem anyway. I tried to debug bindings but still didn't figure it out. Can you look at my code, please? https://paste.ofcode.org...
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes
Created
April 30, 2019 11:16
I tried to do what you suggested, and I did almost everything, but I can't figure out some small things. My code: https://pastecode.xyz/view/f36f2cf5 1) ClassBuilderFactory for GenerationState.Bui...
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes
Edited
April 29, 2019 13:04
okay! cool! thanks! I will try this way. as I understood it doesn't compile your code with "shouldGenerateCode = false" right? Because I don't really have source code, I use decompiler for it, and...
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes
Created
April 29, 2019 09:12
Yeah, I understand that it is not specified and it's not on Java code, but I thought maybe your parser implements it in someway. I analyze bytecode and I have all anonymous classes names, but I wa...
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes
Created
April 24, 2019 13:32
sorry, I still don't get it. I wrote a standalone application (but without dependencies), I think it's the better way to show it: https://paste.ofcode.org/35Eqy7hD6rbhypfhhxDFnau it prints "null". ...
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes
Created
April 24, 2019 13:06
sorry, what is KtCKotlinAsJavaSupport? I couldn't find this class in JB repositories. I found only CliKotlinAsJavaSupport. but it returns null for KtObjectDeclaration too. are you sure that I can ...
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes
Created
April 24, 2019 10:44
sorry, maybe I misunderstood you. But if I find the field T1 in my example, and then go to root of AST, I get classes: KtPropertyKtClassBodyKtObjectDeclarationKtObjectLiteralExpressionKtBlockExpres...
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes
Created
April 24, 2019 09:13
Yes, I know that there's no "$1" in source code. I want to get the class name where this variable is declared. it's anonymous class, but in bytecode it's $1. can I get it in some way?
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes
Created
April 19, 2019 11:30
and if I do recurse(KtFile): void recurse(PsiElement element) { PsiElement[] children = element.getChildren(); for (PsiElement child : children) { if (child instanceof PsiAnonymousClas...
Community
IntelliJ IDEA Open API and Plugin Development
parse .kt file with anonymous classes
0 votes