Kapt: add JeElementRenderer

(cherry picked from commit 3eecf78)
This commit is contained in:
Yan Zhulanow
2016-08-02 22:47:00 +03:00
committed by Yan Zhulanow
parent cd09f2bcb8
commit 0fc92c784b
5 changed files with 153 additions and 11 deletions
@@ -71,7 +71,7 @@ class KotlinElements(val javaPsiFacade: JavaPsiFacade, val scope: GlobalSearchSc
override fun getBinaryName(type: TypeElement) = JeName((type as JeTypeElement).psi.qualifiedName)
//TODO
override fun getDocComment(e: Element?) = ""
override fun getDocComment(e: Element?) = null
override fun isDeprecated(e: Element?): Boolean {
return (e as? JeAnnotationOwner)?.annotationOwner?.findAnnotation("java.lang.Deprecated") != null