Alexander Shustanov
- 活动总数 70
- 最后的活动
- 成员加入日期
- 关注 0 名用户
- 关注者数 0 名用户
- 投票数 7
- 订阅数 22
-
创建于 Backward compatibility problem with UAST
已回答Encapsulation does not work in inline function, so such code is dangerous: inline fun <reified T : UElement> PsiElement?.toUElementOfType(): T? = this?.let { UastFacade.convertElementWithParent(th... -
创建于 TransactionGuard#submitTransactionLater vs Application#invokeLater
已回答Hi! Could you describe the difference between these methods? When I should use one, and when another. -
创建于 TypeMigration refactoring for kotlin
已回答Is there any alternative for type migration refactoring for kotlin? -
已编辑于 Kotlin-Java type conversion
Hi! Is there any instrument to get Kotlin types from Java PsiType? For example, I have java type: java.util.Set<entitypack.Entity> it kotlin it should be kotlin.collections.Set<entitypack.Entity<*>... -
创建于 How to get kotlin class from UParameter type?
已回答I have some code, that searches for usages of some method first parameter type. The code (uMethod.uastParameters[0] as UVariable).type returns `PsiClassType`, that resolves to some `ClsClassImpl`. ... -
创建于 Line Markers are suddenly disappearing in kotlin file (UAST).
已回答As I know, line markers should be placed only on special psi elements, for example, on class name identifier. Placing the marker on the wrong element may lead to its disappearing while file editing... -
创建于 Default attributes for UAnnotations
Why org.jetbrains.uast.UAnnotation#findAttributeValue do not return default attribute value if it is not provided on the usage side? It returns null. -
创建于 Inheritors search for UAST
Hello, when I use InheritanceUtil.isInheritor(uClass, true, someClassFqn) Idea highlights the uClass with the message `Usage of UElement as PsiElement is not recommended`. But when I use supposed ... -
创建于 JVMElementFactory for Kotlin
已回答Hello! Is there any class, that can create Kotlin psi elements? JVMElementFactory has implementations for Java and Groovy, but I cannot find an implementation for Kotlin. Also, for some reason, whe... -
已编辑于 Why did you remove UAST classes without deprecation and ScheduledForRemoval annotation?
已回答Hi! We use UAST in our plugin. Last three or two releases you break UAST API without warning. How long are you going to do that? We used class UastLiteralReferenceProvider and you removed it in 201...