HardCodedDispatcher
Detects use of a hard-coded reference to the kotlinx.coroutines.Dispatchers
singleton.
The CoroutineDispatcher
's in this singleton do not contain a DispatcherProvider
, so they're unaffected by this library.
Config
allowDefaultDispatcher
allowIODispatcher
allowMainDispatcher
allowMainImmediateDispatcher
allowUnconfinedDispatcher
Constructors
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun visitAnnotatedExpression(@NotNull p0: KtAnnotatedExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun visitAnnotationEntry(@NotNull p0: KtAnnotationEntry, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
open fun visitAnnotationUseSiteTarget(@NotNull p0: KtAnnotationUseSiteTarget, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitAnonymousInitializer(@NotNull p0: KtAnonymousInitializer, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
override fun visitBinaryExpression(@NotNull p0: KtBinaryExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
override fun visitBlockExpression(@NotNull p0: KtBlockExpression, p1: Void): Void
Content copied to clipboard
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
Link copied to clipboard
override fun visitBreakExpression(@NotNull p0: KtBreakExpression, p1: Void): Void
Content copied to clipboard
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
Link copied to clipboard
override fun visitCallExpression(@NotNull p0: KtCallExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitCatchSection(@NotNull p0: KtCatchClause, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun visitClassInitializer(@NotNull p0: KtClassInitializer, p1: Void): Void
Content copied to clipboard
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
Link copied to clipboard
override fun visitClassOrObject(@NotNull p0: KtClassOrObject, p1: Void): Void
Content copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun visitConstantExpression(@NotNull p0: KtConstantExpression, p1: Void): Void
Content copied to clipboard
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
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
Link copied to clipboard
open fun visitContextReceiverList(@NotNull p0: KtContextReceiverList, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitContinueExpression(@NotNull p0: KtContinueExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitDeclaration(@NotNull p0: KtDeclaration, p1: Void): Void
Content copied to clipboard
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
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
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
Link copied to clipboard
Link copied to clipboard
override fun visitDotQualifiedExpression(@NotNull p0: KtDotQualifiedExpression, p1: Void): Void
Content copied to clipboard
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
Link copied to clipboard
override fun visitDoWhileExpression(@NotNull p0: KtDoWhileExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
open override fun visitDynamicType(@NotNull p0: KtDynamicType, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
override fun visitExpressionWithLabel(@NotNull p0: KtExpressionWithLabel, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
open fun visitFileAnnotationList(@NotNull p0: KtFileAnnotationList, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitFinallySection(@NotNull p0: KtFinallySection, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitForExpression(@NotNull p0: KtForExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitFunctionType(@NotNull p0: KtFunctionType, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitIfExpression(@NotNull p0: KtIfExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun visitImportDirective(@NotNull p0: KtImportDirective, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun visitInitializerList(@NotNull p0: KtInitializerList, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
open override fun visitIntersectionType(@NotNull p0: KtIntersectionType, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitIsExpression(@NotNull p0: KtIsExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun visitLabeledExpression(@NotNull p0: KtLabeledExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitLambdaExpression(@NotNull p0: KtLambdaExpression, p1: Void): Void
Content copied to clipboard
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
Link copied to clipboard
override fun visitLoopExpression(@NotNull p0: KtLoopExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitModifierList(@NotNull p0: KtModifierList, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitNamedDeclaration(@NotNull p0: KtNamedDeclaration, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitNamedFunction(@NotNull p0: KtNamedFunction, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitNullableType(@NotNull p0: KtNullableType, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitObjectDeclaration(@NotNull p0: KtObjectDeclaration, p1: Void): Void
Content copied to clipboard
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
Link copied to clipboard
open fun visitOuterLanguageElement(@NotNull p0: @NotNull OuterLanguageElement)
Content copied to clipboard
Link copied to clipboard
open override fun visitPackageDirective(@NotNull p0: KtPackageDirective, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun visitParameterList(@NotNull p0: KtParameterList, p1: Void): Void
Content copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun visitPostfixExpression(@NotNull p0: KtPostfixExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitPrefixExpression(@NotNull p0: KtPrefixExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitPrimaryConstructor(@NotNull p0: KtPrimaryConstructor, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun visitPropertyAccessor(@NotNull p0: KtPropertyAccessor, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitPropertyDelegate(@NotNull p0: KtPropertyDelegate, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitQualifiedExpression(@NotNull p0: KtQualifiedExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitReferenceExpression(@NotNull p0: KtReferenceExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitReturnExpression(@NotNull p0: KtReturnExpression, p1: Void): Void
Content copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
open override fun visitScriptInitializer(@NotNull p0: KtScriptInitializer, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitSecondaryConstructor(@NotNull p0: KtSecondaryConstructor, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun visitSimpleNameExpression(@NotNull p0: KtSimpleNameExpression, p1: Void): Void
Content copied to clipboard
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
Link copied to clipboard
override fun visitStringTemplateEntry(@NotNull p0: KtStringTemplateEntry, p1: Void): Void
Content copied to clipboard
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
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
Link copied to clipboard
override fun visitSuperExpression(@NotNull p0: KtSuperExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitSuperTypeCallEntry(@NotNull p0: KtSuperTypeCallEntry, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitSuperTypeEntry(@NotNull p0: KtSuperTypeEntry, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitSuperTypeList(@NotNull p0: KtSuperTypeList, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitSuperTypeListEntry(@NotNull p0: KtSuperTypeListEntry, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitThisExpression(@NotNull p0: KtThisExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitThrowExpression(@NotNull p0: KtThrowExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitTryExpression(@NotNull p0: KtTryExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun visitTypeArgumentList(@NotNull p0: KtTypeArgumentList, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitTypeConstraint(@NotNull p0: KtTypeConstraint, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitTypeConstraintList(@NotNull p0: KtTypeConstraintList, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitTypeParameter(@NotNull p0: KtTypeParameter, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitTypeParameterList(@NotNull p0: KtTypeParameterList, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitTypeProjection(@NotNull p0: KtTypeProjection, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitTypeReference(@NotNull p0: KtTypeReference, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitUnaryExpression(@NotNull p0: KtUnaryExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
override fun visitValueArgumentList(@NotNull p0: KtValueArgumentList, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitWhenConditionInRange(@NotNull p0: KtWhenConditionInRange, p1: Void): Void
Content copied to clipboard
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
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
Link copied to clipboard
Link copied to clipboard
override fun visitWhenExpression(@NotNull p0: KtWhenExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
override fun visitWhileExpression(@NotNull p0: KtWhileExpression, p1: Void): Void
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard