detekt-api
1.21.0-RC2

# BaseRule

abstract class BaseRule (context: Context = DefaultContext()) : DetektVisitor, Context
Content copied to clipboard

Defines the visiting mechanism for KtFile's.

Custom rule implementations should actually use Rule as base class.

The extraction of this class from Rule actually resulted from the need of running many different checks on the same KtFile but within a single potential costly visiting process, see MultiRule.

This base rule class abstracts over single and multi rules and allows the detekt core engine to only care about a single type.

## Constructors

BaseRule
Link copied to clipboard
fun BaseRule (context: Context = DefaultContext())
Content copied to clipboard

## Functions

clearFindings
Link copied to clipboard
open override fun clearFindings ()
Content copied to clipboard

Clears previous findings. Normally this is done on every new KtFile analyzed and should be called by clients.

report
Link copied to clipboard
open override fun report ( finding: Finding , aliases: Set < String >, ruleSetId: RuleSetId ?)
Content copied to clipboard

Reports a single new violation. By contract the implementation can check if this finding is already suppressed and should not get reported. An alias set can be given to additionally check if an alias was used when suppressing. Additionally suppression by rule set id is supported.

open override fun report ( findings: List < Finding >, aliases: Set < String >, ruleSetId: RuleSetId ?)
Content copied to clipboard

Same as report but reports a list of findings.

visit
Link copied to clipboard
open fun visit (root: KtFile)
Content copied to clipboard

Init function to start visiting the KtFile. Can be overridden to start a different visiting process.

