Home
last modified time | relevance | path

Searched refs:psi (Results 1 – 25 of 42) 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
30 import com.intellij.psi.JavaTokenType
31 import com.intellij.psi.PsiArrayType
32 import com.intellij.psi.PsiCapturedWildcardType
33 import com.intellij.psi.PsiClass
34 import com.intellij.psi.PsiClassType
35 import com.intellij.psi.PsiCompiledElement
36 import com.intellij.psi.PsiDisjunctionType
37 import com.intellij.psi.PsiElement
38 import com.intellij.psi.PsiEllipsisType
[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 …]
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 …]
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.PsiAnnotationMethod in <lambda>()
36 import com.intellij.psi.PsiAnnotationMemberValue 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.PsiExpression in <lambda>()
[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 …]
DPsiConstructorItem.kt17 package com.android.tools.metalava.model.psi in <lambda>()
22 import com.intellij.psi.JavaPsiFacade in <lambda>()
23 import com.intellij.psi.PsiClass in <lambda>()
24 import com.intellij.psi.PsiElement in <lambda>()
25 import com.intellij.psi.PsiExpressionStatement in <lambda>()
26 import com.intellij.psi.PsiKeyword in <lambda>()
27 import com.intellij.psi.PsiMethod in <lambda>()
28 import com.intellij.psi.PsiMethodCallExpression in <lambda>()
29 import com.intellij.psi.PsiWhiteSpace in <lambda>()
95 override fun psi(): PsiElement? { in <lambda>() method
[all …]
DPsiClassItem.kt17 package com.android.tools.metalava.model.psi in <lambda>()
32 import com.intellij.psi.PsiClass in <lambda>()
33 import com.intellij.psi.PsiClassType in <lambda>()
34 import com.intellij.psi.PsiCompiledFile in <lambda>()
35 import com.intellij.psi.PsiModifier in <lambda>()
36 import com.intellij.psi.PsiModifierListOwner in <lambda>()
37 import com.intellij.psi.PsiType in <lambda>()
38 import com.intellij.psi.PsiTypeParameter in <lambda>()
39 import com.intellij.psi.SyntheticElement in <lambda>()
40 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 …]
DPsiModifierItem.kt17 package com.android.tools.metalava.model.psi
27 import com.intellij.psi.PsiDocCommentOwner
28 import com.intellij.psi.PsiModifier
29 import com.intellij.psi.PsiModifierList
30 import com.intellij.psi.PsiModifierListOwner
31 import com.intellij.psi.PsiPrimitiveType
32 import com.intellij.psi.PsiReferenceExpression
33 import com.intellij.psi.impl.light.LightModifierList
37 import org.jetbrains.kotlin.psi.KtModifierList
38 import org.jetbrains.kotlin.psi.KtNamedFunction
[all …]
DPsiMethodItem.kt17 package com.android.tools.metalava.model.psi in <lambda>()
27 import com.intellij.psi.PsiAnnotationMethod in <lambda>()
28 import com.intellij.psi.PsiArrayType 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>()
149 val p = containingClass().psi() as? PsiClass ?: return false in <lambda>()
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>()
DPsiItem.kt17 package com.android.tools.metalava.model.psi
24 import com.intellij.psi.PsiCompiledElement
25 import com.intellij.psi.PsiDocCommentOwner
26 import com.intellij.psi.PsiElement
27 import com.intellij.psi.PsiModifierListOwner
29 import org.jetbrains.kotlin.kdoc.psi.api.KDoc
80 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
70 val p = containingClass().psi() as? PsiClass ?: return false in isEnumConstant()
DPsiParameterItem.kt17 package com.android.tools.metalava.model.psi
22 import com.android.tools.metalava.model.psi.CodePrinter.Companion.constantToSource
23 import com.intellij.psi.PsiParameter
24 import org.jetbrains.kotlin.psi.KtConstantExpression
25 import org.jetbrains.kotlin.psi.KtNamedFunction
26 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 com.intellij.psi.PsiType
50 val p = containingClass().psi() as? PsiClass ?: return false in type()
/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 …]
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.KtClass in <lambda>()
36 import org.jetbrains.kotlin.psi.KtProperty in <lambda>()
37 import org.jetbrains.kotlin.psi.psiUtil.containingClass in <lambda>()
[all …]
DReporter.kt29 import com.android.tools.metalava.model.psi.PsiItem in <lambda>()
34 import com.intellij.psi.PsiCompiledElement in <lambda>()
35 import com.intellij.psi.PsiElement in <lambda>()
36 import com.intellij.psi.PsiModifierListOwner in <lambda>()
37 import com.intellij.psi.impl.light.LightElement in <lambda>()
134 fun report(id: Issues.Issue, item: Item?, message: String, psi: PsiElement? = null): Boolean { in report()
143 psi != null -> which(severity, elementToLocation(psi), message, id) in report()
144 item is PsiItem -> which(severity, elementToLocation(item.psi()), message, id) in report()
172 } else if (psi != null && baseline != null && baseline.mark(psi, message, id)) { in report()
DKotlinInteropChecks.kt30 import org.jetbrains.kotlin.psi.KtObjectDeclaration in <lambda>()
31 import org.jetbrains.kotlin.psi.KtProperty in <lambda>()
32 import org.jetbrains.kotlin.psi.psiUtil.containingClassOrObject in <lambda>()
33 import org.jetbrains.kotlin.psi.psiUtil.isPublic in <lambda>()
134 val psi = field.psi() in <lambda>() constant
135 if (psi is KotlinUField) { in <lambda>()
136 val sourcePsi = psi.sourcePsi in <lambda>()
DDocAnalyzer.kt21 import com.android.tools.metalava.model.psi.containsLinkTags in <lambda>()
24 import com.intellij.psi.PsiClass in <lambda>()
25 import com.intellij.psi.PsiField in <lambda>()
26 import com.intellij.psi.PsiMethod in <lambda>()
729 val psiMethod = method.psi() as? PsiMethod ?: return in <lambda>()
735 val psiClass = cls.psi() as PsiClass in <lambda>()
748 val psiField = field.psi() as PsiField in <lambda>()
DDriver.kt43 import com.android.tools.metalava.model.psi.PsiBasedCodebase in <lambda>()
44 import com.android.tools.metalava.model.psi.packageHtmlToJavadoc in <lambda>()
60 import com.intellij.psi.javadoc.CustomJavadocTagProvider in <lambda>()
61 import com.intellij.psi.javadoc.JavadocTagInfo in <lambda>()
957 com.intellij.psi.javadoc.JavadocManager::class.java, in createProjectEnvironment()
958 com.intellij.psi.impl.source.javadoc.JavadocManagerImpl::class.java in createProjectEnvironment()
961 com.intellij.psi.javadoc.JavadocTagInfo::class.java) in createProjectEnvironment()
DApiLint.kt153 import com.android.tools.metalava.model.psi.PsiMethodItem in <lambda>()
155 import com.intellij.psi.JavaRecursiveElementVisitor in <lambda>()
156 import com.intellij.psi.PsiClassObjectAccessExpression in <lambda>()
157 import com.intellij.psi.PsiElement in <lambda>()
158 import com.intellij.psi.PsiSynchronizedStatement in <lambda>()
159 import com.intellij.psi.PsiThisExpression in <lambda>()
1120 fun reportError(method: MethodItem, psi: PsiElement? = null) { in <lambda>()
1122 if (psi != null) { in <lambda>()
1127 report(VISIBLY_SYNCHRONIZED, method, message.toString(), psi) in <lambda>()
/tools/metalava/src/main/java/com/android/tools/metalava/model/
DAnnotationItem.kt39 import com.android.tools.metalava.model.psi.PsiBasedCodebase in <lambda>()
41 import com.intellij.psi.PsiCallExpression in <lambda>()
42 import com.intellij.psi.PsiField in <lambda>()
43 import com.intellij.psi.PsiModifierListOwner in <lambda>()
44 import com.intellij.psi.PsiReference in <lambda>()
45 import org.jetbrains.kotlin.psi.KtObjectDeclaration in <lambda>()
592 val sourcePsi = item.psi() in getImplicitNullness()
609 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>()
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>()
869 val psi = node.sourcePsi in <lambda>() constant
870 psi?.accept(object : JavaRecursiveElementVisitor() { in <lambda>()

12