Home
last modified time | relevance | path

Searched refs:psi (Results 1 – 25 of 43) sorted by relevance

12

/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/
DPsiTypePrinter.kt17 package com.android.tools.metalava.model.psi in <lambda>()
29 import com.intellij.psi.PsiAnnotatedJavaCodeReferenceElement in <lambda>()
30 import com.intellij.psi.PsiAnnotation in <lambda>()
31 import com.intellij.psi.PsiAnonymousClass in <lambda>()
32 import com.intellij.psi.PsiArrayType in <lambda>()
33 import com.intellij.psi.PsiCapturedWildcardType in <lambda>()
34 import com.intellij.psi.PsiClass in <lambda>()
35 import com.intellij.psi.PsiDisjunctionType in <lambda>()
36 import com.intellij.psi.PsiEllipsisType in <lambda>()
37 import com.intellij.psi.PsiFile in <lambda>()
[all …]
DPsiTypeItem.kt17 package com.android.tools.metalava.model.psi
28 import com.intellij.psi.JavaTokenType
29 import com.intellij.psi.PsiArrayType
30 import com.intellij.psi.PsiCapturedWildcardType
31 import com.intellij.psi.PsiClass
32 import com.intellij.psi.PsiClassType
33 import com.intellij.psi.PsiCompiledElement
34 import com.intellij.psi.PsiDisjunctionType
35 import com.intellij.psi.PsiElement
36 import com.intellij.psi.PsiEllipsisType
[all …]
DPsiCompilationUnit.kt17 package com.android.tools.metalava.model.psi
27 import com.intellij.psi.PsiClass
28 import com.intellij.psi.PsiClassOwner
29 import com.intellij.psi.PsiComment
30 import com.intellij.psi.PsiElement
31 import com.intellij.psi.PsiField
32 import com.intellij.psi.PsiFile
33 import com.intellij.psi.PsiJavaFile
34 import com.intellij.psi.PsiMethod
35 import com.intellij.psi.PsiPackage
[all …]
DPsiAnnotationItem.kt17 package com.android.tools.metalava.model.psi
32 import com.android.tools.metalava.model.psi.CodePrinter.Companion.constantToExpression
33 import com.android.tools.metalava.model.psi.CodePrinter.Companion.constantToSource
34 import com.intellij.psi.PsiAnnotation
35 import com.intellij.psi.PsiAnnotationMemberValue
36 import com.intellij.psi.PsiArrayInitializerMemberValue
37 import com.intellij.psi.PsiBinaryExpression
38 import com.intellij.psi.PsiClass
39 import com.intellij.psi.PsiExpression
40 import com.intellij.psi.PsiField
[all …]
DPsiConstructorItem.kt17 package com.android.tools.metalava.model.psi in <lambda>()
21 import com.intellij.psi.JavaPsiFacade in <lambda>()
22 import com.intellij.psi.PsiClass in <lambda>()
23 import com.intellij.psi.PsiElement in <lambda>()
24 import com.intellij.psi.PsiExpressionStatement in <lambda>()
25 import com.intellij.psi.PsiKeyword in <lambda>()
26 import com.intellij.psi.PsiMethod in <lambda>()
27 import com.intellij.psi.PsiMethodCallExpression in <lambda>()
28 import com.intellij.psi.PsiWhiteSpace in <lambda>()
94 override fun psi(): PsiElement? { in <lambda>() method
[all …]
DPsiBasedCodebase.kt17 package com.android.tools.metalava.model.psi in <lambda>()
36 import com.intellij.psi.JavaPsiFacade in <lambda>()
37 import com.intellij.psi.PsiAnnotation in <lambda>()
38 import com.intellij.psi.PsiArrayType in <lambda>()
39 import com.intellij.psi.PsiClass in <lambda>()
40 import com.intellij.psi.PsiClassOwner in <lambda>()
41 import com.intellij.psi.PsiClassType in <lambda>()
42 import com.intellij.psi.PsiElement in <lambda>()
43 import com.intellij.psi.PsiField in <lambda>()
44 import com.intellij.psi.PsiFile in <lambda>()
[all …]
DJavadoc.kt17 package com.android.tools.metalava.model.psi
24 import com.intellij.psi.JavaDocTokenType
25 import com.intellij.psi.JavaPsiFacade
26 import com.intellij.psi.PsiClass
27 import com.intellij.psi.PsiElement
28 import com.intellij.psi.PsiJavaCodeReferenceElement
29 import com.intellij.psi.PsiMember
30 import com.intellij.psi.PsiMethod
31 import com.intellij.psi.PsiReference
32 import com.intellij.psi.PsiTypeParameter
[all …]
DCodePrinter.kt17 package com.android.tools.metalava.model.psi
28 import com.intellij.psi.PsiAnnotation
29 import com.intellij.psi.PsiAnnotationMemberValue
30 import com.intellij.psi.PsiArrayInitializerMemberValue
31 import com.intellij.psi.PsiClass
32 import com.intellij.psi.PsiClassObjectAccessExpression
33 import com.intellij.psi.PsiElement
34 import com.intellij.psi.PsiField
35 import com.intellij.psi.PsiLiteral
36 import com.intellij.psi.PsiReference
[all …]
DPsiItem.kt17 package com.android.tools.metalava.model.psi
22 import com.intellij.psi.PsiCompiledElement
23 import com.intellij.psi.PsiDocCommentOwner
24 import com.intellij.psi.PsiElement
25 import com.intellij.psi.PsiModifierListOwner
27 import org.jetbrains.kotlin.kdoc.psi.api.KDoc
58 override fun psi(): PsiElement? = element in psi() method in com.android.tools.metalava.model.psi.PsiItem
DPsiModifierItem.kt17 package com.android.tools.metalava.model.psi
27 import com.intellij.psi.PsiDocCommentOwner
28 import com.intellij.psi.PsiMethod
29 import com.intellij.psi.PsiModifier
30 import com.intellij.psi.PsiModifierList
31 import com.intellij.psi.PsiModifierListOwner
32 import com.intellij.psi.PsiReferenceExpression
33 import com.intellij.psi.PsiPrimitiveType
37 import org.jetbrains.kotlin.psi.KtNamedFunction
DPsiParameterItem.kt17 package com.android.tools.metalava.model.psi
22 import com.android.tools.metalava.model.psi.CodePrinter.Companion.constantToSource
24 import com.intellij.psi.PsiParameter
25 import org.jetbrains.kotlin.psi.KtConstantExpression
26 import org.jetbrains.kotlin.psi.KtNamedFunction
27 import org.jetbrains.kotlin.psi.KtParameter
28 import org.jetbrains.kotlin.psi.psiUtil.parameterIndex
DPsiFieldItem.kt17 package com.android.tools.metalava.model.psi
22 import com.intellij.psi.PsiClass
23 import com.intellij.psi.PsiEnumConstant
24 import com.intellij.psi.PsiField
25 import com.intellij.psi.impl.JavaConstantExpressionEvaluator
70 val p = containingClass().psi() as? PsiClass ?: return false in isEnumConstant()
DPsiClassItem.kt17 package com.android.tools.metalava.model.psi in <lambda>()
31 import com.intellij.psi.PsiClass in <lambda>()
32 import com.intellij.psi.PsiClassType in <lambda>()
33 import com.intellij.psi.PsiCompiledFile in <lambda>()
34 import com.intellij.psi.PsiModifier in <lambda>()
35 import com.intellij.psi.PsiModifierListOwner in <lambda>()
36 import com.intellij.psi.PsiType in <lambda>()
37 import com.intellij.psi.PsiTypeParameter in <lambda>()
38 import com.intellij.psi.impl.source.PsiClassReferenceType in <lambda>()
39 import com.intellij.psi.util.PsiUtil in <lambda>()
[all …]
DPsiMethodItem.kt17 package com.android.tools.metalava.model.psi in <lambda>()
28 import com.intellij.psi.PsiAnnotationMethod in <lambda>()
29 import com.intellij.psi.PsiClass in <lambda>()
30 import com.intellij.psi.PsiMethod in <lambda>()
31 import com.intellij.psi.util.PsiTypesUtil in <lambda>()
32 import com.intellij.psi.util.TypeConversionUtil in <lambda>()
34 import org.jetbrains.kotlin.psi.KtNamedFunction in <lambda>()
35 import org.jetbrains.kotlin.psi.KtProperty in <lambda>()
147 val p = containingClass().psi() as? PsiClass ?: return false in <lambda>()
DPsiPropertyItem.kt17 package com.android.tools.metalava.model.psi
23 import com.intellij.psi.PsiClass
24 import com.intellij.psi.PsiMethod
25 import com.intellij.psi.PsiType
50 val p = containingClass().psi() as? PsiClass ?: return false in type()
DUAnnotationItem.kt17 package com.android.tools.metalava.model.psi
30 import com.intellij.psi.PsiClass
31 import com.intellij.psi.PsiExpression
32 import com.intellij.psi.PsiField
33 import com.intellij.psi.PsiLiteral
34 import com.intellij.psi.PsiMethod
35 import com.intellij.psi.impl.JavaConstantExpressionEvaluator
DClassType.kt17 package com.android.tools.metalava.model.psi
19 import com.intellij.psi.PsiClass
20 import com.intellij.psi.PsiTypeParameter
DPsiTypeParameterItem.kt17 package com.android.tools.metalava.model.psi
21 import com.android.tools.metalava.model.psi.ClassType.TYPE_PARAMETER
22 import com.intellij.psi.PsiTypeParameter
DPsiTypeParameterList.kt17 package com.android.tools.metalava.model.psi
24 private val psiTypeParameterList: com.intellij.psi.PsiTypeParameterList
/tools/metalava/src/main/java/com/android/tools/metalava/
DExtractAnnotations.kt33 import com.android.tools.metalava.model.psi.CodePrinter in <lambda>()
34 import com.android.tools.metalava.model.psi.PsiAnnotationItem in <lambda>()
35 import com.android.tools.metalava.model.psi.PsiClassItem in <lambda>()
36 import com.android.tools.metalava.model.psi.PsiMethodItem in <lambda>()
37 import com.android.tools.metalava.model.psi.UAnnotationItem in <lambda>()
40 import com.intellij.psi.JavaRecursiveElementVisitor in <lambda>()
41 import com.intellij.psi.PsiAnnotation in <lambda>()
42 import com.intellij.psi.PsiClass in <lambda>()
43 import com.intellij.psi.PsiElement in <lambda>()
44 import com.intellij.psi.PsiField in <lambda>()
[all …]
DReporter.kt30 import com.android.tools.metalava.model.psi.PsiItem
36 import com.intellij.psi.PsiCompiledElement
37 import com.intellij.psi.PsiElement
38 import com.intellij.psi.PsiModifierListOwner
39 import com.intellij.psi.impl.light.LightElement
115 fun report(id: Errors.Error, item: Item?, message: String, psi: PsiElement? = null): Boolean { in toString()
141 } else if (psi != null && baseline != null && baseline.mark(psi, message, id)) { in toString()
146 psi != null -> { in toString()
147 report(severity, psi, message, id) in toString()
150 report(severity, item.psi(), message, id) in toString()
DBaseline.kt28 import com.intellij.psi.PsiClass in <lambda>()
29 import com.intellij.psi.PsiElement in <lambda>()
30 import com.intellij.psi.PsiField in <lambda>()
31 import com.intellij.psi.PsiFile in <lambda>()
32 import com.intellij.psi.PsiMethod in <lambda>()
33 import com.intellij.psi.PsiPackage in <lambda>()
34 import com.intellij.psi.PsiParameter in <lambda>()
35 import org.jetbrains.kotlin.psi.psiUtil.parameterIndex in <lambda>()
DKotlinInteropChecks.kt29 import org.jetbrains.kotlin.psi.KtProperty
30 import org.jetbrains.kotlin.psi.psiUtil.containingClassOrObject
129 val psi = field.psi() in ensureCompanionFieldJvmField() constant
130 if (psi is KotlinUField) { in ensureCompanionFieldJvmField()
131 val sourcePsi = psi.sourcePsi in ensureCompanionFieldJvmField()
DDocAnalyzer.kt21 import com.android.tools.metalava.model.psi.containsLinkTags in <lambda>()
25 import com.intellij.psi.PsiClass in <lambda>()
26 import com.intellij.psi.PsiField in <lambda>()
27 import com.intellij.psi.PsiMethod in <lambda>()
682 val psiMethod = method.psi() as? PsiMethod ?: return in <lambda>()
688 val psiClass = cls.psi() as PsiClass in <lambda>()
701 val psiField = field.psi() as PsiField in <lambda>()
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt17 package com.android.tools.metalava.model.psi in <lambda>()
30 import com.intellij.psi.JavaRecursiveElementVisitor in <lambda>()
31 import com.intellij.psi.PsiAnnotation in <lambda>()
32 import com.intellij.psi.PsiType in <lambda>()
33 import com.intellij.psi.PsiTypeElement in <lambda>()
866 val psi = node.sourcePsi in <lambda>() constant
867 psi?.accept(object : JavaRecursiveElementVisitor() { in <lambda>()

12