visitAnnotatedExpression
Link copied to clipboard
open fun visitAnnotatedExpression (@NotNull p0: KtAnnotatedExpression)
Content copied to clipboard
override fun visitAnnotatedExpression (@NotNull p0: KtAnnotatedExpression, p1: Void ): Void
Content copied to clipboard
visitAnnotation
Link copied to clipboard
open fun visitAnnotation (@NotNull p0: KtAnnotation)
Content copied to clipboard
override fun visitAnnotation (@NotNull p0: KtAnnotation, p1: Void ): Void
Content copied to clipboard
visitAnnotationEntry
Link copied to clipboard
open fun visitAnnotationEntry (@NotNull p0: KtAnnotationEntry)
Content copied to clipboard
override fun visitAnnotationEntry (@NotNull p0: KtAnnotationEntry, p1: Void ): Void
Content copied to clipboard
visitAnnotationUseSiteTarget
Link copied to clipboard
open fun visitAnnotationUseSiteTarget (@NotNull p0: KtAnnotationUseSiteTarget, p1: Void ): Void
Content copied to clipboard
visitAnonymousInitializer
Link copied to clipboard
open fun visitAnonymousInitializer (@NotNull p0: KtAnonymousInitializer)
Content copied to clipboard
override fun visitAnonymousInitializer (@NotNull p0: KtAnonymousInitializer, p1: Void ): Void
Content copied to clipboard
visitArgument
Link copied to clipboard
open fun visitArgument (@NotNull p0: KtValueArgument)
Content copied to clipboard
override fun visitArgument (@NotNull p0: KtValueArgument, p1: Void ): Void
Content copied to clipboard
visitArrayAccessExpression
Link copied to clipboard
open fun visitArrayAccessExpression (@NotNull p0: KtArrayAccessExpression)
Content copied to clipboard
override fun visitArrayAccessExpression (@NotNull p0: KtArrayAccessExpression, p1: Void ): Void
Content copied to clipboard
visitBackingField
Link copied to clipboard
open fun visitBackingField (@NotNull p0: KtBackingField, p1: Void ): Void
Content copied to clipboard
visitBinaryExpression
Link copied to clipboard
open fun visitBinaryExpression (@NotNull p0: KtBinaryExpression)
Content copied to clipboard
override fun visitBinaryExpression (@NotNull p0: KtBinaryExpression, p1: Void ): Void
Content copied to clipboard
visitBinaryFile
Link copied to clipboard
open fun visitBinaryFile (@NotNull p0: @NotNull PsiBinaryFile)
Content copied to clipboard
visitBinaryWithTypeRHSExpression
Link copied to clipboard
open fun visitBinaryWithTypeRHSExpression (@NotNull p0: KtBinaryExpressionWithTypeRHS)
Content copied to clipboard
override fun visitBinaryWithTypeRHSExpression (@NotNull p0: KtBinaryExpressionWithTypeRHS, p1: Void ): Void
Content copied to clipboard
visitBlockExpression
Link copied to clipboard
open fun visitBlockExpression (@NotNull p0: KtBlockExpression)
Content copied to clipboard
override fun visitBlockExpression (@NotNull p0: KtBlockExpression, p1: Void ): Void
Content copied to clipboard
visitBlockStringTemplateEntry
Link copied to clipboard
open fun visitBlockStringTemplateEntry (@NotNull p0: KtBlockStringTemplateEntry)
Content copied to clipboard
override fun visitBlockStringTemplateEntry (@NotNull p0: KtBlockStringTemplateEntry, p1: Void ): Void
Content copied to clipboard
visitBreakExpression
Link copied to clipboard
open fun visitBreakExpression (@NotNull p0: KtBreakExpression)
Content copied to clipboard
override fun visitBreakExpression (@NotNull p0: KtBreakExpression, p1: Void ): Void
Content copied to clipboard
visitCallableReferenceExpression
Link copied to clipboard
open fun visitCallableReferenceExpression (@NotNull p0: KtCallableReferenceExpression)
Content copied to clipboard
override fun visitCallableReferenceExpression (@NotNull p0: KtCallableReferenceExpression, p1: Void ): Void
Content copied to clipboard
visitCallExpression
Link copied to clipboard
open fun visitCallExpression (@NotNull p0: KtCallExpression)
Content copied to clipboard
override fun visitCallExpression (@NotNull p0: KtCallExpression, p1: Void ): Void
Content copied to clipboard
visitCatchSection
Link copied to clipboard
open fun visitCatchSection (@NotNull p0: KtCatchClause)
Content copied to clipboard
override fun visitCatchSection (@NotNull p0: KtCatchClause, p1: Void ): Void
Content copied to clipboard
visitClass
Link copied to clipboard
open fun visitClass (@NotNull p0: KtClass)
Content copied to clipboard
override fun visitClass (@NotNull p0: KtClass, p1: Void ): Void
Content copied to clipboard
visitClassBody
Link copied to clipboard
open fun visitClassBody (@NotNull p0: KtClassBody)
Content copied to clipboard
override fun visitClassBody (@NotNull p0: KtClassBody, p1: Void ): Void
Content copied to clipboard
visitClassInitializer
Link copied to clipboard
open fun visitClassInitializer (@NotNull p0: KtClassInitializer)
Content copied to clipboard
open override fun visitClassInitializer (@NotNull p0: KtClassInitializer, p1: Void ): Void
Content copied to clipboard
visitClassLiteralExpression
Link copied to clipboard
open fun visitClassLiteralExpression (@NotNull p0: KtClassLiteralExpression)
Content copied to clipboard
override fun visitClassLiteralExpression (@NotNull p0: KtClassLiteralExpression, p1: Void ): Void
Content copied to clipboard
visitClassOrObject
Link copied to clipboard
open fun visitClassOrObject (@NotNull p0: KtClassOrObject)
Content copied to clipboard
override fun visitClassOrObject (@NotNull p0: KtClassOrObject, p1: Void ): Void
Content copied to clipboard
visitCollectionLiteralExpression
Link copied to clipboard
open fun visitCollectionLiteralExpression (@NotNull p0: KtCollectionLiteralExpression)
Content copied to clipboard
override fun visitCollectionLiteralExpression (@NotNull p0: KtCollectionLiteralExpression, p1: Void ): Void
Content copied to clipboard
visitComment
Link copied to clipboard
open fun visitComment (@NotNull p0: @NotNull PsiComment)
Content copied to clipboard
visitCondition
Link copied to clipboard
abstract fun visitCondition (root: KtFile): Boolean
Content copied to clipboard

Basic mechanism to decide if a rule should run or not.

