Home
IDEs Support (IntelliJ Platform) | JetBrains
Contact Support
Community
Sign in
Ranie Jade Ramiso
Total activity
22
Last activity
May 02, 2020 05:47
Member since
April 29, 2018 06:54
Following
0 users
Followed by
0 users
Votes
1
Subscriptions
4
Activity overview
Posts (4)
Comments (13)
Sort by recent activity
Recent activity
Votes
Created
August 22, 2018 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.
Community
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 votes
Created
August 15, 2018 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...
Community
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 votes
Created
August 08, 2018 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.
Community
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 votes
Created
August 02, 2018 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). ...
Community
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 votes
Created
July 22, 2018 05:43
Unfortunately getValueArguments doesn't work either.
Community
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 votes
Created
May 07, 2018 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.
Community
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 votes
Created
May 07, 2018 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...
Community
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 votes
Edited
May 07, 2018 08:53
From a KtNamedFunction I use toLightMethods, which works on a JVM module but not a common one.
Community
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 votes
Created
May 05, 2018 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.
Community
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 votes
Edited
April 30, 2018 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...
Community
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 votes
«
First
‹
Previous