主页
IDEs Support (IntelliJ Platform) | JetBrains
联系支持服务
社区
登录
Ranie Jade Ramiso
活动总数
22
最后的活动
2020年05月02日 05:47
成员加入日期
2018年04月29日 06:54
关注
0 名用户
关注者数
0 名用户
投票数
1
订阅数
4
活动概览
帖子(4)
评论(13)
按最近的活动排序
最近的活动
投票数
创建于
2018年08月22日 11:22
Thanks Nicolay! This works, but for some reason it doesn't resolve annotation parameters that are lists on a jvm module - everything works with a common module.
社区
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年08月15日 04:21
As I've said this is what I currently have: https://github.com/spekframework/spek/blob/2.x/spek-ide-plugin/intellij-common/src/main/kotlin/org/spekframework/intellij/util.kt#L159. function.annotati...
社区
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年08月08日 10:29
I can only get the annotation name, what I need the value arguments as well. function.annotationEntries.forEach {} ^ it doesn't even work with JVM modules.
社区
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年08月02日 10:26
Essentially I'm trying to extract annotations on some DSL extensions. If it has those annotations, the plugin will add a gutter icon for it (clicking it will run the test at that specific point). ...
社区
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月22日 05:43
Unfortunately getValueArguments doesn't work either.
社区
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日 09:31
Here's a link to what I currently have: https://github.com/spekframework/spek/blob/2.x/spek-ide-plugin/intellij-common/src/main/kotlin/org/spekframework/intellij/util.kt.
社区
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日 09:23
If I remember correctly getAnnotationEntries only gives you a list of annotations but the actual properties of the annotation are undefined.@Synonym(type = SynonymType.Group) for example, will only...
社区
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:53
From a KtNamedFunction I use toLightMethods, which works on a JVM module but not a common one.
社区
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月05日 10:42
Thanks fixed the problem without relying on KtLightClass. Now same problem with KtLightMethod, is there an alternative method that I can use? I need to check for annotations on that method.
社区
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日 23:54
How would I resolve the actual KtClassOrObject from getSuperTypeList? For example given the hierarchy class MySpec: SomeCustSpek({ ...}), then class SomeCustomSpek(root: Root.() -> Unit): Spek(root...
社区
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 票
«
第一页
‹
上一页