visitConstantExpression
Link copied to clipboard
open fun visitConstantExpression (@NotNull p0: KtConstantExpression)
Content copied to clipboard
override fun visitConstantExpression (@NotNull p0: KtConstantExpression, p1: Void ): Void
Content copied to clipboard
visitConstructorCalleeExpression
Link copied to clipboard
open fun visitConstructorCalleeExpression (@NotNull p0: KtConstructorCalleeExpression)
Content copied to clipboard
override fun visitConstructorCalleeExpression (@NotNull p0: KtConstructorCalleeExpression, p1: Void ): Void
Content copied to clipboard
visitConstructorDelegationCall
Link copied to clipboard
open fun visitConstructorDelegationCall (@NotNull p0: KtConstructorDelegationCall)
Content copied to clipboard
override fun visitConstructorDelegationCall (@NotNull p0: KtConstructorDelegationCall, p1: Void ): Void
Content copied to clipboard
visitContextReceiverList
Link copied to clipboard
open fun visitContextReceiverList (@NotNull p0: KtContextReceiverList)
Content copied to clipboard
open fun visitContextReceiverList (@NotNull p0: KtContextReceiverList, p1: Void ): Void
Content copied to clipboard
visitContinueExpression
Link copied to clipboard
open fun visitContinueExpression (@NotNull p0: KtContinueExpression)
Content copied to clipboard
override fun visitContinueExpression (@NotNull p0: KtContinueExpression, p1: Void ): Void
Content copied to clipboard
visitDeclaration
Link copied to clipboard
open fun visitDeclaration (@NotNull p0: KtDeclaration)
Content copied to clipboard
override fun visitDeclaration (@NotNull p0: KtDeclaration, p1: Void ): Void
Content copied to clipboard
visitDelegatedSuperTypeEntry
Link copied to clipboard
open fun visitDelegatedSuperTypeEntry (@NotNull p0: KtDelegatedSuperTypeEntry)
Content copied to clipboard
override fun visitDelegatedSuperTypeEntry (@NotNull p0: KtDelegatedSuperTypeEntry, p1: Void ): Void
Content copied to clipboard
visitDestructuringDeclaration
Link copied to clipboard
open fun visitDestructuringDeclaration (@NotNull p0: KtDestructuringDeclaration)
Content copied to clipboard
override fun visitDestructuringDeclaration (@NotNull p0: KtDestructuringDeclaration, p1: Void ): Void
Content copied to clipboard
visitDestructuringDeclarationEntry
Link copied to clipboard
open fun visitDestructuringDeclarationEntry (@NotNull p0: KtDestructuringDeclarationEntry)
Content copied to clipboard
override fun visitDestructuringDeclarationEntry (@NotNull p0: KtDestructuringDeclarationEntry, p1: Void ): Void
Content copied to clipboard
visitDirectory
Link copied to clipboard
open fun visitDirectory (@NotNull p0: @NotNull PsiDirectory)
Content copied to clipboard
visitDotQualifiedExpression
Link copied to clipboard
open fun visitDotQualifiedExpression (@NotNull p0: KtDotQualifiedExpression)
Content copied to clipboard
override fun visitDotQualifiedExpression (@NotNull p0: KtDotQualifiedExpression, p1: Void ): Void
Content copied to clipboard
visitDoubleColonExpression
Link copied to clipboard
open fun visitDoubleColonExpression (@NotNull p0: KtDoubleColonExpression)
Content copied to clipboard
override fun visitDoubleColonExpression (@NotNull p0: KtDoubleColonExpression, p1: Void ): Void
Content copied to clipboard
visitDoWhileExpression
Link copied to clipboard
open fun visitDoWhileExpression (@NotNull p0: KtDoWhileExpression)
Content copied to clipboard
override fun visitDoWhileExpression (@NotNull p0: KtDoWhileExpression, p1: Void ): Void
Content copied to clipboard
visitDynamicType
Link copied to clipboard
open fun visitDynamicType (@NotNull p0: KtDynamicType)
Content copied to clipboard
open override fun visitDynamicType (@NotNull p0: KtDynamicType, p1: Void ): Void
Content copied to clipboard
visitElement
Link copied to clipboard
open override fun visitElement (@NotNull p0: PsiElement)
Content copied to clipboard
visitEnumEntry
Link copied to clipboard
open fun visitEnumEntry (@NotNull p0: KtEnumEntry)
Content copied to clipboard
override fun visitEnumEntry (@NotNull p0: KtEnumEntry, p1: Void ): Void
Content copied to clipboard
visitErrorElement
Link copied to clipboard
open fun visitErrorElement (@NotNull p0: @NotNull PsiErrorElement)
Content copied to clipboard
visitEscapeStringTemplateEntry
Link copied to clipboard
open fun visitEscapeStringTemplateEntry (@NotNull p0: KtEscapeStringTemplateEntry)
Content copied to clipboard
override fun visitEscapeStringTemplateEntry (@NotNull p0: KtEscapeStringTemplateEntry, p1: Void ): Void
Content copied to clipboard
visitExpression
Link copied to clipboard
open fun visitExpression (@NotNull p0: KtExpression)
Content copied to clipboard
override fun visitExpression (@NotNull p0: KtExpression, p1: Void ): Void
Content copied to clipboard
visitExpressionWithLabel
Link copied to clipboard
open fun visitExpressionWithLabel (@NotNull p0: KtExpressionWithLabel)
Content copied to clipboard
override fun visitExpressionWithLabel (@NotNull p0: KtExpressionWithLabel, p1: Void ): Void
Content copied to clipboard
visitFile
Link copied to clipboard
open fun visitFile (@NotNull p0: @NotNull PsiFile)
Content copied to clipboard
fun visitFile ( root: KtFile, bindingContext: BindingContext = BindingContext.EMPTY, compilerResources: CompilerResources ? = null)
Content copied to clipboard

