主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Nicolay Mitropolsky
活动总数
53
最后的活动
2023年04月03日 19:07
成员加入日期
2018年04月30日 14:11
关注
0 名用户
关注者数
0 名用户
投票数
1
订阅数
17
活动概览
文章(0)
帖子(0)
评论(35)
按最近的活动排序
最近的活动
投票数
创建于
2018年07月23日 18:46
It is very strange. Could you please provide more details about what do you call and what you expect to get?
社区
IntelliJ IDEA Open API and Plugin Development
(Kotlin PSI) Check if class is a subclass of a particular class, that works for JVM and Common platforms?
0 票
创建于
2018年07月04日 10:25
> expression has no access to `getNode()` It is really strange, `KtExpression` inherits from `PsiElement` and `getNode` is a method of base `PsiElement` along with `accept` for visitors
社区
IntelliJ IDEA Open API and Plugin Development
How to read a Kotlin Annotation inside an intellij plugin?
0 票
创建于
2018年07月03日 16:22
expression.getNode().getFirstChildNode() should work. Also, you could pass a visitor to the `accept` method to get inside the expression (probably you should use recursive visitor)
社区
IntelliJ IDEA Open API and Plugin Development
How to read a Kotlin Annotation inside an intellij plugin?
0 票
创建于
2018年06月29日 11:48
正式评论
Current status is (for IDEA 2018.2 and Kotlin 1.2.50) : EntityManager.createQuery and other such methods works, but there are some issues with string concatenation KT-13233 Spring JPA Repositorie...
社区
IntelliJ IDEA Users
Does Kotlin, JPA and jpql assist work?
0 票
创建于
2018年05月07日 10:04
Annotation entry for Kotlin - is a call expression, so `getValueArguments` should work to get passed arguments
社区
IntelliJ IDEA Open API and Plugin Development
(Kotlin PSI) Check if class is a subclass of a particular class, that works for JVM and Common platforms?
0 票
创建于
2018年05月07日 08:58
You should better operate `KtNamedFunction`, and get annotations via `getAnnotationEntries`. LightMethods were designed to provide in-IDE interop with Java, so yes, they could be not fully support...
社区
IntelliJ IDEA Open API and Plugin Development
(Kotlin PSI) Check if class is a subclass of a particular class, that works for JVM and Common platforms?
0 票
创建于
2018年05月07日 08:32
You could use KtFunction. But it is not very clear how you actually get Light-elements? If you are writing an inspection you'll get Kotlin source elements (KtClassOrObject, KtFunction etc) and to g...
社区
IntelliJ IDEA Open API and Plugin Development
(Kotlin PSI) Check if class is a subclass of a particular class, that works for JVM and Common platforms?
0 票
创建于
2018年05月03日 10:35
I've actually created an issue in the Kotlin bug tracker for your initial problem. But employing `KtClassOrObject` should work anyway.
社区
IntelliJ IDEA Open API and Plugin Development
(Kotlin PSI) Check if class is a subclass of a particular class, that works for JVM and Common platforms?
0 票
创建于
2018年05月01日 05:50
It could be impossible to get `KtClassOrObject` from `getSuperTypeList` but you could rely on `KtTypeReference` and resolve it to a full name. I am sorry I cant provide an exact code right now, b...
社区
IntelliJ IDEA Open API and Plugin Development
(Kotlin PSI) Check if class is a subclass of a particular class, that works for JVM and Common platforms?
0 票
创建于
2018年04月30日 14:11
Looks like `KtLightClass` will properly work only for JVM-platforms. You could try using `KtClassOrObject` with `getSuperTypeList` instead.
社区
IntelliJ IDEA Open API and Plugin Development
(Kotlin PSI) Check if class is a subclass of a particular class, that works for JVM and Common platforms?
0 票
«
第一页
‹
上一页