Package modulecheck.parsing.psi

Types

Link copied to clipboard
class DeclarationVisitor : KtTreeVisitorVoid
Link copied to clipboard
class ExternalDependencyDeclarationVisitor(    val configuration: String,     group: String? = null,     name: String? = null,     version: String? = null)
Link copied to clipboard
object FqNames
Link copied to clipboard
class KotlinAndroidGradleParser @Inject constructor : AndroidGradleParser
Link copied to clipboard
class KotlinDependenciesBlock(    logger: McLogger,     val fullText: String,     val lambdaContent: String,     blockSuppressed: List<String>,     configurationNameTransform: DependencyDeclaration.ConfigurationNameTransform,     projectDependency: ProjectDependency.Factory) : AbstractDependenciesBlock
Link copied to clipboard
class KotlinDependenciesBlockParser @Inject constructor(val logger: McLogger, val projectDependency: ProjectDependency.Factory)
Link copied to clipboard
class KotlinPluginsBlock(    logger: McLogger,     val fullText: String,     val lambdaContent: String,     blockSuppressed: List<String>) : AbstractPluginsBlock
Link copied to clipboard
class KotlinPluginsBlockParser @Inject constructor(val logger: McLogger)
Link copied to clipboard
private object ModuleCheckMessageRenderer : PlainTextMessageRenderer
Link copied to clipboard
private class ModuleCheckPomModel : UserDataHolderBase, PomModel

https://github.com/pinterest/ktlint/blob/69cc0f7f826e18d7ec20e7a0f05df12d53a3c1e1/ktlint-core/src/main/kotlin/com/pinterest/ktlint/core/internal/KotlinPsiFileFactory.kt#L70

Link copied to clipboard
data class PsiElementWithSurroundingText(val psiElement: PsiElement)
Link copied to clipboard
class RealKotlinFile(    val ktFile: KtFile,     val psiResolver: PsiElementResolver,     val nameParser: NameParser) : KotlinFile
Link copied to clipboard
class ReferenceVisitor : KtTreeVisitorVoid

Functions

Link copied to clipboard
fun PsiElement.androidBlocks(): List<KtCallExpression>
Link copied to clipboard
inline fun blockExpressionRecursiveVisitor(crossinline block: KtTreeVisitorVoid.(expression: KtBlockExpression) -> Unit): KtTreeVisitorVoid
Link copied to clipboard
fun PsiElement.buildFeaturesBlocks(): List<KtCallExpression>
Link copied to clipboard
fun createBindingContext(classpath: List<String>, files: List<KtFile>): BindingContext
Link copied to clipboard
fun createKotlinCoreEnvironment(configuration: CompilerConfiguration = CompilerConfiguration(), disposable: Disposable = Disposer.newDisposable()): KotlinCoreEnvironment
Link copied to clipboard
internal fun everythingPrinter(): KtTreeVisitorVoid
Link copied to clipboard
internal fun KtCallExpression.getMavenCoordinatesOrNull(): MavenCoordinates?
Link copied to clipboard
internal fun KtCallExpression.getStringModuleNameOrNull(): Pair<String, String>?
Link copied to clipboard
internal fun KtCallExpression.getStringTestFixturesModuleNameOrNull(): Pair<String, String>?
Link copied to clipboard
internal fun KtCallExpression.getTypeSafeModuleNameOrNull(): Pair<String, String>?
Link copied to clipboard
internal fun KtCallExpression.getTypeSafeTestFixturesModuleNameOrNull(): Pair<String, String>?
Link copied to clipboard
internal fun KtCallExpression.getUnknownArgumentOrNull(): String?
Link copied to clipboard
fun PsiElement.inBuildscript(): Boolean
Link copied to clipboard
internal fun String.kotlinStdLibNameOrNull(): Reference.ExplicitKotlinReference?
Link copied to clipboard
inline fun literalStringTemplateRecursiveVisitor(crossinline block: KtTreeVisitorVoid.(entry: KtLiteralStringTemplateEntry) -> Unit): KtTreeVisitorVoid
Link copied to clipboard
private fun KtCallExpression.parseStatements(block: KotlinDependenciesBlock, suppressed: List<String>)
Link copied to clipboard
internal fun PsiElement.printEverything()
Link copied to clipboard
internal fun KtAnnotatedExpression.suppressedNames(): List<String>
internal fun KtExpression.suppressedNames(): List<String>

Properties

Link copied to clipboard
internal val kotlinStdLibNames: Map<String, String>

From Detekt, again: https://github.com/detekt/detekt/blob/2d00cab3680f49a94a95e4d8b9da08303315619b/detekt-psi-utils/src/main/kotlin/io/github/detekt/psi/internal/KotlinNoImportClasses.kt