Before starting visiting kotlin elements, a check is performed if this rule should be triggered. Pre- and post-visit-hooks are executed before/after the visiting process. BindingContext holds the result of the semantic analysis of the source code by the Kotlin compiler. Rules that rely on symbols and types being resolved can use the BindingContext for this analysis. Note that detekt must receive the correct compile classpath for the code being analyzed otherwise the default value BindingContext.EMPTY will be used and it will not be possible for detekt to resolve types or symbols.

visitFileAnnotationList
Link copied to clipboard
open fun visitFileAnnotationList (@NotNull p0: KtFileAnnotationList, p1: Void ): Void
Content copied to clipboard
visitFinallySection
Link copied to clipboard
open fun visitFinallySection (@NotNull p0: KtFinallySection)
Content copied to clipboard
override fun visitFinallySection (@NotNull p0: KtFinallySection, p1: Void ): Void
Content copied to clipboard
visitForExpression
Link copied to clipboard
open fun visitForExpression (@NotNull p0: KtForExpression)
Content copied to clipboard
override fun visitForExpression (@NotNull p0: KtForExpression, p1: Void ): Void
Content copied to clipboard
visitFunctionType
Link copied to clipboard
open fun visitFunctionType (@NotNull p0: KtFunctionType)
Content copied to clipboard
override fun visitFunctionType (@NotNull p0: KtFunctionType, p1: Void ): Void
Content copied to clipboard
visitIfExpression
Link copied to clipboard
open fun visitIfExpression (@NotNull p0: KtIfExpression)
Content copied to clipboard
override fun visitIfExpression (@NotNull p0: KtIfExpression, p1: Void ): Void
Content copied to clipboard
visitImportAlias
Link copied to clipboard
open fun visitImportAlias (@NotNull p0: KtImportAlias)
Content copied to clipboard
open fun visitImportAlias (@NotNull p0: KtImportAlias, p1: Void ): Void
Content copied to clipboard
visitImportDirective
Link copied to clipboard
open fun visitImportDirective (@NotNull p0: KtImportDirective)
Content copied to clipboard
override fun visitImportDirective (@NotNull p0: KtImportDirective, p1: Void ): Void
Content copied to clipboard
visitImportList
Link copied to clipboard
open fun visitImportList (@NotNull p0: KtImportList)
Content copied to clipboard
override fun visitImportList (@NotNull p0: KtImportList, p1: Void ): Void
Content copied to clipboard
visitInitializerList
Link copied to clipboard
open fun visitInitializerList (@NotNull p0: KtInitializerList)
Content copied to clipboard
override fun visitInitializerList (@NotNull p0: KtInitializerList, p1: Void ): Void
Content copied to clipboard
visitIntersectionType
Link copied to clipboard
open fun visitIntersectionType (@NotNull p0: KtIntersectionType)
Content copied to clipboard
open override fun visitIntersectionType (@NotNull p0: KtIntersectionType, p1: Void ): Void
Content copied to clipboard
visitIsExpression
Link copied to clipboard
open fun visitIsExpression (@NotNull p0: KtIsExpression)
Content copied to clipboard
override fun visitIsExpression (@NotNull p0: KtIsExpression, p1: Void ): Void
Content copied to clipboard
visitKtElement
Link copied to clipboard
open fun visitKtElement (@NotNull p0: KtElement)
Content copied to clipboard
override fun visitKtElement (@NotNull p0: KtElement, p1: Void ): Void
Content copied to clipboard
visitKtFile
Link copied to clipboard
open fun visitKtFile (@NotNull p0: KtFile)
Content copied to clipboard
override fun visitKtFile (@NotNull p0: KtFile, p1: Void ): Void
Content copied to clipboard
visitLabeledExpression
Link copied to clipboard
open fun visitLabeledExpression (@NotNull p0: KtLabeledExpression)
Content copied to clipboard
override fun visitLabeledExpression (@NotNull p0: KtLabeledExpression, p1: Void ): Void
Content copied to clipboard
visitLambdaExpression
Link copied to clipboard
open fun visitLambdaExpression (@NotNull p0: KtLambdaExpression)
Content copied to clipboard
override fun visitLambdaExpression (@NotNull p0: KtLambdaExpression, p1: Void ): Void
Content copied to clipboard
visitLiteralStringTemplateEntry
Link copied to clipboard
open fun visitLiteralStringTemplateEntry (@NotNull p0: KtLiteralStringTemplateEntry)
Content copied to clipboard
override fun visitLiteralStringTemplateEntry (@NotNull p0: KtLiteralStringTemplateEntry, p1: Void ): Void
Content copied to clipboard
visitLoopExpression
Link copied to clipboard
open fun visitLoopExpression (@NotNull p0: KtLoopExpression)
Content copied to clipboard
override fun visitLoopExpression (@NotNull p0: KtLoopExpression, p1: Void ): Void
Content copied to clipboard
visitModifierList
Link copied to clipboard
open fun visitModifierList (@NotNull p0: KtModifierList)
Content copied to clipboard
override fun visitModifierList (@NotNull p0: KtModifierList, p1: Void ): Void
Content copied to clipboard
visitNamedDeclaration
Link copied to clipboard
open fun visitNamedDeclaration (@NotNull p0: KtNamedDeclaration)
Content copied to clipboard
override fun visitNamedDeclaration (@NotNull p0: KtNamedDeclaration, p1: Void ): Void
Content copied to clipboard
visitNamedFunction
Link copied to clipboard
open fun visitNamedFunction (@NotNull p0: KtNamedFunction)
Content copied to clipboard
override fun visitNamedFunction (@NotNull p0: KtNamedFunction, p1: Void ): Void
Content copied to clipboard
visitNullableType
Link copied to clipboard
open fun visitNullableType (@NotNull p0: KtNullableType)
Content copied to clipboard
override fun visitNullableType (@NotNull p0: KtNullableType, p1: Void ): Void
Content copied to clipboard
visitObjectDeclaration
Link copied to clipboard
open fun visitObjectDeclaration (@NotNull p0: KtObjectDeclaration)
Content copied to clipboard
override fun visitObjectDeclaration (@NotNull p0: KtObjectDeclaration, p1: Void ): Void
Content copied to clipboard
visitObjectLiteralExpression
Link copied to clipboard
open fun visitObjectLiteralExpression (@NotNull p0: KtObjectLiteralExpression)
Content copied to clipboard
override fun visitObjectLiteralExpression (@NotNull p0: KtObjectLiteralExpression, p1: Void ): Void
Content copied to clipboard
visitOuterLanguageElement
Link copied to clipboard
open fun visitOuterLanguageElement (@NotNull p0: @NotNull OuterLanguageElement)
Content copied to clipboard
visitPackageDirective
Link copied to clipboard
open fun visitPackageDirective (@NotNull p0: KtPackageDirective)
Content copied to clipboard
open override fun visitPackageDirective (@NotNull p0: KtPackageDirective, p1: Void ): Void
Content copied to clipboard
visitParameter
Link copied to clipboard
open fun visitParameter (@NotNull p0: KtParameter)
Content copied to clipboard
override fun visitParameter (@NotNull p0: KtParameter, p1: Void ): Void
Content copied to clipboard
visitParameterList
Link copied to clipboard
open fun visitParameterList (@NotNull p0: KtParameterList)
Content copied to clipboard
override fun visitParameterList (@NotNull p0: KtParameterList, p1: Void ): Void
Content copied to clipboard
visitParenthesizedExpression
Link copied to clipboard
open fun visitParenthesizedExpression (@NotNull p0: KtParenthesizedExpression)
Content copied to clipboard
override fun visitParenthesizedExpression (@NotNull p0: KtParenthesizedExpression, p1: Void ): Void
Content copied to clipboard
visitPlainText
Link copied to clipboard
open fun visitPlainText (@NotNull p0: @NotNull PsiPlainText)
Content copied to clipboard
visitPlainTextFile
Link copied to clipboard
open fun visitPlainTextFile (@NotNull p0: @NotNull PsiPlainTextFile)
Content copied to clipboard
visitPostfixExpression
Link copied to clipboard
open fun visitPostfixExpression (@NotNull p0: KtPostfixExpression)
Content copied to clipboard
override fun visitPostfixExpression (@NotNull p0: KtPostfixExpression, p1: Void ): Void
Content copied to clipboard
visitPrefixExpression
Link copied to clipboard
open fun visitPrefixExpression (@NotNull p0: KtPrefixExpression)
Content copied to clipboard
override fun visitPrefixExpression (@NotNull p0: KtPrefixExpression, p1: Void ): Void
Content copied to clipboard
visitPrimaryConstructor
Link copied to clipboard
open fun visitPrimaryConstructor (@NotNull p0: KtPrimaryConstructor)
Content copied to clipboard
override fun visitPrimaryConstructor (@NotNull p0: KtPrimaryConstructor, p1: Void ): Void
Content copied to clipboard
visitProperty
Link copied to clipboard
open fun visitProperty (@NotNull p0: KtProperty)
Content copied to clipboard
override fun visitProperty (@NotNull p0: KtProperty, p1: Void ): Void
Content copied to clipboard
visitPropertyAccessor
Link copied to clipboard
open fun visitPropertyAccessor (@NotNull p0: KtPropertyAccessor)
Content copied to clipboard
override fun visitPropertyAccessor (@NotNull p0: KtPropertyAccessor, p1: Void ): Void
Content copied to clipboard
visitPropertyDelegate
Link copied to clipboard
open fun visitPropertyDelegate (@NotNull p0: KtPropertyDelegate)
Content copied to clipboard
override fun visitPropertyDelegate (@NotNull p0: KtPropertyDelegate, p1: Void ): Void
Content copied to clipboard
visitQualifiedExpression
Link copied to clipboard
open fun visitQualifiedExpression (@NotNull p0: KtQualifiedExpression)
Content copied to clipboard
override fun visitQualifiedExpression (@NotNull p0: KtQualifiedExpression, p1: Void ): Void
Content copied to clipboard
visitReferenceExpression
Link copied to clipboard
open fun visitReferenceExpression (@NotNull p0: KtReferenceExpression)
Content copied to clipboard
override fun visitReferenceExpression (@NotNull p0: KtReferenceExpression, p1: Void ): Void
Content copied to clipboard
visitReturnExpression
Link copied to clipboard
open fun visitReturnExpression (@NotNull p0: KtReturnExpression)
Content copied to clipboard
override fun visitReturnExpression (@NotNull p0: KtReturnExpression, p1: Void ): Void
Content copied to clipboard
visitSafeQualifiedExpression
Link copied to clipboard
open fun visitSafeQualifiedExpression (@NotNull p0: KtSafeQualifiedExpression)
Content copied to clipboard
override fun visitSafeQualifiedExpression (@NotNull p0: KtSafeQualifiedExpression, p1: Void ): Void
Content copied to clipboard
visitScript
Link copied to clipboard
open fun visitScript (@NotNull p0: KtScript)
Content copied to clipboard
override fun visitScript (@NotNull p0: KtScript, p1: Void ): Void
Content copied to clipboard
visitScriptInitializer
Link copied to clipboard
open fun visitScriptInitializer (@NotNull p0: KtScriptInitializer)
Content copied to clipboard
open override fun visitScriptInitializer (@NotNull p0: KtScriptInitializer, p1: Void ): Void
Content copied to clipboard
visitSecondaryConstructor
Link copied to clipboard
open fun visitSecondaryConstructor (@NotNull p0: KtSecondaryConstructor)
Content copied to clipboard
override fun visitSecondaryConstructor (@NotNull p0: KtSecondaryConstructor, p1: Void ): Void
Content copied to clipboard
visitSelfType
Link copied to clipboard
open fun visitSelfType (@NotNull p0: KtSelfType)
Content copied to clipboard
override fun visitSelfType (@NotNull p0: KtSelfType, p1: Void ): Void
Content copied to clipboard
visitSimpleNameExpression
Link copied to clipboard
open fun visitSimpleNameExpression (@NotNull p0: KtSimpleNameExpression)
Content copied to clipboard
override fun visitSimpleNameExpression (@NotNull p0: KtSimpleNameExpression, p1: Void ): Void
Content copied to clipboard
visitSimpleNameStringTemplateEntry
Link copied to clipboard
open fun visitSimpleNameStringTemplateEntry (@NotNull p0: KtSimpleNameStringTemplateEntry)
Content copied to clipboard
override fun visitSimpleNameStringTemplateEntry (@NotNull p0: KtSimpleNameStringTemplateEntry, p1: Void ): Void
Content copied to clipboard
visitStringTemplateEntry
Link copied to clipboard
open fun visitStringTemplateEntry (@NotNull p0: KtStringTemplateEntry)
Content copied to clipboard
override fun visitStringTemplateEntry (@NotNull p0: KtStringTemplateEntry, p1: Void ): Void
Content copied to clipboard
visitStringTemplateEntryWithExpression
Link copied to clipboard
open fun visitStringTemplateEntryWithExpression (@NotNull p0: KtStringTemplateEntryWithExpression)
Content copied to clipboard
override fun visitStringTemplateEntryWithExpression (@NotNull p0: KtStringTemplateEntryWithExpression, p1: Void ): Void
Content copied to clipboard
visitStringTemplateExpression
Link copied to clipboard
open fun visitStringTemplateExpression (@NotNull p0: KtStringTemplateExpression)
Content copied to clipboard
override fun visitStringTemplateExpression (@NotNull p0: KtStringTemplateExpression, p1: Void ): Void
Content copied to clipboard
visitSuperExpression
Link copied to clipboard
open fun visitSuperExpression (@NotNull p0: KtSuperExpression)
Content copied to clipboard
override fun visitSuperExpression (@NotNull p0: KtSuperExpression, p1: Void ): Void
Content copied to clipboard
visitSuperTypeCallEntry
Link copied to clipboard
open fun visitSuperTypeCallEntry (@NotNull p0: KtSuperTypeCallEntry)
Content copied to clipboard
override fun visitSuperTypeCallEntry (@NotNull p0: KtSuperTypeCallEntry, p1: Void ): Void
Content copied to clipboard
visitSuperTypeEntry
Link copied to clipboard
open fun visitSuperTypeEntry (@NotNull p0: KtSuperTypeEntry)
Content copied to clipboard
override fun visitSuperTypeEntry (@NotNull p0: KtSuperTypeEntry, p1: Void ): Void
Content copied to clipboard
visitSuperTypeList
Link copied to clipboard
open fun visitSuperTypeList (@NotNull p0: KtSuperTypeList)
Content copied to clipboard
override fun visitSuperTypeList (@NotNull p0: KtSuperTypeList, p1: Void ): Void
Content copied to clipboard
visitSuperTypeListEntry
Link copied to clipboard
open fun visitSuperTypeListEntry (@NotNull p0: KtSuperTypeListEntry)
Content copied to clipboard
override fun visitSuperTypeListEntry (@NotNull p0: KtSuperTypeListEntry, p1: Void ): Void
Content copied to clipboard
visitThisExpression
Link copied to clipboard
open fun visitThisExpression (@NotNull p0: KtThisExpression)
Content copied to clipboard
override fun visitThisExpression (@NotNull p0: KtThisExpression, p1: Void ): Void
Content copied to clipboard
visitThrowExpression
Link copied to clipboard
open fun visitThrowExpression (@NotNull p0: KtThrowExpression)
Content copied to clipboard
override fun visitThrowExpression (@NotNull p0: KtThrowExpression, p1: Void ): Void
Content copied to clipboard
visitTryExpression
Link copied to clipboard
open fun visitTryExpression (@NotNull p0: KtTryExpression)
Content copied to clipboard
override fun visitTryExpression (@NotNull p0: KtTryExpression, p1: Void ): Void
Content copied to clipboard
visitTypeAlias
Link copied to clipboard
open fun visitTypeAlias (@NotNull p0: KtTypeAlias)
Content copied to clipboard
override fun visitTypeAlias (@NotNull p0: KtTypeAlias, p1: Void ): Void
Content copied to clipboard
visitTypeArgumentList
Link copied to clipboard
open fun visitTypeArgumentList (@NotNull p0: KtTypeArgumentList)
Content copied to clipboard
override fun visitTypeArgumentList (@NotNull p0: KtTypeArgumentList, p1: Void ): Void
Content copied to clipboard
visitTypeConstraint
Link copied to clipboard
open fun visitTypeConstraint (@NotNull p0: KtTypeConstraint)
Content copied to clipboard
override fun visitTypeConstraint (@NotNull p0: KtTypeConstraint, p1: Void ): Void
Content copied to clipboard
visitTypeConstraintList
Link copied to clipboard
open fun visitTypeConstraintList (@NotNull p0: KtTypeConstraintList)
Content copied to clipboard
override fun visitTypeConstraintList (@NotNull p0: KtTypeConstraintList, p1: Void ): Void
Content copied to clipboard
visitTypeParameter
Link copied to clipboard
open fun visitTypeParameter (@NotNull p0: KtTypeParameter)
Content copied to clipboard
override fun visitTypeParameter (@NotNull p0: KtTypeParameter, p1: Void ): Void
Content copied to clipboard
visitTypeParameterList
Link copied to clipboard
open fun visitTypeParameterList (@NotNull p0: KtTypeParameterList)
Content copied to clipboard
override fun visitTypeParameterList (@NotNull p0: KtTypeParameterList, p1: Void ): Void
Content copied to clipboard
visitTypeProjection
Link copied to clipboard
open fun visitTypeProjection (@NotNull p0: KtTypeProjection)
Content copied to clipboard
override fun visitTypeProjection (@NotNull p0: KtTypeProjection, p1: Void ): Void
Content copied to clipboard
visitTypeReference
Link copied to clipboard
open fun visitTypeReference (@NotNull p0: KtTypeReference)
Content copied to clipboard
override fun visitTypeReference (@NotNull p0: KtTypeReference, p1: Void ): Void
Content copied to clipboard
visitUnaryExpression
Link copied to clipboard
open fun visitUnaryExpression (@NotNull p0: KtUnaryExpression)
Content copied to clipboard
override fun visitUnaryExpression (@NotNull p0: KtUnaryExpression, p1: Void ): Void
Content copied to clipboard
visitUserType
Link copied to clipboard
open fun visitUserType (@NotNull p0: KtUserType)
Content copied to clipboard
override fun visitUserType (@NotNull p0: KtUserType, p1: Void ): Void
Content copied to clipboard
visitValueArgumentList
Link copied to clipboard
open fun visitValueArgumentList (@NotNull p0: KtValueArgumentList)
Content copied to clipboard
override fun visitValueArgumentList (@NotNull p0: KtValueArgumentList, p1: Void ): Void
Content copied to clipboard
visitWhenConditionInRange
Link copied to clipboard
open fun visitWhenConditionInRange (@NotNull p0: KtWhenConditionInRange)
Content copied to clipboard
override fun visitWhenConditionInRange (@NotNull p0: KtWhenConditionInRange, p1: Void ): Void
Content copied to clipboard
visitWhenConditionIsPattern
Link copied to clipboard
open fun visitWhenConditionIsPattern (@NotNull p0: KtWhenConditionIsPattern)
Content copied to clipboard
override fun visitWhenConditionIsPattern (@NotNull p0: KtWhenConditionIsPattern, p1: Void ): Void
Content copied to clipboard
visitWhenConditionWithExpression
Link copied to clipboard
open fun visitWhenConditionWithExpression (@NotNull p0: KtWhenConditionWithExpression)
Content copied to clipboard
override fun visitWhenConditionWithExpression (@NotNull p0: KtWhenConditionWithExpression, p1: Void ): Void
Content copied to clipboard
visitWhenEntry
Link copied to clipboard
open fun visitWhenEntry (@NotNull p0: KtWhenEntry)
Content copied to clipboard
override fun visitWhenEntry (@NotNull p0: KtWhenEntry, p1: Void ): Void
Content copied to clipboard
visitWhenExpression
Link copied to clipboard
open fun visitWhenExpression (@NotNull p0: KtWhenExpression)
Content copied to clipboard
override fun visitWhenExpression (@NotNull p0: KtWhenExpression, p1: Void ): Void
Content copied to clipboard
visitWhileExpression
Link copied to clipboard
open fun visitWhileExpression (@NotNull p0: KtWhileExpression)
Content copied to clipboard
override fun visitWhileExpression (@NotNull p0: KtWhileExpression, p1: Void ): Void
Content copied to clipboard
visitWhiteSpace
Link copied to clipboard
open fun visitWhiteSpace (@NotNull p0: @NotNull PsiWhiteSpace)
Content copied to clipboard

## Properties

bindingContext
Link copied to clipboard
var bindingContext : BindingContext
Content copied to clipboard
compilerResources
Link copied to clipboard
var compilerResources : CompilerResources ? = null
Content copied to clipboard
findings
Link copied to clipboard
open override val findings : List < Finding >
Content copied to clipboard
ruleId
Link copied to clipboard
open val ruleId : RuleId
Content copied to clipboard

## Inheritors

MultiRule
Link copied to clipboard
Rule
Link copied to clipboard