Home
last modified time | relevance | path

Searched refs:psi (Results 1 – 25 of 50) 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>()
28 import com.intellij.psi.PsiAnnotatedJavaCodeReferenceElement in <lambda>()
29 import com.intellij.psi.PsiAnnotation in <lambda>()
30 import com.intellij.psi.PsiAnonymousClass in <lambda>()
31 import com.intellij.psi.PsiArrayType in <lambda>()
32 import com.intellij.psi.PsiCapturedWildcardType in <lambda>()
33 import com.intellij.psi.PsiClass in <lambda>()
34 import com.intellij.psi.PsiDisjunctionType in <lambda>()
35 import com.intellij.psi.PsiEllipsisType in <lambda>()
36 import com.intellij.psi.PsiFile in <lambda>()
[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.JavaRecursiveElementVisitor in <lambda>()
38 import com.intellij.psi.PsiAnnotation in <lambda>()
39 import com.intellij.psi.PsiArrayType in <lambda>()
40 import com.intellij.psi.PsiClass in <lambda>()
41 import com.intellij.psi.PsiClassOwner in <lambda>()
42 import com.intellij.psi.PsiClassType in <lambda>()
43 import com.intellij.psi.PsiElement in <lambda>()
44 import com.intellij.psi.PsiErrorElement in <lambda>()
[all …]
DPsiTypeItem.kt17 package com.android.tools.metalava.model.psi
29 import com.intellij.psi.JavaTokenType
30 import com.intellij.psi.PsiArrayType
31 import com.intellij.psi.PsiCapturedWildcardType
32 import com.intellij.psi.PsiClass
33 import com.intellij.psi.PsiClassType
34 import com.intellij.psi.PsiCompiledElement
35 import com.intellij.psi.PsiDisjunctionType
36 import com.intellij.psi.PsiElement
37 import com.intellij.psi.PsiEllipsisType
[all …]
DPsiConstructorItem.kt17 package com.android.tools.metalava.model.psi
22 import com.intellij.psi.JavaPsiFacade
23 import com.intellij.psi.PsiClass
24 import com.intellij.psi.PsiElement
25 import com.intellij.psi.PsiExpressionStatement
26 import com.intellij.psi.PsiKeyword
27 import com.intellij.psi.PsiMethod
28 import com.intellij.psi.PsiMethodCallExpression
29 import com.intellij.psi.PsiWhiteSpace
30 import org.jetbrains.kotlin.psi.KtClassOrObject
[all …]
DPsiAnnotationItem.kt17 package com.android.tools.metalava.model.psi in <lambda>()
32 import com.android.tools.metalava.model.psi.CodePrinter.Companion.constantToExpression in <lambda>()
33 import com.android.tools.metalava.model.psi.CodePrinter.Companion.constantToSource in <lambda>()
34 import com.intellij.psi.PsiAnnotation in <lambda>()
35 import com.intellij.psi.PsiAnnotationMemberValue in <lambda>()
36 import com.intellij.psi.PsiAnnotationMethod in <lambda>()
37 import com.intellij.psi.PsiArrayInitializerMemberValue in <lambda>()
38 import com.intellij.psi.PsiBinaryExpression in <lambda>()
39 import com.intellij.psi.PsiClass in <lambda>()
40 import com.intellij.psi.PsiClassObjectAccessExpression in <lambda>()
[all …]
DPsiSourceFileItem.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 …]
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 …]
DPsiModifierItem.kt17 package com.android.tools.metalava.model.psi in <lambda>()
29 import com.intellij.psi.PsiDocCommentOwner in <lambda>()
30 import com.intellij.psi.PsiModifier in <lambda>()
31 import com.intellij.psi.PsiModifierList in <lambda>()
32 import com.intellij.psi.PsiModifierListOwner in <lambda>()
33 import com.intellij.psi.PsiPrimitiveType in <lambda>()
34 import com.intellij.psi.PsiReferenceExpression in <lambda>()
35 import com.intellij.psi.impl.light.LightModifierList in <lambda>()
44 import org.jetbrains.kotlin.psi.KtAnnotated in <lambda>()
45 import org.jetbrains.kotlin.psi.KtElement in <lambda>()
[all …]
DPsiClassItem.kt17 package com.android.tools.metalava.model.psi in <lambda>()
34 import com.intellij.psi.PsiClass in <lambda>()
35 import com.intellij.psi.PsiClassType in <lambda>()
36 import com.intellij.psi.PsiCompiledFile in <lambda>()
37 import com.intellij.psi.PsiModifier in <lambda>()
38 import com.intellij.psi.PsiModifierListOwner in <lambda>()
39 import com.intellij.psi.PsiType in <lambda>()
40 import com.intellij.psi.PsiTypeParameter in <lambda>()
41 import com.intellij.psi.SyntheticElement in <lambda>()
42 import com.intellij.psi.impl.source.PsiClassReferenceType in <lambda>()
[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 …]
DPsiMethodItem.kt17 package com.android.tools.metalava.model.psi in <lambda>()
25 import com.intellij.psi.PsiAnnotationMethod in <lambda>()
26 import com.intellij.psi.PsiArrayType in <lambda>()
27 import com.intellij.psi.PsiClass in <lambda>()
28 import com.intellij.psi.PsiMethod in <lambda>()
29 import com.intellij.psi.util.PsiTypesUtil in <lambda>()
31 import org.jetbrains.kotlin.psi.KtNamedFunction in <lambda>()
32 import org.jetbrains.kotlin.psi.KtParameter in <lambda>()
33 import org.jetbrains.kotlin.psi.KtProperty in <lambda>()
34 import org.jetbrains.kotlin.psi.KtPropertyAccessor in <lambda>()
[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
28 import org.jetbrains.kotlin.psi.KtDeclaration
86 override fun psi(): PsiElement? = element in psi() method in com.android.tools.metalava.model.psi.PsiItem
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
73 val p = containingClass().psi() as? PsiClass ?: return false in isEnumConstant()
DUAnnotationItem.kt17 package com.android.tools.metalava.model.psi in <lambda>()
30 import com.intellij.psi.PsiAnnotationMethod in <lambda>()
31 import com.intellij.psi.PsiClass in <lambda>()
32 import com.intellij.psi.PsiExpression in <lambda>()
33 import com.intellij.psi.PsiField in <lambda>()
34 import com.intellij.psi.PsiLiteral in <lambda>()
35 import com.intellij.psi.PsiMethod in <lambda>()
36 import com.intellij.psi.impl.JavaConstantExpressionEvaluator in <lambda>()
DPsiParameterItem.kt17 package com.android.tools.metalava.model.psi
23 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.KtFunction
27 import org.jetbrains.kotlin.psi.KtParameter
DPsiPropertyItem.kt17 package com.android.tools.metalava.model.psi
23 import com.intellij.psi.PsiClass
24 import com.intellij.psi.PsiMethod
25 import org.jetbrains.kotlin.psi.KtPropertyAccessor
55 val p = containingClass().psi() as? PsiClass ?: return false in type()
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
20 import com.android.tools.metalava.model.psi.ClassType.TYPE_PARAMETER
21 import com.intellij.psi.PsiTypeParameter
/tools/metalava/src/main/java/com/android/tools/metalava/
DReporter.kt28 import com.android.tools.metalava.model.psi.PsiItem in <lambda>()
33 import com.intellij.psi.PsiCompiledElement in <lambda>()
34 import com.intellij.psi.PsiElement in <lambda>()
35 import com.intellij.psi.PsiModifierListOwner in <lambda>()
36 import com.intellij.psi.PsiNameIdentifierOwner in <lambda>()
37 import com.intellij.psi.impl.light.LightElement in <lambda>()
38 import org.jetbrains.kotlin.psi.KtModifierListOwner in <lambda>()
137 fun report(id: Issues.Issue, item: Item?, message: String, psi: PsiElement? = null): Boolean { in report()
146 psi != null -> which(severity, elementToLocation(psi), message, id) in report()
147 item is PsiItem -> which(severity, elementToLocation(item.psi()), message, id) in report()
[all …]
DBaseline.kt27 import com.intellij.psi.PsiClass in <lambda>()
28 import com.intellij.psi.PsiElement in <lambda>()
29 import com.intellij.psi.PsiField in <lambda>()
30 import com.intellij.psi.PsiFile in <lambda>()
31 import com.intellij.psi.PsiMethod in <lambda>()
32 import com.intellij.psi.PsiPackage in <lambda>()
33 import com.intellij.psi.PsiParameter in <lambda>()
34 import org.jetbrains.kotlin.psi.KtClass in <lambda>()
35 import org.jetbrains.kotlin.psi.KtProperty in <lambda>()
36 import org.jetbrains.kotlin.psi.psiUtil.containingClass in <lambda>()
[all …]
DExtractAnnotations.kt31 import com.android.tools.metalava.model.psi.CodePrinter in <lambda>()
32 import com.android.tools.metalava.model.psi.PsiAnnotationItem in <lambda>()
33 import com.android.tools.metalava.model.psi.PsiClassItem in <lambda>()
34 import com.android.tools.metalava.model.psi.PsiMethodItem in <lambda>()
35 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 …]
DKotlinInteropChecks.kt29 import org.jetbrains.kotlin.psi.KtObjectDeclaration in <lambda>()
30 import org.jetbrains.kotlin.psi.KtProperty in <lambda>()
31 import org.jetbrains.kotlin.psi.psiUtil.containingClassOrObject in <lambda>()
32 import org.jetbrains.kotlin.psi.psiUtil.isPublic in <lambda>()
135 val psi = field.psi() in <lambda>() constant
136 if (psi is UField) { in <lambda>()
137 val sourcePsi = psi.sourcePsi in <lambda>()
DDocAnalyzer.kt19 import com.android.tools.metalava.model.psi.containsLinkTags in <lambda>()
21 import com.intellij.psi.PsiClass in <lambda>()
22 import com.intellij.psi.PsiField in <lambda>()
23 import com.intellij.psi.PsiMethod in <lambda>()
666 val psiMethod = method.psi() as? PsiMethod ?: return in <lambda>()
672 val psiClass = cls.psi() as PsiClass in <lambda>()
685 val psiField = field.psi() as PsiField in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt37 import com.android.tools.metalava.model.psi.PsiBasedCodebase
39 import com.intellij.psi.PsiCallExpression
40 import com.intellij.psi.PsiField
41 import com.intellij.psi.PsiModifierListOwner
42 import com.intellij.psi.PsiReference
43 import org.jetbrains.kotlin.psi.KtObjectDeclaration
566 val sourcePsi = item.psi() in getImplicitNullness()
583 val initializer = (item.psi() as? PsiField)?.initializer in getImplicitNullness()
/tools/metalava/src/test/java/com/android/tools/metalava/model/psi/
DPsiTypePrinterTest.kt17 package com.android.tools.metalava.model.psi in <lambda>()
33 import com.intellij.psi.JavaRecursiveElementVisitor in <lambda>()
34 import com.intellij.psi.PsiAnnotation in <lambda>()
35 import com.intellij.psi.PsiType in <lambda>()
36 import com.intellij.psi.PsiTypeElement in <lambda>()
873 val psi = node.sourcePsi in <lambda>() constant
874 psi?.accept(object : JavaRecursiveElementVisitor() { in <lambda>()

12