Skip navigation links
A C D E F G H I J K L M N O P R S T U V W 

A

addFindingIfBlockExprIsEmpty($receiver) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyRule
 
addFindingIfBlockExprIsEmptyAndNotCommented($receiver) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyRule
 
ALLOWED_EXCEPTION_NAME_REGEX - Static variable in class io.gitlab.arturbosch.detekt.rules.empty.EmptyCatchBlock
 
ALLOWED_EXCEPTION_NAME_REGEX - Static variable in class io.gitlab.arturbosch.detekt.rules.exceptions.TooGenericExceptionCaught
 
ALLOWED_NAMES_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.style.UnusedPrivateMember
 
AllowedExceptionNamePatternKt - Class in io.gitlab.arturbosch.detekt.rules
 
ArrayPrimitive - Class in io.gitlab.arturbosch.detekt.rules.performance
Using Array leads to implicit boxing and performance hit. Prefer using Kotlin specialized Array Instances.
ArrayPrimitive(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.performance.ArrayPrimitive
Using Array leads to implicit boxing and performance hit. Prefer using Kotlin specialized Array Instances.
ArrayPrimitive() - Constructor for class io.gitlab.arturbosch.detekt.rules.performance.ArrayPrimitive
Using Array leads to implicit boxing and performance hit. Prefer using Kotlin specialized Array Instances.
asBlockExpression($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.JunkKt
 

C

CAUGHT_EXCEPTIONS_PROPERTY - Static variable in class io.gitlab.arturbosch.detekt.rules.exceptions.TooGenericExceptionCaught
 
CLASS_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.ClassNaming
 
ClassNaming - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports when class or object names which do not follow the specified naming convention are used.
ClassNaming(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.ClassNaming
Reports when class or object names which do not follow the specified naming convention are used.
ClassNaming() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.ClassNaming
Reports when class or object names which do not follow the specified naming convention are used.
ClassNaming.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
CollapsibleIfStatements - Class in io.gitlab.arturbosch.detekt.rules.style
This rule detects if statements which can be collapsed. This can reduce nesting and help improve readability.
CollapsibleIfStatements(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.CollapsibleIfStatements
This rule detects if statements which can be collapsed. This can reduce nesting and help improve readability.
CollapsibleIfStatements() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.CollapsibleIfStatements
This rule detects if statements which can be collapsed. This can reduce nesting and help improve readability.
CommentOverPrivateFunction - Class in io.gitlab.arturbosch.detekt.rules.documentation
This rule reports comments and documentation that has been added to private functions. These comments get reported because they probably explain the functionality of the private function. However private functions should be small enough and have an understandable name so that they are self-explanatory and do not need this comment in the first place.
CommentOverPrivateFunction(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.documentation.CommentOverPrivateFunction
This rule reports comments and documentation that has been added to private functions. These comments get reported because they probably explain the functionality of the private function. However private functions should be small enough and have an understandable name so that they are self-explanatory and do not need this comment in the first place.
CommentOverPrivateFunction() - Constructor for class io.gitlab.arturbosch.detekt.rules.documentation.CommentOverPrivateFunction
This rule reports comments and documentation that has been added to private functions. These comments get reported because they probably explain the functionality of the private function. However private functions should be small enough and have an understandable name so that they are self-explanatory and do not need this comment in the first place.
CommentOverPrivateProperty - Class in io.gitlab.arturbosch.detekt.rules.documentation
This rule reports comments and documentation above private properties. This can indicate that the property has a confusing name or is not in a small enough context to be understood. Private properties should be named in a self-explanatory way and readers of the code should be able to understand why the property exists and what purpose it solves without the comment.
CommentOverPrivateProperty(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.documentation.CommentOverPrivateProperty
This rule reports comments and documentation above private properties. This can indicate that the property has a confusing name or is not in a small enough context to be understood. Private properties should be named in a self-explanatory way and readers of the code should be able to understand why the property exists and what purpose it solves without the comment.
CommentOverPrivateProperty() - Constructor for class io.gitlab.arturbosch.detekt.rules.documentation.CommentOverPrivateProperty
This rule reports comments and documentation above private properties. This can indicate that the property has a confusing name or is not in a small enough context to be understood. Private properties should be named in a self-explanatory way and readers of the code should be able to understand why the property exists and what purpose it solves without the comment.
CommentSmellProvider - Class in io.gitlab.arturbosch.detekt.rules.providers
This rule set provides rules that address issues in comments and documentation of the code.
CommentSmellProvider() - Constructor for class io.gitlab.arturbosch.detekt.rules.providers.CommentSmellProvider
This rule set provides rules that address issues in comments and documentation of the code.
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.bugs.LateinitUsage
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexCondition
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexInterface
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexMethod
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.LabeledExpression
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.LargeClass
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.LongMethod
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.LongParameterList
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.MethodOverloading
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.NestedBlockDepth
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.StringLiteralDuplication
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.documentation.EndOfSentenceFormat
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicClass
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.empty.EmptyCatchBlock
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.empty.EmptyFunctionBlock
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.exceptions.ExceptionRaisedInUnexpectedLocation
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.exceptions.SwallowedException
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionsWithoutMessageOrCause
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.exceptions.TooGenericExceptionCaught
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.exceptions.TooGenericExceptionThrown
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.ClassNaming
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.ConstructorParameterNaming
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.EnumNaming
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.ForbiddenClassName
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.FunctionMaxLength
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.FunctionMinLength
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.FunctionNaming
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.FunctionParameterNaming
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.MemberNameEqualsClassName
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.ObjectPropertyNaming
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.PackageNaming
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.TopLevelPropertyNaming
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.VariableMaxLength
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.VariableMinLength
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.VariableNaming
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.DataClassContainsFunctions
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.EqualsOnSignatureLine
Deprecated. 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.ExpressionBodySyntax
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.ForbiddenComment
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.ForbiddenImport
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.FunctionOnlyReturningConstant
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.LoopWithTooManyJumpStatements
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MagicNumber
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MaxLineLength
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.optional.OptionalUnit
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.optional.PreferToOverPairSyntax
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.ReturnCount
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.ThrowsCount
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryAbstractClass
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.UnusedImports
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.UnusedPrivateMember
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.UseDataClass
 
Companion - Static variable in class io.gitlab.arturbosch.detekt.rules.style.WildcardImport
 
companionObject($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.JunkKt
 
ComplexCondition - Class in io.gitlab.arturbosch.detekt.rules.complexity
Complex conditions make it hard to understand which cases lead to the condition being true or false. To improve readability and understanding of complex conditions consider extracting them into well-named functions or variables and call those instead.
ComplexCondition(config, threshold) - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.ComplexCondition
Complex conditions make it hard to understand which cases lead to the condition being true or false. To improve readability and understanding of complex conditions consider extracting them into well-named functions or variables and call those instead.
ComplexCondition() - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.ComplexCondition
Complex conditions make it hard to understand which cases lead to the condition being true or false. To improve readability and understanding of complex conditions consider extracting them into well-named functions or variables and call those instead.
ComplexCondition.Companion - Class in io.gitlab.arturbosch.detekt.rules.complexity
 
ComplexInterface - Class in io.gitlab.arturbosch.detekt.rules.complexity
Complex interfaces which contain too many functions and/or properties indicate that this interface is handling too many things at once. Interfaces should follow the single-responsibility principle to also encourage implementations of this interface to not handle too many things at once.
ComplexInterface(config, threshold) - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.ComplexInterface
Complex interfaces which contain too many functions and/or properties indicate that this interface is handling too many things at once. Interfaces should follow the single-responsibility principle to also encourage implementations of this interface to not handle too many things at once.
ComplexInterface() - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.ComplexInterface
Complex interfaces which contain too many functions and/or properties indicate that this interface is handling too many things at once. Interfaces should follow the single-responsibility principle to also encourage implementations of this interface to not handle too many things at once.
ComplexInterface.Companion - Class in io.gitlab.arturbosch.detekt.rules.complexity
 
ComplexityProvider - Class in io.gitlab.arturbosch.detekt.rules.providers
This rule set contains rules that report complex code.
ComplexityProvider() - Constructor for class io.gitlab.arturbosch.detekt.rules.providers.ComplexityProvider
This rule set contains rules that report complex code.
ComplexMethod - Class in io.gitlab.arturbosch.detekt.rules.complexity
Complex methods are hard to understand and read. It might not be obvious what side-effects a complex method has. Prefer splitting up complex methods into smaller methods that are in turn easier to understand. Smaller methods can also be named much clearer which leads to improved readability of the code.
ComplexMethod(config, threshold) - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.ComplexMethod
Complex methods are hard to understand and read. It might not be obvious what side-effects a complex method has. Prefer splitting up complex methods into smaller methods that are in turn easier to understand. Smaller methods can also be named much clearer which leads to improved readability of the code.
ComplexMethod() - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.ComplexMethod
Complex methods are hard to understand and read. It might not be obvious what side-effects a complex method has. Prefer splitting up complex methods into smaller methods that are in turn easier to understand. Smaller methods can also be named much clearer which leads to improved readability of the code.
ComplexMethod.Companion - Class in io.gitlab.arturbosch.detekt.rules.complexity
 
component1() - Method in class io.gitlab.arturbosch.detekt.rules.style.KtFileContent
 
component2() - Method in class io.gitlab.arturbosch.detekt.rules.style.KtFileContent
 
ConditionalPathVisitor - Class in io.gitlab.arturbosch.detekt.rules.style.optional
 
ConditionalPathVisitor(block) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.optional.ConditionalPathVisitor
 
CONSTANT_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.ObjectPropertyNaming
 
CONSTANT_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.TopLevelPropertyNaming
 
ConstructorParameterNaming - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports constructor parameter names which do not follow the specified naming convention are used.
ConstructorParameterNaming(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.ConstructorParameterNaming
Reports constructor parameter names which do not follow the specified naming convention are used.
ConstructorParameterNaming() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.ConstructorParameterNaming
Reports constructor parameter names which do not follow the specified naming convention are used.
ConstructorParameterNaming.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
CONVERSION_FUNCTION_PREFIX - Static variable in class io.gitlab.arturbosch.detekt.rules.style.DataClassContainsFunctions
 
copy(file, content) - Method in class io.gitlab.arturbosch.detekt.rules.style.KtFileContent
 

D

DataClassContainsFunctions - Class in io.gitlab.arturbosch.detekt.rules.style
This rule reports functions inside data classes which have not been whitelisted as a conversion function.
DataClassContainsFunctions(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.DataClassContainsFunctions
This rule reports functions inside data classes which have not been whitelisted as a conversion function.
DataClassContainsFunctions() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.DataClassContainsFunctions
This rule reports functions inside data classes which have not been whitelisted as a conversion function.
DataClassContainsFunctions.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 
DEFAULT_ACCEPTED_CLASS_LENGTH - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.LargeClass
 
DEFAULT_ACCEPTED_METHOD_COMPLEXITY - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexMethod
 
DEFAULT_ACCEPTED_METHOD_LENGTH - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.LongMethod
 
DEFAULT_ACCEPTED_NESTING - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.NestedBlockDepth
 
DEFAULT_ACCEPTED_OVERLOAD_COUNT - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.MethodOverloading
 
DEFAULT_ACCEPTED_PARAMETER_LENGTH - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.LongParameterList
 
DEFAULT_CONDITIONS_COUNT - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexCondition
 
DEFAULT_DUPLICATION - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.StringLiteralDuplication
 
DEFAULT_IDEA_LINE_LENGTH - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MaxLineLength
 
DEFAULT_LARGE_INTERFACE_COUNT - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexInterface
 
DEFAULT_THRESHOLD - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
DuplicateCaseInWhenExpression - Class in io.gitlab.arturbosch.detekt.rules.bugs
Flags duplicate case statements in when expressions.
DuplicateCaseInWhenExpression(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.DuplicateCaseInWhenExpression
Flags duplicate case statements in when expressions.

E

EmptyBlocks - Class in io.gitlab.arturbosch.detekt.rules.empty
 
EmptyBlocks(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
EmptyBlocks() - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
EmptyCatchBlock - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty catch blocks. Empty blocks of code serve no purpose and should be removed.
EmptyCatchBlock(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyCatchBlock
Reports empty catch blocks. Empty blocks of code serve no purpose and should be removed.
EmptyCatchBlock.Companion - Class in io.gitlab.arturbosch.detekt.rules.empty
 
EmptyClassBlock - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty classes. Empty blocks of code serve no purpose and should be removed.
EmptyClassBlock(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyClassBlock
Reports empty classes. Empty blocks of code serve no purpose and should be removed.
EmptyCodeProvider - Class in io.gitlab.arturbosch.detekt.rules.providers
The empty-blocks ruleset contains rules that will report empty blocks of code which should be avoided.
EmptyCodeProvider() - Constructor for class io.gitlab.arturbosch.detekt.rules.providers.EmptyCodeProvider
The empty-blocks ruleset contains rules that will report empty blocks of code which should be avoided.
EmptyDefaultConstructor - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty default constructors. Empty blocks of code serve no purpose and should be removed.
EmptyDefaultConstructor(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyDefaultConstructor
Reports empty default constructors. Empty blocks of code serve no purpose and should be removed.
EmptyDoWhileBlock - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty do/while loops. Empty blocks of code serve no purpose and should be removed.
EmptyDoWhileBlock(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyDoWhileBlock
Reports empty do/while loops. Empty blocks of code serve no purpose and should be removed.
EmptyElseBlock - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty else blocks. Empty blocks of code serve no purpose and should be removed.
EmptyElseBlock(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyElseBlock
Reports empty else blocks. Empty blocks of code serve no purpose and should be removed.
EmptyFinallyBlock - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty finally blocks. Empty blocks of code serve no purpose and should be removed.
EmptyFinallyBlock(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyFinallyBlock
Reports empty finally blocks. Empty blocks of code serve no purpose and should be removed.
EmptyForBlock - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty for loops. Empty blocks of code serve no purpose and should be removed.
EmptyForBlock(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyForBlock
Reports empty for loops. Empty blocks of code serve no purpose and should be removed.
EmptyFunctionBlock - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty functions. Empty blocks of code serve no purpose and should be removed. This rule will not report functions overriding others.
EmptyFunctionBlock(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyFunctionBlock
Reports empty functions. Empty blocks of code serve no purpose and should be removed. This rule will not report functions overriding others.
EmptyFunctionBlock.Companion - Class in io.gitlab.arturbosch.detekt.rules.empty
 
EmptyIfBlock - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty if blocks. Empty blocks of code serve no purpose and should be removed.
EmptyIfBlock(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyIfBlock
Reports empty if blocks. Empty blocks of code serve no purpose and should be removed.
EmptyInitBlock - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty init expressions. Empty blocks of code serve no purpose and should be removed.
EmptyInitBlock(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyInitBlock
Reports empty init expressions. Empty blocks of code serve no purpose and should be removed.
EmptyKtFile - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty Kotlin (.kt) files. Empty blocks of code serve no purpose and should be removed.
EmptyKtFile(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyKtFile
Reports empty Kotlin (.kt) files. Empty blocks of code serve no purpose and should be removed.
EmptyRule - Class in io.gitlab.arturbosch.detekt.rules.empty
Rule to detect empty blocks of code.
EmptyRule(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyRule
Rule to detect empty blocks of code.
EmptySecondaryConstructor - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty secondary constructors. Empty blocks of code serve no purpose and should be removed.
EmptySecondaryConstructor(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptySecondaryConstructor
Reports empty secondary constructors. Empty blocks of code serve no purpose and should be removed.
EmptyWhenBlock - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty when expressions. Empty blocks of code serve no purpose and should be removed.
EmptyWhenBlock(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyWhenBlock
Reports empty when expressions. Empty blocks of code serve no purpose and should be removed.
EmptyWhileBlock - Class in io.gitlab.arturbosch.detekt.rules.empty
Reports empty while expressions. Empty blocks of code serve no purpose and should be removed.
EmptyWhileBlock(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.empty.EmptyWhileBlock
Reports empty while expressions. Empty blocks of code serve no purpose and should be removed.
END_OF_SENTENCE_FORMAT - Static variable in class io.gitlab.arturbosch.detekt.rules.documentation.EndOfSentenceFormat
 
EndOfSentenceFormat - Class in io.gitlab.arturbosch.detekt.rules.documentation
This rule validates the end of the first sentence of a KDoc comment. It should end with proper punctuation or with a correct URL.
EndOfSentenceFormat(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.documentation.EndOfSentenceFormat
This rule validates the end of the first sentence of a KDoc comment. It should end with proper punctuation or with a correct URL.
EndOfSentenceFormat() - Constructor for class io.gitlab.arturbosch.detekt.rules.documentation.EndOfSentenceFormat
This rule validates the end of the first sentence of a KDoc comment. It should end with proper punctuation or with a correct URL.
EndOfSentenceFormat.Companion - Class in io.gitlab.arturbosch.detekt.rules.documentation
 
ENUM_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.EnumNaming
 
EnumNaming - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports when enum names which do not follow the specified naming convention are used.
EnumNaming(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.EnumNaming
Reports when enum names which do not follow the specified naming convention are used.
EnumNaming() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.EnumNaming
Reports when enum names which do not follow the specified naming convention are used.
EnumNaming.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
equals(p) - Method in class io.gitlab.arturbosch.detekt.rules.style.KtFileContent
 
EqualsAlwaysReturnsTrueOrFalse - Class in io.gitlab.arturbosch.detekt.rules.bugs
Reports equals() methods which will always return true or false.
EqualsAlwaysReturnsTrueOrFalse(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.EqualsAlwaysReturnsTrueOrFalse
Reports equals() methods which will always return true or false.
EqualsAlwaysReturnsTrueOrFalse() - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.EqualsAlwaysReturnsTrueOrFalse
Reports equals() methods which will always return true or false.
EqualsNullCall - Class in io.gitlab.arturbosch.detekt.rules.style
To compare an object with null prefer using ==. This rule detects and reports instances in the code where the equals() method is used to compare a value with null.
EqualsNullCall(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.EqualsNullCall
To compare an object with null prefer using ==. This rule detects and reports instances in the code where the equals() method is used to compare a value with null.
EqualsNullCall() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.EqualsNullCall
To compare an object with null prefer using ==. This rule detects and reports instances in the code where the equals() method is used to compare a value with null.
EqualsOnSignatureLine - Class in io.gitlab.arturbosch.detekt.rules.style
Requires that the equals sign, when used for an expression style function, is on the same line as the rest of the function signature.
EqualsOnSignatureLine(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.EqualsOnSignatureLine
Requires that the equals sign, when used for an expression style function, is on the same line as the rest of the function signature.
EqualsOnSignatureLine() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.EqualsOnSignatureLine
Requires that the equals sign, when used for an expression style function, is on the same line as the rest of the function signature.
EqualsWithHashCodeExist - Class in io.gitlab.arturbosch.detekt.rules.bugs
When a class overrides the equals() method it should also override the hashCode() method.
EqualsWithHashCodeExist(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.EqualsWithHashCodeExist
When a class overrides the equals() method it should also override the hashCode() method.
EqualsWithHashCodeExist() - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.EqualsWithHashCodeExist
When a class overrides the equals() method it should also override the hashCode() method.
EqualsWithHashCodeExistKt - Class in io.gitlab.arturbosch.detekt.rules.bugs
 
ExceptionRaisedInUnexpectedLocation - Class in io.gitlab.arturbosch.detekt.rules.exceptions
This rule allows to define functions which should never throw an exception. If a function exists that does throw an exception it will be reported. By default this rule is checking for toString, hashCode, equals and finalize. This rule is configurable via the methodNames configuration to change the list of functions which should not throw any exceptions.
ExceptionRaisedInUnexpectedLocation(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.ExceptionRaisedInUnexpectedLocation
This rule allows to define functions which should never throw an exception. If a function exists that does throw an exception it will be reported. By default this rule is checking for toString, hashCode, equals and finalize. This rule is configurable via the methodNames configuration to change the list of functions which should not throw any exceptions.
ExceptionRaisedInUnexpectedLocation() - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.ExceptionRaisedInUnexpectedLocation
This rule allows to define functions which should never throw an exception. If a function exists that does throw an exception it will be reported. By default this rule is checking for toString, hashCode, equals and finalize. This rule is configurable via the methodNames configuration to change the list of functions which should not throw any exceptions.
ExceptionRaisedInUnexpectedLocation.Companion - Class in io.gitlab.arturbosch.detekt.rules.exceptions
 
EXCEPTIONS - Static variable in class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionsWithoutMessageOrCause
 
ExceptionsProvider - Class in io.gitlab.arturbosch.detekt.rules.providers
Rules in this rule set report issues related to how code throws and handles Exceptions.
ExceptionsProvider() - Constructor for class io.gitlab.arturbosch.detekt.rules.providers.ExceptionsProvider
Rules in this rule set report issues related to how code throws and handles Exceptions.
EXCLUDE_ANNOTATED_CLASSES - Static variable in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryAbstractClass
 
EXCLUDE_ANNOTATED_CLASSES - Static variable in class io.gitlab.arturbosch.detekt.rules.style.UseDataClass
 
EXCLUDE_ANNOTATED_PROPERTIES - Static variable in class io.gitlab.arturbosch.detekt.rules.bugs.LateinitUsage
 
EXCLUDE_CLASS_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.ConstructorParameterNaming
 
EXCLUDE_CLASS_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.FunctionNaming
 
EXCLUDE_CLASS_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.FunctionParameterNaming
 
EXCLUDE_CLASS_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.VariableNaming
 
EXCLUDE_COMMENT_STATEMENTS - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MaxLineLength
 
EXCLUDE_IMPORT_STATEMENTS - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MaxLineLength
 
EXCLUDE_LABELED - Static variable in class io.gitlab.arturbosch.detekt.rules.style.ReturnCount
 
EXCLUDE_PACKAGE_STATEMENTS - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MaxLineLength
 
EXCLUDE_RETURN_FROM_LAMBDA - Static variable in class io.gitlab.arturbosch.detekt.rules.style.ReturnCount
 
EXCLUDE_SHORT_STRING - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.StringLiteralDuplication
 
EXCLUDED_FUNCTIONS - Static variable in class io.gitlab.arturbosch.detekt.rules.style.FunctionOnlyReturningConstant
 
EXCLUDED_FUNCTIONS - Static variable in class io.gitlab.arturbosch.detekt.rules.style.ReturnCount
 
EXCLUDED_IMPORTS - Static variable in class io.gitlab.arturbosch.detekt.rules.style.WildcardImport
 
ExplicitGarbageCollectionCall - Class in io.gitlab.arturbosch.detekt.rules.bugs
Reports all calls to explicitly trigger the Garbage Collector. Code should work independently of the garbage collector and should not require the GC to be triggered in certain points in time.
ExplicitGarbageCollectionCall(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.ExplicitGarbageCollectionCall
Reports all calls to explicitly trigger the Garbage Collector. Code should work independently of the garbage collector and should not require the GC to be triggered in certain points in time.
ExplicitItLambdaParameter - Class in io.gitlab.arturbosch.detekt.rules.style
Lambda expressions are one of the core features of the language. They often include very small chunks of code using only one parameter. In this cases Kotlin can supply the implicit it parameter to make code more concise. It fits most usecases, but when faced larger or nested chunks of code, you might want to add an explicit name for the parameter. Naming it just it is meaningless and only makes your code misleading, especially when dealing with nested functions.
ExplicitItLambdaParameter(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ExplicitItLambdaParameter
Lambda expressions are one of the core features of the language. They often include very small chunks of code using only one parameter. In this cases Kotlin can supply the implicit it parameter to make code more concise. It fits most usecases, but when faced larger or nested chunks of code, you might want to add an explicit name for the parameter. Naming it just it is meaningless and only makes your code misleading, especially when dealing with nested functions.
ExpressionBodySyntax - Class in io.gitlab.arturbosch.detekt.rules.style
Functions which only contain a return statement can be collapsed to an expression body. This shortens and cleans up the code.
ExpressionBodySyntax(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ExpressionBodySyntax
Functions which only contain a return statement can be collapsed to an expression body. This shortens and cleans up the code.
ExpressionBodySyntax() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ExpressionBodySyntax
Functions which only contain a return statement can be collapsed to an expression body. This shortens and cleans up the code.
ExpressionBodySyntax.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 

F

FileParsingRule - Class in io.gitlab.arturbosch.detekt.rules.style
 
FileParsingRule(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.FileParsingRule
 
FileParsingRule() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.FileParsingRule
 
findTabs(file) - Method in class io.gitlab.arturbosch.detekt.rules.style.NoTabs
 
FORBIDDEN_NAME - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.ForbiddenClassName
 
ForbiddenClassName - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports class names which are forbidden per configuration. By default this rule does not report any classes. Examples for forbidden names might be too generic class names like ...Manager.
ForbiddenClassName(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.ForbiddenClassName
Reports class names which are forbidden per configuration. By default this rule does not report any classes. Examples for forbidden names might be too generic class names like ...Manager.
ForbiddenClassName() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.ForbiddenClassName
Reports class names which are forbidden per configuration. By default this rule does not report any classes. Examples for forbidden names might be too generic class names like ...Manager.
ForbiddenClassName.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
ForbiddenComment - Class in io.gitlab.arturbosch.detekt.rules.style
This rule allows to set a list of comments which are forbidden in the codebase and should only be used during development. Offending code comments will then be reported.
ForbiddenComment(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ForbiddenComment
This rule allows to set a list of comments which are forbidden in the codebase and should only be used during development. Offending code comments will then be reported.
ForbiddenComment() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ForbiddenComment
This rule allows to set a list of comments which are forbidden in the codebase and should only be used during development. Offending code comments will then be reported.
ForbiddenComment.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 
ForbiddenImport - Class in io.gitlab.arturbosch.detekt.rules.style
This rule allows to set a list of forbidden imports. This can be used to discourage the use of unstable, experimental or deprecated APIs. Detekt will then report all imports that are forbidden.
ForbiddenImport(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ForbiddenImport
This rule allows to set a list of forbidden imports. This can be used to discourage the use of unstable, experimental or deprecated APIs. Detekt will then report all imports that are forbidden.
ForbiddenImport() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ForbiddenImport
This rule allows to set a list of forbidden imports. This can be used to discourage the use of unstable, experimental or deprecated APIs. Detekt will then report all imports that are forbidden.
ForbiddenImport.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 
ForbiddenVoid - Class in io.gitlab.arturbosch.detekt.rules.style
This rule detects usages of Void and reports them as forbidden. The Kotlin type Unit should be used instead. This type corresponds to the Void class in Java and has only one value - the Unit object.
ForbiddenVoid(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ForbiddenVoid
This rule detects usages of Void and reports them as forbidden. The Kotlin type Unit should be used instead. This type corresponds to the Void class in Java and has only one value - the Unit object.
ForbiddenVoid() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ForbiddenVoid
This rule detects usages of Void and reports them as forbidden. The Kotlin type Unit should be used instead. This type corresponds to the Void class in Java and has only one value - the Unit object.
ForEachOnRange - Class in io.gitlab.arturbosch.detekt.rules.performance
Using the forEach method on ranges has a heavy performance cost. Prefer using simple for loops.
ForEachOnRange(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.performance.ForEachOnRange
Using the forEach method on ranges has a heavy performance cost. Prefer using simple for loops.
ForEachOnRange() - Constructor for class io.gitlab.arturbosch.detekt.rules.performance.ForEachOnRange
Using the forEach method on ranges has a heavy performance cost. Prefer using simple for loops.
FUNCTION_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.FunctionNaming
 
FunctionMaxLength - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports when very long function names are used.
FunctionMaxLength(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.FunctionMaxLength
Reports when very long function names are used.
FunctionMaxLength() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.FunctionMaxLength
Reports when very long function names are used.
FunctionMaxLength.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
FunctionMinLength - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports when very short function names are used.
FunctionMinLength(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.FunctionMinLength
Reports when very short function names are used.
FunctionMinLength() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.FunctionMinLength
Reports when very short function names are used.
FunctionMinLength.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
FunctionNaming - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports when function names which do not follow the specified naming convention are used.
FunctionNaming(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.FunctionNaming
Reports when function names which do not follow the specified naming convention are used.
FunctionNaming() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.FunctionNaming
Reports when function names which do not follow the specified naming convention are used.
FunctionNaming.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
FunctionOnlyReturningConstant - Class in io.gitlab.arturbosch.detekt.rules.style
A function that only returns a single constant can be misleading. Instead prefer to define the constant directly as a const val.
FunctionOnlyReturningConstant(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.FunctionOnlyReturningConstant
A function that only returns a single constant can be misleading. Instead prefer to define the constant directly as a const val.
FunctionOnlyReturningConstant() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.FunctionOnlyReturningConstant
A function that only returns a single constant can be misleading. Instead prefer to define the constant directly as a const val.
FunctionOnlyReturningConstant.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 
FunctionParameterNaming - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports function parameter names which do not follow the specified naming convention are used.
FunctionParameterNaming(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.FunctionParameterNaming
Reports function parameter names which do not follow the specified naming convention are used.
FunctionParameterNaming() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.FunctionParameterNaming
Reports function parameter names which do not follow the specified naming convention are used.
FunctionParameterNaming.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 

G

getCaughtExceptionDefaults() - Static method in class io.gitlab.arturbosch.detekt.rules.exceptions.TooGenericExceptionCaughtKt
 
getConfig() - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
getConfig() - Method in class io.gitlab.arturbosch.detekt.rules.style.ExplicitItLambdaParameter
 
getConfig() - Method in class io.gitlab.arturbosch.detekt.rules.style.FileParsingRule
 
getContent() - Method in class io.gitlab.arturbosch.detekt.rules.style.KtFileContent
 
getDefaultRuleIdAliases() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UnsafeCast
 
getDefaultRuleIdAliases() - Method in class io.gitlab.arturbosch.detekt.rules.naming.FunctionNaming
 
getDefaultRuleIdAliases() - Method in class io.gitlab.arturbosch.detekt.rules.style.UnusedPrivateClass
 
getDefaultRuleIdAliases() - Method in class io.gitlab.arturbosch.detekt.rules.style.UnusedPrivateMember
 
getDefaultRuleIdAliases() - Method in class io.gitlab.arturbosch.detekt.rules.style.VarCouldBeVal
 
getFile() - Method in class io.gitlab.arturbosch.detekt.rules.style.KtFileContent
 
getIntValueForPsiElement(element) - Static method in class io.gitlab.arturbosch.detekt.rules.JunkKt
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.DuplicateCaseInWhenExpression
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.EqualsAlwaysReturnsTrueOrFalse
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.EqualsWithHashCodeExist
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.ExplicitGarbageCollectionCall
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.InvalidRange
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.IteratorHasNextCallsNextMethod
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.IteratorNotThrowingNoSuchElementException
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.LateinitUsage
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UnconditionalJumpStatementInLoop
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UnreachableCode
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UnsafeCallOnNullableType
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UnsafeCast
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UselessPostfixExpression
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.WrongEqualsTypeParameter
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexCondition
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexInterface
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexMethod
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.complexity.LabeledExpression
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.complexity.LargeClass
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.complexity.LongMethod
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.complexity.LongParameterList
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.complexity.MethodOverloading
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.complexity.NestedBlockDepth
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.complexity.StringLiteralDuplication
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.documentation.CommentOverPrivateFunction
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.documentation.CommentOverPrivateProperty
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.documentation.EndOfSentenceFormat
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicClass
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicFunction
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyRule
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.ExceptionRaisedInUnexpectedLocation
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.InstanceOfCheckForException
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.NotImplementedDeclaration
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.PrintStackTrace
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.RethrowCaughtException
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.ReturnFromFinally
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.SwallowedException
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionFromFinally
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionInMain
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionsWithoutMessageOrCause
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingNewInstanceOfSameException
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.TooGenericExceptionCaught
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.TooGenericExceptionThrown
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.ClassNaming
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.ConstructorParameterNaming
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.EnumNaming
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.ForbiddenClassName
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.FunctionMaxLength
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.FunctionMinLength
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.FunctionNaming
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.FunctionParameterNaming
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.MatchingDeclarationName
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.MemberNameEqualsClassName
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.ObjectPropertyNaming
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.PackageNaming
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.TopLevelPropertyNaming
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.VariableMaxLength
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.VariableMinLength
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.naming.VariableNaming
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.performance.ArrayPrimitive
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.performance.ForEachOnRange
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.performance.SpreadOperator
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.performance.UnnecessaryTemporaryInstantiation
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.CollapsibleIfStatements
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.DataClassContainsFunctions
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.EqualsNullCall
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.EqualsOnSignatureLine
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.ExplicitItLambdaParameter
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.ExpressionBodySyntax
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.ForbiddenComment
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.ForbiddenImport
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.ForbiddenVoid
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.FunctionOnlyReturningConstant
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.LoopWithTooManyJumpStatements
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.MagicNumber
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.MaxLineLength
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.MayBeConst
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.ModifierOrder
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.NestedClassesVisibility
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.NewLineAtEndOfFile
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.NoTabs
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.optional.MandatoryBracesIfStatements
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.optional.OptionalUnit
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.optional.PreferToOverPairSyntax
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.OptionalAbstractKeyword
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.OptionalWhenBraces
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.ProtectedMemberInFinalClass
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.RedundantVisibilityModifierRule
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.ReturnCount
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.SafeCast
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.SerialVersionUIDInSerializableClass
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.SpacingBetweenPackageAndImports
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.ThrowsCount
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.TrailingWhitespace
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryAbstractClass
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryApply
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryInheritance
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryLet
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryParentheses
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.UntilInsteadOfRangeTo
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.UnusedImports
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.UnusedPrivateClass
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.UnusedPrivateMember
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.UseDataClass
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.UtilityClassWithPublicConstructor
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.VarCouldBeVal
 
getIssue() - Method in class io.gitlab.arturbosch.detekt.rules.style.WildcardImport
 
getProperties() - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UselessPostfixExpression
 
getRules() - Method in class io.gitlab.arturbosch.detekt.rules.documentation.KDocStyle
 
getRules() - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
getRules() - Method in class io.gitlab.arturbosch.detekt.rules.naming.NamingRules
 
getRules() - Method in class io.gitlab.arturbosch.detekt.rules.style.FileParsingRule
 
getRuleSetId() - Method in class io.gitlab.arturbosch.detekt.rules.providers.CommentSmellProvider
 
getRuleSetId() - Method in class io.gitlab.arturbosch.detekt.rules.providers.ComplexityProvider
 
getRuleSetId() - Method in class io.gitlab.arturbosch.detekt.rules.providers.EmptyCodeProvider
 
getRuleSetId() - Method in class io.gitlab.arturbosch.detekt.rules.providers.ExceptionsProvider
 
getRuleSetId() - Method in class io.gitlab.arturbosch.detekt.rules.providers.NamingProvider
 
getRuleSetId() - Method in class io.gitlab.arturbosch.detekt.rules.providers.PerformanceProvider
 
getRuleSetId() - Method in class io.gitlab.arturbosch.detekt.rules.providers.PotentialBugProvider
 
getRuleSetId() - Method in class io.gitlab.arturbosch.detekt.rules.providers.StyleGuideProvider
 
getThrownExceptionDefaults() - Static method in class io.gitlab.arturbosch.detekt.rules.exceptions.TooGenericExceptionThrownKt
 

H

hasAnnotation($receiver, annotationNames) - Static method in class io.gitlab.arturbosch.detekt.rules.KtAnnotatedExtensionsKt
 
hasAnnotationWithValue($receiver, annotationName, annotationValueText) - Static method in class io.gitlab.arturbosch.detekt.rules.KtAnnotatedExtensionsKt
 
hasCommentInside($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.JunkKt
 
hasCorrectEqualsParameter($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.MethodSignatureKt
 
hashCode() - Method in class io.gitlab.arturbosch.detekt.rules.style.KtFileContent
 

I

IdentifierNameKt - Class in io.gitlab.arturbosch.detekt.rules
 
IGNORE_ANNOTATION - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.StringLiteralDuplication
 
IGNORE_ANNOTATION - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MagicNumber
 
IGNORE_COMPANION_OBJECT_PROPERTY_DECLARATION - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MagicNumber
 
IGNORE_CONSTANT_DECLARATION - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MagicNumber
 
IGNORE_DEFAULT_PARAMETERS - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.LongParameterList
 
IGNORE_DEPRECATED - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
IGNORE_ENUMS - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MagicNumber
 
IGNORE_HASH_CODE - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MagicNumber
 
IGNORE_NAMED_ARGUMENT - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MagicNumber
 
IGNORE_NUMBERS - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MagicNumber
 
IGNORE_ON_CLASSES_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.bugs.LateinitUsage
 
IGNORE_OVERRIDABLE_FUNCTION - Static variable in class io.gitlab.arturbosch.detekt.rules.style.FunctionOnlyReturningConstant
 
IGNORE_OVERRIDDEN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.FunctionNaming
 
IGNORE_OVERRIDDEN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.VariableNaming
 
IGNORE_OVERRIDDEN_FUNCTION - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.MemberNameEqualsClassName
 
IGNORE_OVERRIDDEN_FUNCTIONS - Static variable in class io.gitlab.arturbosch.detekt.rules.empty.EmptyFunctionBlock
 
IGNORE_OVERRIDDEN_FUNCTIONS - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.FunctionParameterNaming
 
IGNORE_PRIVATE - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
IGNORE_PROPERTY_DECLARATION - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MagicNumber
 
IGNORE_SIMPLE_WHEN_ENTRIES - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexMethod
 
IGNORE_SINGLE_WHEN_EXPRESSION - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexMethod
 
IGNORE_STRINGS_REGEX - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.StringLiteralDuplication
 
IGNORED_EXCEPTION_TYPES - Static variable in class io.gitlab.arturbosch.detekt.rules.exceptions.SwallowedException
 
IGNORED_LABELS - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.LabeledExpression
 
IMPORTS - Static variable in class io.gitlab.arturbosch.detekt.rules.style.ForbiddenImport
 
INCLUDE_LINE_WRAPPING - Static variable in class io.gitlab.arturbosch.detekt.rules.style.ExpressionBodySyntax
 
INCLUDE_STATIC_DECLARATIONS - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexInterface
 
instance(config) - Method in class io.gitlab.arturbosch.detekt.rules.providers.CommentSmellProvider
 
instance(config) - Method in class io.gitlab.arturbosch.detekt.rules.providers.ComplexityProvider
 
instance(config) - Method in class io.gitlab.arturbosch.detekt.rules.providers.EmptyCodeProvider
 
instance(config) - Method in class io.gitlab.arturbosch.detekt.rules.providers.ExceptionsProvider
 
instance(config) - Method in class io.gitlab.arturbosch.detekt.rules.providers.NamingProvider
 
instance(config) - Method in class io.gitlab.arturbosch.detekt.rules.providers.PerformanceProvider
 
instance(config) - Method in class io.gitlab.arturbosch.detekt.rules.providers.PotentialBugProvider
 
instance(config) - Method in class io.gitlab.arturbosch.detekt.rules.providers.StyleGuideProvider
 
InstanceOfCheckForException - Class in io.gitlab.arturbosch.detekt.rules.exceptions
This rule reports catch blocks which check for the type of an exception via is checks or casts. Instead of catching generic exception types and then checking for specific exception types the code should use multiple catch blocks. These catch blocks should then catch the specific exceptions.
InstanceOfCheckForException(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.InstanceOfCheckForException
This rule reports catch blocks which check for the type of an exception via is checks or casts. Instead of catching generic exception types and then checking for specific exception types the code should use multiple catch blocks. These catch blocks should then catch the specific exceptions.
InstanceOfCheckForException() - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.InstanceOfCheckForException
This rule reports catch blocks which check for the type of an exception via is checks or casts. Instead of catching generic exception types and then checking for specific exception types the code should use multiple catch blocks. These catch blocks should then catch the specific exceptions.
InvalidRange - Class in io.gitlab.arturbosch.detekt.rules.bugs
Reports ranges which are empty. This might be a bug if it is used for instance as a loop condition. This loop will never be triggered then. This might be due to invalid ranges like (10..9) which will cause the loop to never be entered.
InvalidRange(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.InvalidRange
Reports ranges which are empty. This might be a bug if it is used for instance as a loop condition. This loop will never be triggered then. This might be due to invalid ranges like (10..9) which will cause the loop to never be entered.
InvalidRange() - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.InvalidRange
Reports ranges which are empty. This might be a bug if it is used for instance as a loop condition. This loop will never be triggered then. This might be due to invalid ranges like (10..9) which will cause the loop to never be entered.
io.gitlab.arturbosch.detekt.rules - package io.gitlab.arturbosch.detekt.rules
 
io.gitlab.arturbosch.detekt.rules.bugs - package io.gitlab.arturbosch.detekt.rules.bugs
 
io.gitlab.arturbosch.detekt.rules.complexity - package io.gitlab.arturbosch.detekt.rules.complexity
 
io.gitlab.arturbosch.detekt.rules.documentation - package io.gitlab.arturbosch.detekt.rules.documentation
 
io.gitlab.arturbosch.detekt.rules.empty - package io.gitlab.arturbosch.detekt.rules.empty
 
io.gitlab.arturbosch.detekt.rules.exceptions - package io.gitlab.arturbosch.detekt.rules.exceptions
 
io.gitlab.arturbosch.detekt.rules.naming - package io.gitlab.arturbosch.detekt.rules.naming
 
io.gitlab.arturbosch.detekt.rules.performance - package io.gitlab.arturbosch.detekt.rules.performance
 
io.gitlab.arturbosch.detekt.rules.providers - package io.gitlab.arturbosch.detekt.rules.providers
 
io.gitlab.arturbosch.detekt.rules.style - package io.gitlab.arturbosch.detekt.rules.style
 
io.gitlab.arturbosch.detekt.rules.style.optional - package io.gitlab.arturbosch.detekt.rules.style.optional
 
isAbstract($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.KtModifierListKt
 
isConstant($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.KtModifierListKt
 
isEqualsFunction($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.MethodSignatureKt
 
isExternal($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.KtModifierListKt
 
isHashCodeFunction($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.MethodSignatureKt
 
isInline($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.KtModifierListKt
 
isInterface($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.KtClassOrObjectExtensionsKt
 
isInternal($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.KtModifierListKt
 
isLateinit($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.KtModifierListKt
 
isMainFunction($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.MethodSignatureKt
 
isMainInsideObject($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.MethodSignatureKt
 
isObjectOfAnonymousClass($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.JunkKt
 
isOpen($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.KtModifierListKt
 
isOperator($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.KtModifierListKt
 
isOverride($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.KtModifierListKt
 
isPartOf($receiver, clazz) - Static method in class io.gitlab.arturbosch.detekt.rules.IsPartOfUtilsKt
Tests if this element is part of given PsiElement.
isPartOfString($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.IsPartOfUtilsKt
Tests if this element is part of a kotlin string.
IsPartOfUtilsKt - Class in io.gitlab.arturbosch.detekt.rules
 
isPublicNotOverridden($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.KtModifierListKt
 
isTopLevelMain($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.MethodSignatureKt
 
isUsedForNesting($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.JunkKt
 
IT_LITERAL - Static variable in class io.gitlab.arturbosch.detekt.rules.KeywordsKt
This file contains common literals of keywords, library functions and other idioms of Kotlin language
IteratorHasNextCallsNextMethod - Class in io.gitlab.arturbosch.detekt.rules.bugs
Verifies implementations of the Iterator interface. The hasNext() method of an Iterator implementation should not have any side effects. This rule reports implementations that call the next() method of the Iterator inside the hasNext() method.
IteratorHasNextCallsNextMethod(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.IteratorHasNextCallsNextMethod
Verifies implementations of the Iterator interface. The hasNext() method of an Iterator implementation should not have any side effects. This rule reports implementations that call the next() method of the Iterator inside the hasNext() method.
IteratorHasNextCallsNextMethod() - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.IteratorHasNextCallsNextMethod
Verifies implementations of the Iterator interface. The hasNext() method of an Iterator implementation should not have any side effects. This rule reports implementations that call the next() method of the Iterator inside the hasNext() method.
IteratorNotThrowingNoSuchElementException - Class in io.gitlab.arturbosch.detekt.rules.bugs
Reports implementations of the Iterator interface which do not throw a NoSuchElementException in the implementation of the next() method. When there are no more elements to return an Iterator should throw a NoSuchElementException.
IteratorNotThrowingNoSuchElementException(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.IteratorNotThrowingNoSuchElementException
Reports implementations of the Iterator interface which do not throw a NoSuchElementException in the implementation of the next() method. When there are no more elements to return an Iterator should throw a NoSuchElementException.
IteratorNotThrowingNoSuchElementException() - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.IteratorNotThrowingNoSuchElementException
Reports implementations of the Iterator interface which do not throw a NoSuchElementException in the implementation of the next() method. When there are no more elements to return an Iterator should throw a NoSuchElementException.

J

JunkKt - Class in io.gitlab.arturbosch.detekt.rules
 
JunkKt - Class in io.gitlab.arturbosch.detekt.rules.style
 

K

KDocStyle - Class in io.gitlab.arturbosch.detekt.rules.documentation
 
KDocStyle(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.documentation.KDocStyle
 
KDocStyle() - Constructor for class io.gitlab.arturbosch.detekt.rules.documentation.KDocStyle
 
KeywordsKt - Class in io.gitlab.arturbosch.detekt.rules
 
KtAnnotatedExtensionsKt - Class in io.gitlab.arturbosch.detekt.rules
 
KtClassOrObjectExtensionsKt - Class in io.gitlab.arturbosch.detekt.rules
 
KtFileContent - Class in io.gitlab.arturbosch.detekt.rules.style
 
KtFileContent(file, content) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.KtFileContent
 
KtModifierListKt - Class in io.gitlab.arturbosch.detekt.rules
 

L

LabeledExpression - Class in io.gitlab.arturbosch.detekt.rules.complexity
This rule reports labeled expressions. Expressions with labels generally increase complexity and worsen the maintainability of the code. Refactor the violating code to not use labels instead. Labeled expressions referencing an outer class with a label from an inner class are allowed, because there is no way to get the instance of an outer class from an inner class in Kotlin.
LabeledExpression(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.LabeledExpression
This rule reports labeled expressions. Expressions with labels generally increase complexity and worsen the maintainability of the code. Refactor the violating code to not use labels instead. Labeled expressions referencing an outer class with a label from an inner class are allowed, because there is no way to get the instance of an outer class from an inner class in Kotlin.
LabeledExpression() - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.LabeledExpression
This rule reports labeled expressions. Expressions with labels generally increase complexity and worsen the maintainability of the code. Refactor the violating code to not use labels instead. Labeled expressions referencing an outer class with a label from an inner class are allowed, because there is no way to get the instance of an outer class from an inner class in Kotlin.
LabeledExpression.Companion - Class in io.gitlab.arturbosch.detekt.rules.complexity
 
LargeClass - Class in io.gitlab.arturbosch.detekt.rules.complexity
This rule reports large classes. Classes should generally have one responsibility. Large classes can indicate that the class does instead handle multiple responsibilities. Instead of doing many things at once prefer to split up large classes into smaller classes. These smaller classes are then easier to understand and handle less things.
LargeClass(config, threshold) - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.LargeClass
This rule reports large classes. Classes should generally have one responsibility. Large classes can indicate that the class does instead handle multiple responsibilities. Instead of doing many things at once prefer to split up large classes into smaller classes. These smaller classes are then easier to understand and handle less things.
LargeClass() - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.LargeClass
This rule reports large classes. Classes should generally have one responsibility. Large classes can indicate that the class does instead handle multiple responsibilities. Instead of doing many things at once prefer to split up large classes into smaller classes. These smaller classes are then easier to understand and handle less things.
LargeClass.Companion - Class in io.gitlab.arturbosch.detekt.rules.complexity
 
LateinitUsage - Class in io.gitlab.arturbosch.detekt.rules.bugs
Turn on this rule to flag usages of the lateinit modifier.
LateinitUsage(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.LateinitUsage
Turn on this rule to flag usages of the lateinit modifier.
LateinitUsage() - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.LateinitUsage
Turn on this rule to flag usages of the lateinit modifier.
LateinitUsage.Companion - Class in io.gitlab.arturbosch.detekt.rules.bugs
 
LET_LITERAL - Static variable in class io.gitlab.arturbosch.detekt.rules.KeywordsKt
 
line($receiver, inFile) - Static method in class io.gitlab.arturbosch.detekt.rules.LinesOfCodeKt
 
linesOfCode($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.LinesOfCodeKt
 
linesOfCode($receiver, inFile) - Static method in class io.gitlab.arturbosch.detekt.rules.LinesOfCodeKt
 
LinesOfCodeKt - Class in io.gitlab.arturbosch.detekt.rules
 
LongMethod - Class in io.gitlab.arturbosch.detekt.rules.complexity
Methods should have one responsibility. Long methods can indicate that a method handles too many cases at once. Prefer smaller methods with clear names that describe their functionality clearly.
LongMethod(config, threshold) - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.LongMethod
Methods should have one responsibility. Long methods can indicate that a method handles too many cases at once. Prefer smaller methods with clear names that describe their functionality clearly.
LongMethod() - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.LongMethod
Methods should have one responsibility. Long methods can indicate that a method handles too many cases at once. Prefer smaller methods with clear names that describe their functionality clearly.
LongMethod.Companion - Class in io.gitlab.arturbosch.detekt.rules.complexity
 
LongParameterList - Class in io.gitlab.arturbosch.detekt.rules.complexity
Reports functions which have more parameters than a certain threshold (default: 6).
LongParameterList(config, threshold) - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.LongParameterList
Reports functions which have more parameters than a certain threshold (default: 6).
LongParameterList() - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.LongParameterList
Reports functions which have more parameters than a certain threshold (default: 6).
LongParameterList.Companion - Class in io.gitlab.arturbosch.detekt.rules.complexity
 
LoopWithTooManyJumpStatements - Class in io.gitlab.arturbosch.detekt.rules.style
Loops which contain multiple break or continue statements are hard to read and understand. To increase readability they should be refactored into simpler loops.
LoopWithTooManyJumpStatements(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.LoopWithTooManyJumpStatements
Loops which contain multiple break or continue statements are hard to read and understand. To increase readability they should be refactored into simpler loops.
LoopWithTooManyJumpStatements() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.LoopWithTooManyJumpStatements
Loops which contain multiple break or continue statements are hard to read and understand. To increase readability they should be refactored into simpler loops.
LoopWithTooManyJumpStatements.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 

M

MagicNumber - Class in io.gitlab.arturbosch.detekt.rules.style
This rule detects and reports usages of magic numbers in the code. Prefer defining constants with clear names describing what the magic number means.
MagicNumber(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.MagicNumber
This rule detects and reports usages of magic numbers in the code. Prefer defining constants with clear names describing what the magic number means.
MagicNumber() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.MagicNumber
This rule detects and reports usages of magic numbers in the code. Prefer defining constants with clear names describing what the magic number means.
MagicNumber.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 
MagicNumberKt - Class in io.gitlab.arturbosch.detekt.rules.style
 
MandatoryBracesIfStatements - Class in io.gitlab.arturbosch.detekt.rules.style.optional
This rule detects multi-line if statements which do not have braces. Adding braces would improve readability and avoid possible errors.
MandatoryBracesIfStatements(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.optional.MandatoryBracesIfStatements
This rule detects multi-line if statements which do not have braces. Adding braces would improve readability and avoid possible errors.
MandatoryBracesIfStatements() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.optional.MandatoryBracesIfStatements
This rule detects multi-line if statements which do not have braces. Adding braces would improve readability and avoid possible errors.
MatchingDeclarationName - Class in io.gitlab.arturbosch.detekt.rules.naming
"If a Kotlin file contains a single non-private class (potentially with related top-level declarations), its name should be the same as the name of the class, with the .kt extension appended. If a file contains multiple classes, or only top-level declarations, choose a name describing what the file contains, and name the file accordingly. Use camel humps with an uppercase first letter (e.g. ProcessDeclarations.kt).
MatchingDeclarationName(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.MatchingDeclarationName
"If a Kotlin file contains a single non-private class (potentially with related top-level declarations), its name should be the same as the name of the class, with the .kt extension appended. If a file contains multiple classes, or only top-level declarations, choose a name describing what the file contains, and name the file accordingly. Use camel humps with an uppercase first letter (e.g. ProcessDeclarations.kt).
MatchingDeclarationName() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.MatchingDeclarationName
"If a Kotlin file contains a single non-private class (potentially with related top-level declarations), its name should be the same as the name of the class, with the .kt extension appended. If a file contains multiple classes, or only top-level declarations, choose a name describing what the file contains, and name the file accordingly. Use camel humps with an uppercase first letter (e.g. ProcessDeclarations.kt).
MatchingDeclarationNameKt - Class in io.gitlab.arturbosch.detekt.rules.naming
 
MAX - Static variable in class io.gitlab.arturbosch.detekt.rules.style.ReturnCount
 
MAX - Static variable in class io.gitlab.arturbosch.detekt.rules.style.ThrowsCount
 
MAX_JUMP_COUNT - Static variable in class io.gitlab.arturbosch.detekt.rules.style.LoopWithTooManyJumpStatements
 
MAX_LINE_LENGTH - Static variable in class io.gitlab.arturbosch.detekt.rules.style.MaxLineLength
 
MAXIMUM_FUNCTION_NAME_LENGTH - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.FunctionMaxLength
 
MAXIMUM_VARIABLE_NAME_LENGTH - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.VariableMaxLength
 
MaxLineLength - Class in io.gitlab.arturbosch.detekt.rules.style
This rule reports lines of code which exceed a defined maximum line length.
MaxLineLength(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.MaxLineLength
This rule reports lines of code which exceed a defined maximum line length.
MaxLineLength() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.MaxLineLength
This rule reports lines of code which exceed a defined maximum line length.
MaxLineLength.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 
MayBeConst - Class in io.gitlab.arturbosch.detekt.rules.style
This rule identifies and reports properties (val) that may be const val instead. Using const val can lead to better performance of the resulting bytecode as well as better interoperability with Java.
MayBeConst(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.MayBeConst
This rule identifies and reports properties (val) that may be const val instead. Using const val can lead to better performance of the resulting bytecode as well as better interoperability with Java.
MayBeConst() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.MayBeConst
This rule identifies and reports properties (val) that may be const val instead. Using const val can lead to better performance of the resulting bytecode as well as better interoperability with Java.
MemberNameEqualsClassName - Class in io.gitlab.arturbosch.detekt.rules.naming
This rule reports a member that has the same as the containing class or object. This might result in confusion. The member should either be renamed or changed to a constructor. Factory functions that create an instance of the class are exempt from this rule.
MemberNameEqualsClassName(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.MemberNameEqualsClassName
This rule reports a member that has the same as the containing class or object. This might result in confusion. The member should either be renamed or changed to a constructor. Factory functions that create an instance of the class are exempt from this rule.
MemberNameEqualsClassName() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.MemberNameEqualsClassName
This rule reports a member that has the same as the containing class or object. This might result in confusion. The member should either be renamed or changed to a constructor. Factory functions that create an instance of the class are exempt from this rule.
MemberNameEqualsClassName.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
MESSAGE - Static variable in class io.gitlab.arturbosch.detekt.rules.style.EqualsOnSignatureLine
 
METHOD_NAMES - Static variable in class io.gitlab.arturbosch.detekt.rules.exceptions.ExceptionRaisedInUnexpectedLocation
 
MethodOverloading - Class in io.gitlab.arturbosch.detekt.rules.complexity
This rule reports methods which are overloaded often. Method overloading tightly couples these methods together which might make the code harder to understand.
MethodOverloading(config, threshold) - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.MethodOverloading
This rule reports methods which are overloaded often. Method overloading tightly couples these methods together which might make the code harder to understand.
MethodOverloading() - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.MethodOverloading
This rule reports methods which are overloaded often. Method overloading tightly couples these methods together which might make the code harder to understand.
MethodOverloading.Companion - Class in io.gitlab.arturbosch.detekt.rules.complexity
 
MethodSignatureKt - Class in io.gitlab.arturbosch.detekt.rules
 
MINIMUM_FUNCTION_NAME_LENGTH - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.FunctionMinLength
 
MINIMUM_VARIABLE_NAME_LENGTH - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.VariableMinLength
 
ModifierOrder - Class in io.gitlab.arturbosch.detekt.rules.style
This rule reports cases in the code where modifiers are not in the correct order. The default modifier order is taken from: http://kotlinlang.org/docs/reference/coding-conventions.html#modifiers
ModifierOrder(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ModifierOrder
This rule reports cases in the code where modifiers are not in the correct order. The default modifier order is taken from: http://kotlinlang.org/docs/reference/coding-conventions.html#modifiers
ModifierOrder() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ModifierOrder
This rule reports cases in the code where modifiers are not in the correct order. The default modifier order is taken from: http://kotlinlang.org/docs/reference/coding-conventions.html#modifiers

N

NamingProvider - Class in io.gitlab.arturbosch.detekt.rules.providers
The naming ruleset contains rules which assert the naming of different parts of the codebase.
NamingProvider() - Constructor for class io.gitlab.arturbosch.detekt.rules.providers.NamingProvider
The naming ruleset contains rules which assert the naming of different parts of the codebase.
NamingRules - Class in io.gitlab.arturbosch.detekt.rules.naming
 
NamingRules(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.NamingRules
 
NamingRules() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.NamingRules
 
NestedBlockDepth - Class in io.gitlab.arturbosch.detekt.rules.complexity
This rule reports excessive nesting depth in functions. Excessively nested code becomes harder to read and increases its hidden complexity. It might become harder to understand edge-cases of the function.
NestedBlockDepth(config, threshold) - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.NestedBlockDepth
This rule reports excessive nesting depth in functions. Excessively nested code becomes harder to read and increases its hidden complexity. It might become harder to understand edge-cases of the function.
NestedBlockDepth() - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.NestedBlockDepth
This rule reports excessive nesting depth in functions. Excessively nested code becomes harder to read and increases its hidden complexity. It might become harder to understand edge-cases of the function.
NestedBlockDepth.Companion - Class in io.gitlab.arturbosch.detekt.rules.complexity
 
NestedClassesVisibility - Class in io.gitlab.arturbosch.detekt.rules.style
Nested classes are often used to implement functionality local to the class it is nested in. Therefore it should not be public to other parts of the code. Prefer keeping nested classes private.
NestedClassesVisibility(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.NestedClassesVisibility
Nested classes are often used to implement functionality local to the class it is nested in. Therefore it should not be public to other parts of the code. Prefer keeping nested classes private.
NestedClassesVisibility() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.NestedClassesVisibility
Nested classes are often used to implement functionality local to the class it is nested in. Therefore it should not be public to other parts of the code. Prefer keeping nested classes private.
NewLineAtEndOfFile - Class in io.gitlab.arturbosch.detekt.rules.style
This rule reports files which do not end with a line separator.
NewLineAtEndOfFile(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.NewLineAtEndOfFile
This rule reports files which do not end with a line separator.
NewLineAtEndOfFile() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.NewLineAtEndOfFile
This rule reports files which do not end with a line separator.
NoTabs - Class in io.gitlab.arturbosch.detekt.rules.style
This rule reports if tabs are used in Kotlin files. According to https://android.github.io/kotlin-guides/style.html#whitespace-characters the only whitespace chars that are allowed in a source file are the line terminator sequence and the ASCII horizontal space character (0x20). Strings containing tabs are allowed.
NoTabs(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.NoTabs
This rule reports if tabs are used in Kotlin files. According to https://android.github.io/kotlin-guides/style.html#whitespace-characters the only whitespace chars that are allowed in a source file are the line terminator sequence and the ASCII horizontal space character (0x20). Strings containing tabs are allowed.
NoTabs() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.NoTabs
This rule reports if tabs are used in Kotlin files. According to https://android.github.io/kotlin-guides/style.html#whitespace-characters the only whitespace chars that are allowed in a source file are the line terminator sequence and the ASCII horizontal space character (0x20). Strings containing tabs are allowed.
NotImplementedDeclaration - Class in io.gitlab.arturbosch.detekt.rules.exceptions
This rule reports all exceptions of the type NotImplementedError that are thrown. It also reports all TODO(..) functions. These indicate that functionality is still under development and will not work properly. Both of these should only serve as temporary declarations and should not be put into production environments.
NotImplementedDeclaration(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.NotImplementedDeclaration
This rule reports all exceptions of the type NotImplementedError that are thrown. It also reports all TODO(..) functions. These indicate that functionality is still under development and will not work properly. Both of these should only serve as temporary declarations and should not be put into production environments.
NotImplementedDeclaration() - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.NotImplementedDeclaration
This rule reports all exceptions of the type NotImplementedError that are thrown. It also reports all TODO(..) functions. These indicate that functionality is still under development and will not work properly. Both of these should only serve as temporary declarations and should not be put into production environments.

O

ObjectPropertyNaming - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports when property names inside objects which do not follow the specified naming convention are used.
ObjectPropertyNaming(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.ObjectPropertyNaming
Reports when property names inside objects which do not follow the specified naming convention are used.
ObjectPropertyNaming() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.ObjectPropertyNaming
Reports when property names inside objects which do not follow the specified naming convention are used.
ObjectPropertyNaming.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
OptionalAbstractKeyword - Class in io.gitlab.arturbosch.detekt.rules.style
This rule reports abstract modifiers which are unnecessary and can be removed.
OptionalAbstractKeyword(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.OptionalAbstractKeyword
This rule reports abstract modifiers which are unnecessary and can be removed.
OptionalAbstractKeyword() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.OptionalAbstractKeyword
This rule reports abstract modifiers which are unnecessary and can be removed.
OptionalUnit - Class in io.gitlab.arturbosch.detekt.rules.style.optional
It is not necessary to define a return type of Unit on functions or to specify a lone Unit statement. This rule detects and reports instances where the Unit return type is specified on functions and the occurrences of a lone Unit statement.
OptionalUnit(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.optional.OptionalUnit
It is not necessary to define a return type of Unit on functions or to specify a lone Unit statement. This rule detects and reports instances where the Unit return type is specified on functions and the occurrences of a lone Unit statement.
OptionalUnit() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.optional.OptionalUnit
It is not necessary to define a return type of Unit on functions or to specify a lone Unit statement. This rule detects and reports instances where the Unit return type is specified on functions and the occurrences of a lone Unit statement.
OptionalUnit.Companion - Class in io.gitlab.arturbosch.detekt.rules.style.optional
 
OptionalWhenBraces - Class in io.gitlab.arturbosch.detekt.rules.style
This rule reports unnecessary braces in when expressions. These optional braces should be removed.
OptionalWhenBraces(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.OptionalWhenBraces
This rule reports unnecessary braces in when expressions. These optional braces should be removed.
OptionalWhenBraces() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.OptionalWhenBraces
This rule reports unnecessary braces in when expressions. These optional braces should be removed.

P

PACKAGE_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.PackageNaming
 
PackageNaming - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports when package names which do not follow the specified naming convention are used.
PackageNaming(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.PackageNaming
Reports when package names which do not follow the specified naming convention are used.
PackageNaming() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.PackageNaming
Reports when package names which do not follow the specified naming convention are used.
PackageNaming.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
PAIR_CONSTRUCTOR_REFERENCE_NAME - Static variable in class io.gitlab.arturbosch.detekt.rules.style.optional.PreferToOverPairSyntax
 
PARAMETER_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.ConstructorParameterNaming
 
PARAMETER_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.FunctionParameterNaming
 
PerformanceProvider - Class in io.gitlab.arturbosch.detekt.rules.providers
The performance rule set analyzes code for potential performance problems.
PerformanceProvider() - Constructor for class io.gitlab.arturbosch.detekt.rules.providers.PerformanceProvider
The performance rule set analyzes code for potential performance problems.
plainText($receiver) - Static method in class io.gitlab.arturbosch.detekt.rules.JunkKt
 
postVisit(root) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.LargeClass
 
postVisit(root) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.LongMethod
 
PotentialBugProvider - Class in io.gitlab.arturbosch.detekt.rules.providers
The potential-bugs rule set provides rules that detect potential bugs.
PotentialBugProvider() - Constructor for class io.gitlab.arturbosch.detekt.rules.providers.PotentialBugProvider
The potential-bugs rule set provides rules that detect potential bugs.
PreferToOverPairSyntax - Class in io.gitlab.arturbosch.detekt.rules.style.optional
This rule detects the usage of the Pair constructor to create pairs of values.
PreferToOverPairSyntax(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.optional.PreferToOverPairSyntax
This rule detects the usage of the Pair constructor to create pairs of values.
PreferToOverPairSyntax() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.optional.PreferToOverPairSyntax
This rule detects the usage of the Pair constructor to create pairs of values.
PreferToOverPairSyntax.Companion - Class in io.gitlab.arturbosch.detekt.rules.style.optional
 
preVisit(root) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.LargeClass
 
preVisit(root) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.LongMethod
 
PrintStackTrace - Class in io.gitlab.arturbosch.detekt.rules.exceptions
This rule reports code that tries to print the stacktrace of an exception. Instead of simply printing a stacktrace a better logging solution should be used.
PrintStackTrace(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.PrintStackTrace
This rule reports code that tries to print the stacktrace of an exception. Instead of simply printing a stacktrace a better logging solution should be used.
PrintStackTrace() - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.PrintStackTrace
This rule reports code that tries to print the stacktrace of an exception. Instead of simply printing a stacktrace a better logging solution should be used.
PRIVATE_PARAMETER_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.ConstructorParameterNaming
 
PRIVATE_PROPERTY_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.ObjectPropertyNaming
 
PRIVATE_PROPERTY_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.TopLevelPropertyNaming
 
PRIVATE_VARIABLE_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.VariableNaming
 
PrivateElementUtilKt - Class in io.gitlab.arturbosch.detekt.rules.documentation
 
PROPERTY_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.ObjectPropertyNaming
 
PROPERTY_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.TopLevelPropertyNaming
 
ProtectedMemberInFinalClass - Class in io.gitlab.arturbosch.detekt.rules.style
Kotlin classes are final by default. Thus classes which are not marked as open should not contain any protected members. Consider using private or internal modifiers instead.
ProtectedMemberInFinalClass(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ProtectedMemberInFinalClass
Kotlin classes are final by default. Thus classes which are not marked as open should not contain any protected members. Consider using private or internal modifiers instead.
ProtectedMemberInFinalClass() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ProtectedMemberInFinalClass
Kotlin classes are final by default. Thus classes which are not marked as open should not contain any protected members. Consider using private or internal modifiers instead.

R

RedundantVisibilityModifierRule - Class in io.gitlab.arturbosch.detekt.rules.style
This rule checks for redundant visibility modifiers.
RedundantVisibilityModifierRule(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.RedundantVisibilityModifierRule
This rule checks for redundant visibility modifiers.
RedundantVisibilityModifierRule() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.RedundantVisibilityModifierRule
This rule checks for redundant visibility modifiers.
RethrowCaughtException - Class in io.gitlab.arturbosch.detekt.rules.exceptions
This rule reports all exceptions that are caught and then later re-thrown without modification. It ignores caught exceptions that are rethrown if there is work done before that.
RethrowCaughtException(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.RethrowCaughtException
This rule reports all exceptions that are caught and then later re-thrown without modification. It ignores caught exceptions that are rethrown if there is work done before that.
RethrowCaughtException() - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.RethrowCaughtException
This rule reports all exceptions that are caught and then later re-thrown without modification. It ignores caught exceptions that are rethrown if there is work done before that.
ReturnCount - Class in io.gitlab.arturbosch.detekt.rules.style
Restrict the number of return methods allowed in methods.
ReturnCount(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ReturnCount
Restrict the number of return methods allowed in methods.
ReturnCount() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ReturnCount
Restrict the number of return methods allowed in methods.
ReturnCount.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 
ReturnFromFinally - Class in io.gitlab.arturbosch.detekt.rules.exceptions
Reports all return statements in finally blocks. Using return statements in finally blocks can discard and hide exceptions that are thrown in the try block.
ReturnFromFinally(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.ReturnFromFinally
Reports all return statements in finally blocks. Using return statements in finally blocks can discard and hide exceptions that are thrown in the try block.
ReturnFromFinally() - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.ReturnFromFinally
Reports all return statements in finally blocks. Using return statements in finally blocks can discard and hide exceptions that are thrown in the try block.

S

SafeCast - Class in io.gitlab.arturbosch.detekt.rules.style
This rule inspects casts and reports casts which could be replaced with safe casts instead.
SafeCast(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.SafeCast
This rule inspects casts and reports casts which could be replaced with safe casts instead.
SafeCast() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.SafeCast
This rule inspects casts and reports casts which could be replaced with safe casts instead.
SEARCH_IN_INNER_CLASS - Static variable in class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicClass
 
SEARCH_IN_INNER_INTERFACE - Static variable in class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicClass
 
SEARCH_IN_INNER_OBJECT - Static variable in class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicClass
 
SEARCH_IN_NESTED_CLASS - Static variable in class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicClass
 
SerialVersionUIDInSerializableClass - Class in io.gitlab.arturbosch.detekt.rules.style
Classes which implement the Serializable interface should also correctly declare a serialVersionUID. This rule verifies that a serialVersionUID was correctly defined.
SerialVersionUIDInSerializableClass(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.SerialVersionUIDInSerializableClass
Classes which implement the Serializable interface should also correctly declare a serialVersionUID. This rule verifies that a serialVersionUID was correctly defined.
SerialVersionUIDInSerializableClass() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.SerialVersionUIDInSerializableClass
Classes which implement the Serializable interface should also correctly declare a serialVersionUID. This rule verifies that a serialVersionUID was correctly defined.
setProperties(p) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UselessPostfixExpression
 
SpacingBetweenPackageAndImports - Class in io.gitlab.arturbosch.detekt.rules.style
This rule verifies spacing between package and import statements as well as between import statements and class declarations.
SpacingBetweenPackageAndImports(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.SpacingBetweenPackageAndImports
This rule verifies spacing between package and import statements as well as between import statements and class declarations.
SpacingBetweenPackageAndImports() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.SpacingBetweenPackageAndImports
This rule verifies spacing between package and import statements as well as between import statements and class declarations.
SpreadOperator - Class in io.gitlab.arturbosch.detekt.rules.performance
Using a spread operator causes a full copy of the array to be created before calling a method. This has a very high performance penalty. Benchmarks showing this performance penalty can be seen here: https://sites.google.com/a/athaydes.com/renato-athaydes/posts/kotlinshiddencosts-benchmarks
SpreadOperator(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.performance.SpreadOperator
Using a spread operator causes a full copy of the array to be created before calling a method. This has a very high performance penalty. Benchmarks showing this performance penalty can be seen here: https://sites.google.com/a/athaydes.com/renato-athaydes/posts/kotlinshiddencosts-benchmarks
SpreadOperator() - Constructor for class io.gitlab.arturbosch.detekt.rules.performance.SpreadOperator
Using a spread operator causes a full copy of the array to be created before calling a method. This has a very high performance penalty. Benchmarks showing this performance penalty can be seen here: https://sites.google.com/a/athaydes.com/renato-athaydes/posts/kotlinshiddencosts-benchmarks
STRING_EXCLUSION_LENGTH - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.StringLiteralDuplication
 
StringExtensionsKt - Class in io.gitlab.arturbosch.detekt.rules
 
StringLiteralDuplication - Class in io.gitlab.arturbosch.detekt.rules.complexity
This rule detects and reports duplicated String literals. Repeatedly typing out the same String literal across the codebase makes it harder to change and maintain.
StringLiteralDuplication(config, threshold) - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.StringLiteralDuplication
This rule detects and reports duplicated String literals. Repeatedly typing out the same String literal across the codebase makes it harder to change and maintain.
StringLiteralDuplication() - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.StringLiteralDuplication
This rule detects and reports duplicated String literals. Repeatedly typing out the same String literal across the codebase makes it harder to change and maintain.
StringLiteralDuplication.Companion - Class in io.gitlab.arturbosch.detekt.rules.complexity
 
StyleGuideProvider - Class in io.gitlab.arturbosch.detekt.rules.providers
The Style ruleset provides rules that assert the style of the code. This will help keep code in line with the given code style guidelines.
StyleGuideProvider() - Constructor for class io.gitlab.arturbosch.detekt.rules.providers.StyleGuideProvider
The Style ruleset provides rules that assert the style of the code. This will help keep code in line with the given code style guidelines.
SwallowedException - Class in io.gitlab.arturbosch.detekt.rules.exceptions
Exceptions should not be swallowed. This rule reports all instances where exceptions are caught and not correctly passed into a newly thrown exception.
SwallowedException(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.SwallowedException
Exceptions should not be swallowed. This rule reports all instances where exceptions are caught and not correctly passed into a newly thrown exception.
SwallowedException() - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.SwallowedException
Exceptions should not be swallowed. This rule reports all instances where exceptions are caught and not correctly passed into a newly thrown exception.
SwallowedException.Companion - Class in io.gitlab.arturbosch.detekt.rules.exceptions
 

T

THRESHOLD_IN_CLASSES - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
THRESHOLD_IN_ENUMS - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
THRESHOLD_IN_FILES - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
THRESHOLD_IN_INTERFACES - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
THRESHOLD_IN_OBJECTS - Static variable in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
ThrowingExceptionFromFinally - Class in io.gitlab.arturbosch.detekt.rules.exceptions
This rule reports all cases where exceptions are thrown from a finally block. Throwing exceptions from a finally block should be avoided as it can lead to confusion and discarded exceptions.
ThrowingExceptionFromFinally(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionFromFinally
This rule reports all cases where exceptions are thrown from a finally block. Throwing exceptions from a finally block should be avoided as it can lead to confusion and discarded exceptions.
ThrowingExceptionFromFinally() - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionFromFinally
This rule reports all cases where exceptions are thrown from a finally block. Throwing exceptions from a finally block should be avoided as it can lead to confusion and discarded exceptions.
ThrowingExceptionInMain - Class in io.gitlab.arturbosch.detekt.rules.exceptions
This rule reports all exceptions that are thrown in a main method. An exception should only be thrown if it can be handled by a "higher" function.
ThrowingExceptionInMain(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionInMain
This rule reports all exceptions that are thrown in a main method. An exception should only be thrown if it can be handled by a "higher" function.
ThrowingExceptionInMain() - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionInMain
This rule reports all exceptions that are thrown in a main method. An exception should only be thrown if it can be handled by a "higher" function.
ThrowingExceptionsWithoutMessageOrCause - Class in io.gitlab.arturbosch.detekt.rules.exceptions
This rule reports all exceptions which are thrown without arguments or further description. Exceptions should always call one of the constructor overloads to provide a message or a cause. Exceptions should be meaningful and contain as much detail about the error case as possible. This will help to track down an underlying issue in a better way.
ThrowingExceptionsWithoutMessageOrCause(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionsWithoutMessageOrCause
This rule reports all exceptions which are thrown without arguments or further description. Exceptions should always call one of the constructor overloads to provide a message or a cause. Exceptions should be meaningful and contain as much detail about the error case as possible. This will help to track down an underlying issue in a better way.
ThrowingExceptionsWithoutMessageOrCause() - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionsWithoutMessageOrCause
This rule reports all exceptions which are thrown without arguments or further description. Exceptions should always call one of the constructor overloads to provide a message or a cause. Exceptions should be meaningful and contain as much detail about the error case as possible. This will help to track down an underlying issue in a better way.
ThrowingExceptionsWithoutMessageOrCause.Companion - Class in io.gitlab.arturbosch.detekt.rules.exceptions
 
ThrowingNewInstanceOfSameException - Class in io.gitlab.arturbosch.detekt.rules.exceptions
Exceptions should not be wrapped inside the same exception type and then rethrown. Prefer wrapping exceptions in more meaningful exception types.
ThrowingNewInstanceOfSameException(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingNewInstanceOfSameException
Exceptions should not be wrapped inside the same exception type and then rethrown. Prefer wrapping exceptions in more meaningful exception types.
ThrowingNewInstanceOfSameException() - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingNewInstanceOfSameException
Exceptions should not be wrapped inside the same exception type and then rethrown. Prefer wrapping exceptions in more meaningful exception types.
THROWN_EXCEPTIONS_PROPERTY - Static variable in class io.gitlab.arturbosch.detekt.rules.exceptions.TooGenericExceptionThrown
 
ThrowsCount - Class in io.gitlab.arturbosch.detekt.rules.style
Functions should have clear throw statements. Functions with many throw statements can be harder to read and lead to confusion. Instead prefer to limit the amount of throw statements in a function.
ThrowsCount(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ThrowsCount
Functions should have clear throw statements. Functions with many throw statements can be harder to read and lead to confusion. Instead prefer to limit the amount of throw statements in a function.
ThrowsCount() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.ThrowsCount
Functions should have clear throw statements. Functions with many throw statements can be harder to read and lead to confusion. Instead prefer to limit the amount of throw statements in a function.
ThrowsCount.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 
tokenSequence($receiver, skipTreesOf) - Static method in class io.gitlab.arturbosch.detekt.rules.LinesOfCodeKt
 
TooGenericExceptionCaught - Class in io.gitlab.arturbosch.detekt.rules.exceptions
This rule reports catch blocks for exceptions that have a type that is too generic. It should be preferred to catch specific exceptions to the case that is currently handled. If the scope of the caught exception is too broad it can lead to unintended exceptions being caught.
TooGenericExceptionCaught(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.TooGenericExceptionCaught
This rule reports catch blocks for exceptions that have a type that is too generic. It should be preferred to catch specific exceptions to the case that is currently handled. If the scope of the caught exception is too broad it can lead to unintended exceptions being caught.
TooGenericExceptionCaught.Companion - Class in io.gitlab.arturbosch.detekt.rules.exceptions
 
TooGenericExceptionCaughtKt - Class in io.gitlab.arturbosch.detekt.rules.exceptions
 
TooGenericExceptionThrown - Class in io.gitlab.arturbosch.detekt.rules.exceptions
This rule reports thrown exceptions that have a type that is too generic. It should be preferred to throw specific exceptions to the case that has currently occurred.
TooGenericExceptionThrown(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.exceptions.TooGenericExceptionThrown
This rule reports thrown exceptions that have a type that is too generic. It should be preferred to throw specific exceptions to the case that has currently occurred.
TooGenericExceptionThrown.Companion - Class in io.gitlab.arturbosch.detekt.rules.exceptions
 
TooGenericExceptionThrownKt - Class in io.gitlab.arturbosch.detekt.rules.exceptions
 
TooManyFunctions - Class in io.gitlab.arturbosch.detekt.rules.complexity
This rule reports files, classes, interfaces, objects and enums which contain too many functions. Each element can be configured with different thresholds.
TooManyFunctions(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
This rule reports files, classes, interfaces, objects and enums which contain too many functions. Each element can be configured with different thresholds.
TooManyFunctions() - Constructor for class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
This rule reports files, classes, interfaces, objects and enums which contain too many functions. Each element can be configured with different thresholds.
TooManyFunctions.Companion - Class in io.gitlab.arturbosch.detekt.rules.complexity
 
TopLevelPropertyNaming - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports when top level constant names which do not follow the specified naming convention are used.
TopLevelPropertyNaming(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.TopLevelPropertyNaming
Reports when top level constant names which do not follow the specified naming convention are used.
TopLevelPropertyNaming() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.TopLevelPropertyNaming
Reports when top level constant names which do not follow the specified naming convention are used.
TopLevelPropertyNaming.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
toString() - Method in class io.gitlab.arturbosch.detekt.rules.style.KtFileContent
 
TrailingWhitespace - Class in io.gitlab.arturbosch.detekt.rules.style
This rule reports lines that end with a whitespace.
TrailingWhitespace(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.TrailingWhitespace
This rule reports lines that end with a whitespace.
TrailingWhitespace() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.TrailingWhitespace
This rule reports lines that end with a whitespace.
TraversingKt - Class in io.gitlab.arturbosch.detekt.rules
 

U

UnconditionalJumpStatementInLoop - Class in io.gitlab.arturbosch.detekt.rules.bugs
Reports loops which contain jump statements that jump regardless of any conditions. This implies that the loop is only executed once and thus could be rewritten without a loop altogether.
UnconditionalJumpStatementInLoop(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.UnconditionalJumpStatementInLoop
Reports loops which contain jump statements that jump regardless of any conditions. This implies that the loop is only executed once and thus could be rewritten without a loop altogether.
UnconditionalJumpStatementInLoop() - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.UnconditionalJumpStatementInLoop
Reports loops which contain jump statements that jump regardless of any conditions. This implies that the loop is only executed once and thus could be rewritten without a loop altogether.
UndocumentedPublicClass - Class in io.gitlab.arturbosch.detekt.rules.documentation
This rule reports public classes, objects and interfaces which do not have the required documentation. Enable this rule if the codebase should have documentation on every public class, interface and object.
UndocumentedPublicClass(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicClass
This rule reports public classes, objects and interfaces which do not have the required documentation. Enable this rule if the codebase should have documentation on every public class, interface and object.
UndocumentedPublicClass() - Constructor for class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicClass
This rule reports public classes, objects and interfaces which do not have the required documentation. Enable this rule if the codebase should have documentation on every public class, interface and object.
UndocumentedPublicClass.Companion - Class in io.gitlab.arturbosch.detekt.rules.documentation
 
UndocumentedPublicFunction - Class in io.gitlab.arturbosch.detekt.rules.documentation
This rule will report any public function which does not have the required documentation. If the codebase should have documentation on all public functions enable this rule to enforce this.
UndocumentedPublicFunction(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicFunction
This rule will report any public function which does not have the required documentation. If the codebase should have documentation on all public functions enable this rule to enforce this.
UndocumentedPublicFunction() - Constructor for class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicFunction
This rule will report any public function which does not have the required documentation. If the codebase should have documentation on all public functions enable this rule to enforce this.
UnnecessaryAbstractClass - Class in io.gitlab.arturbosch.detekt.rules.style
This rule inspects abstract classes. In case an abstract class does not have any concrete members it should be refactored into an interface. Abstract classes which do not define any abstract members should instead be refactored into concrete classes.
UnnecessaryAbstractClass(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryAbstractClass
This rule inspects abstract classes. In case an abstract class does not have any concrete members it should be refactored into an interface. Abstract classes which do not define any abstract members should instead be refactored into concrete classes.
UnnecessaryAbstractClass() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryAbstractClass
This rule inspects abstract classes. In case an abstract class does not have any concrete members it should be refactored into an interface. Abstract classes which do not define any abstract members should instead be refactored into concrete classes.
UnnecessaryAbstractClass.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 
UnnecessaryApply - Class in io.gitlab.arturbosch.detekt.rules.style
apply expressions are used frequently, but sometimes their usage should be replaced with an ordinary method/extension function call to reduce visual complexity
UnnecessaryApply(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryApply
apply expressions are used frequently, but sometimes their usage should be replaced with an ordinary method/extension function call to reduce visual complexity
UnnecessaryApplyKt - Class in io.gitlab.arturbosch.detekt.rules.style
 
UnnecessaryInheritance - Class in io.gitlab.arturbosch.detekt.rules.style
This rule reports unnecessary super types. Inheriting from Any or Object is unnecessary and should simply be removed.
UnnecessaryInheritance(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryInheritance
This rule reports unnecessary super types. Inheriting from Any or Object is unnecessary and should simply be removed.
UnnecessaryInheritance() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryInheritance
This rule reports unnecessary super types. Inheriting from Any or Object is unnecessary and should simply be removed.
UnnecessaryLet - Class in io.gitlab.arturbosch.detekt.rules.style
let expressions are used extensively in our code for null-checking and chaining functions, but sometimes their usage should be replaced with a ordinary method/extension function call to reduce visual complexity
UnnecessaryLet(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryLet
let expressions are used extensively in our code for null-checking and chaining functions, but sometimes their usage should be replaced with a ordinary method/extension function call to reduce visual complexity
UnnecessaryLetKt - Class in io.gitlab.arturbosch.detekt.rules.style
 
UnnecessaryParentheses - Class in io.gitlab.arturbosch.detekt.rules.style
This rule reports unnecessary parentheses around expressions. These unnecessary parentheses can safely be removed.
UnnecessaryParentheses(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryParentheses
This rule reports unnecessary parentheses around expressions. These unnecessary parentheses can safely be removed.
UnnecessaryParentheses() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryParentheses
This rule reports unnecessary parentheses around expressions. These unnecessary parentheses can safely be removed.
UnnecessaryTemporaryInstantiation - Class in io.gitlab.arturbosch.detekt.rules.performance
Avoid temporary objects when converting primitive types to String. This has a performance penalty when compared to using primitive types directly. To solve this issue, remove the wrapping type.
UnnecessaryTemporaryInstantiation(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.performance.UnnecessaryTemporaryInstantiation
Avoid temporary objects when converting primitive types to String. This has a performance penalty when compared to using primitive types directly. To solve this issue, remove the wrapping type.
UnnecessaryTemporaryInstantiation() - Constructor for class io.gitlab.arturbosch.detekt.rules.performance.UnnecessaryTemporaryInstantiation
Avoid temporary objects when converting primitive types to String. This has a performance penalty when compared to using primitive types directly. To solve this issue, remove the wrapping type.
UnreachableCode - Class in io.gitlab.arturbosch.detekt.rules.bugs
Reports unreachable code. Code can be unreachable because it is behind return, throw, continue or break expressions. This unreachable code should be removed as it serves no purpose.
UnreachableCode(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.UnreachableCode
Reports unreachable code. Code can be unreachable because it is behind return, throw, continue or break expressions. This unreachable code should be removed as it serves no purpose.
UnreachableCode() - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.UnreachableCode
Reports unreachable code. Code can be unreachable because it is behind return, throw, continue or break expressions. This unreachable code should be removed as it serves no purpose.
UnsafeCallOnNullableType - Class in io.gitlab.arturbosch.detekt.rules.bugs
Reports unsafe calls on nullable types. These calls will throw a NullPointerException in case the nullable value is null. Kotlin provides many ways to work with nullable types to increase null safety. Guard the code appropriately to prevent NullPointerExceptions.
UnsafeCallOnNullableType(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.UnsafeCallOnNullableType
Reports unsafe calls on nullable types. These calls will throw a NullPointerException in case the nullable value is null. Kotlin provides many ways to work with nullable types to increase null safety. Guard the code appropriately to prevent NullPointerExceptions.
UnsafeCallOnNullableType() - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.UnsafeCallOnNullableType
Reports unsafe calls on nullable types. These calls will throw a NullPointerException in case the nullable value is null. Kotlin provides many ways to work with nullable types to increase null safety. Guard the code appropriately to prevent NullPointerExceptions.
UnsafeCast - Class in io.gitlab.arturbosch.detekt.rules.bugs
Reports casts which are unsafe. In case the cast is not possible it will throw an exception.
UnsafeCast(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.UnsafeCast
Reports casts which are unsafe. In case the cast is not possible it will throw an exception.
UnsafeCast() - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.UnsafeCast
Reports casts which are unsafe. In case the cast is not possible it will throw an exception.
UntilInsteadOfRangeTo - Class in io.gitlab.arturbosch.detekt.rules.style
Reports calls to '..' operator instead of calls to 'until'. 'until' is applicable in cases where the upper range value is described as some value subtracted by 1. 'until' helps to prevent off-by-one errors.
UntilInsteadOfRangeTo(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UntilInsteadOfRangeTo
Reports calls to '..' operator instead of calls to 'until'. 'until' is applicable in cases where the upper range value is described as some value subtracted by 1. 'until' helps to prevent off-by-one errors.
UntilInsteadOfRangeTo() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UntilInsteadOfRangeTo
Reports calls to '..' operator instead of calls to 'until'. 'until' is applicable in cases where the upper range value is described as some value subtracted by 1. 'until' helps to prevent off-by-one errors.
UnusedImports - Class in io.gitlab.arturbosch.detekt.rules.style
This rule reports unused imports. Unused imports are dead code and should be removed.
UnusedImports(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UnusedImports
This rule reports unused imports. Unused imports are dead code and should be removed.
UnusedImports.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 
UnusedImportsKt - Class in io.gitlab.arturbosch.detekt.rules.style
 
UnusedPrivateClass - Class in io.gitlab.arturbosch.detekt.rules.style
Reports unused private classes. If private classes are unused they should be removed. Otherwise this dead code can lead to confusion and potential bugs.
UnusedPrivateClass(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UnusedPrivateClass
Reports unused private classes. If private classes are unused they should be removed. Otherwise this dead code can lead to confusion and potential bugs.
UnusedPrivateClass() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UnusedPrivateClass
Reports unused private classes. If private classes are unused they should be removed. Otherwise this dead code can lead to confusion and potential bugs.
UnusedPrivateClassKt - Class in io.gitlab.arturbosch.detekt.rules.style
 
UnusedPrivateMember - Class in io.gitlab.arturbosch.detekt.rules.style
Reports unused private properties, function parameters and functions. If private properties are unused they should be removed. Otherwise this dead code can lead to confusion and potential bugs.
UnusedPrivateMember(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UnusedPrivateMember
Reports unused private properties, function parameters and functions. If private properties are unused they should be removed. Otherwise this dead code can lead to confusion and potential bugs.
UnusedPrivateMember() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UnusedPrivateMember
Reports unused private properties, function parameters and functions. If private properties are unused they should be removed. Otherwise this dead code can lead to confusion and potential bugs.
UnusedPrivateMember.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 
UseDataClass - Class in io.gitlab.arturbosch.detekt.rules.style
Classes that simply hold data should be refactored into a data class. Data classes are specialized to hold data and generate hashCode, equals and toString implementations as well.
UseDataClass(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UseDataClass
Classes that simply hold data should be refactored into a data class. Data classes are specialized to hold data and generate hashCode, equals and toString implementations as well.
UseDataClass() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UseDataClass
Classes that simply hold data should be refactored into a data class. Data classes are specialized to hold data and generate hashCode, equals and toString implementations as well.
UseDataClass.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 
UselessPostfixExpression - Class in io.gitlab.arturbosch.detekt.rules.bugs
This rule reports postfix expressions (++, --) which are unused and thus unnecessary. This leads to confusion as a reader of the code might think the value will be incremented/decremented. However the value is replaced with the original value which might lead to bugs.
UselessPostfixExpression(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.UselessPostfixExpression
This rule reports postfix expressions (++, --) which are unused and thus unnecessary. This leads to confusion as a reader of the code might think the value will be incremented/decremented. However the value is replaced with the original value which might lead to bugs.
UselessPostfixExpression() - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.UselessPostfixExpression
This rule reports postfix expressions (++, --) which are unused and thus unnecessary. This leads to confusion as a reader of the code might think the value will be incremented/decremented. However the value is replaced with the original value which might lead to bugs.
UtilityClassWithPublicConstructor - Class in io.gitlab.arturbosch.detekt.rules.style
A class which only contains utility variables and functions with no concrete implementation can be refactored into an object or an class with a non-public constructor. Furthermore, this rule reports utility classes which are not final.
UtilityClassWithPublicConstructor(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UtilityClassWithPublicConstructor
A class which only contains utility variables and functions with no concrete implementation can be refactored into an object or an class with a non-public constructor. Furthermore, this rule reports utility classes which are not final.
UtilityClassWithPublicConstructor() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.UtilityClassWithPublicConstructor
A class which only contains utility variables and functions with no concrete implementation can be refactored into an object or an class with a non-public constructor. Furthermore, this rule reports utility classes which are not final.

V

VALUES - Static variable in class io.gitlab.arturbosch.detekt.rules.style.ForbiddenComment
 
VarCouldBeVal - Class in io.gitlab.arturbosch.detekt.rules.style
Reports var declarations (locally-scoped variables) that could be val, as they are not re-assigned. Val declarations are assign-once (read-only), which makes understanding the current state easier.
VarCouldBeVal(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.VarCouldBeVal
Reports var declarations (locally-scoped variables) that could be val, as they are not re-assigned. Val declarations are assign-once (read-only), which makes understanding the current state easier.
VarCouldBeVal() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.VarCouldBeVal
Reports var declarations (locally-scoped variables) that could be val, as they are not re-assigned. Val declarations are assign-once (read-only), which makes understanding the current state easier.
VarCouldBeValKt - Class in io.gitlab.arturbosch.detekt.rules.style
 
VARIABLE_PATTERN - Static variable in class io.gitlab.arturbosch.detekt.rules.naming.VariableNaming
 
VariableMaxLength - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports when very long variable names are used.
VariableMaxLength(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.VariableMaxLength
Reports when very long variable names are used.
VariableMaxLength() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.VariableMaxLength
Reports when very long variable names are used.
VariableMaxLength.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
VariableMinLength - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports when very short variable names are used.
VariableMinLength(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.VariableMinLength
Reports when very short variable names are used.
VariableMinLength() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.VariableMinLength
Reports when very short variable names are used.
VariableMinLength.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
VariableNaming - Class in io.gitlab.arturbosch.detekt.rules.naming
Reports when variable names which do not follow the specified naming convention are used.
VariableNaming(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.VariableNaming
Reports when variable names which do not follow the specified naming convention are used.
VariableNaming() - Constructor for class io.gitlab.arturbosch.detekt.rules.naming.VariableNaming
Reports when variable names which do not follow the specified naming convention are used.
VariableNaming.Companion - Class in io.gitlab.arturbosch.detekt.rules.naming
 
verify(declaration) - Method in class io.gitlab.arturbosch.detekt.rules.documentation.EndOfSentenceFormat
 
visit(root) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.LateinitUsage
 
visit(element) - Method in class io.gitlab.arturbosch.detekt.rules.style.MaxLineLength
 
visit(fileContent) - Method in class io.gitlab.arturbosch.detekt.rules.style.TrailingWhitespace
 
visit(root) - Method in class io.gitlab.arturbosch.detekt.rules.style.UnusedImports
 
visit(root) - Method in class io.gitlab.arturbosch.detekt.rules.style.UnusedPrivateClass
 
visit(root) - Method in class io.gitlab.arturbosch.detekt.rules.style.UnusedPrivateMember
 
visit(root) - Method in class io.gitlab.arturbosch.detekt.rules.style.UseDataClass
 
visitArgument(argument) - Method in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryParentheses
 
visitBinaryExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.InvalidRange
 
visitBinaryExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UselessPostfixExpression
 
visitBinaryExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.UntilInsteadOfRangeTo
 
visitBinaryWithTypeRHSExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UnsafeCast
 
visitBlockExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.optional.OptionalUnit
 
visitBreakExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UnreachableCode
 
visitCallExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.ExplicitGarbageCollectionCall
 
visitCallExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.NotImplementedDeclaration
 
visitCallExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.PrintStackTrace
 
visitCallExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionsWithoutMessageOrCause
 
visitCallExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.performance.ForEachOnRange
 
visitCallExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.performance.UnnecessaryTemporaryInstantiation
 
visitCallExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.EqualsNullCall
 
visitCallExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryApply
 
visitCallExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryLet
 
visitCatchSection(catchClause) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
visitCatchSection(catchClause) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyCatchBlock
 
visitCatchSection(catchClause) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.InstanceOfCheckForException
 
visitCatchSection(catchClause) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.PrintStackTrace
 
visitCatchSection(catchClause) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.RethrowCaughtException
 
visitCatchSection(catchClause) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.SwallowedException
 
visitCatchSection(catchClause) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingNewInstanceOfSameException
 
visitCatchSection(catchClause) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.TooGenericExceptionCaught
 
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UselessPostfixExpression
 
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.WrongEqualsTypeParameter
 
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexInterface
 
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.MethodOverloading
 
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicClass
 
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.naming.MemberNameEqualsClassName
 
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.style.DataClassContainsFunctions
 
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.style.NestedClassesVisibility
 
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.style.OptionalAbstractKeyword
 
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.style.ProtectedMemberInFinalClass
Only classes and companion objects can contain protected members.
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.style.SerialVersionUIDInSerializableClass
 
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryAbstractClass
 
visitClass(klass) - Method in class io.gitlab.arturbosch.detekt.rules.style.UtilityClassWithPublicConstructor
 
visitClassInitializer(initializer) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
visitClassInitializer(initializer) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyInitBlock
 
visitClassOrObject(classOrObject) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.EqualsWithHashCodeExist
 
visitClassOrObject(classOrObject) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.IteratorHasNextCallsNextMethod
 
visitClassOrObject(classOrObject) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.IteratorNotThrowingNoSuchElementException
 
visitClassOrObject(classOrObject) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.LargeClass
 
visitClassOrObject(classOrObject) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
visitClassOrObject(classOrObject) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyClassBlock
 
visitClassOrObject(classOrObject) - Method in class io.gitlab.arturbosch.detekt.rules.naming.ClassNaming
 
visitClassOrObject(classOrObject) - Method in class io.gitlab.arturbosch.detekt.rules.naming.ForbiddenClassName
 
visitClassOrObject(classOrObject) - Method in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryInheritance
 
visitComment(comment) - Method in class io.gitlab.arturbosch.detekt.rules.style.ForbiddenComment
 
visitConstantExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.MagicNumber
 
visitContinueExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UnreachableCode
 
visitDeclaration(dcl) - Method in class io.gitlab.arturbosch.detekt.rules.documentation.KDocStyle
 
visitDoWhileExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexCondition
 
visitDoWhileExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
visitDoWhileExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyDoWhileBlock
 
visitEnumEntry(enumEntry) - Method in class io.gitlab.arturbosch.detekt.rules.naming.EnumNaming
 
visitExpressionWithLabel(expression) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.LabeledExpression
 
visitFile(file) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.EqualsWithHashCodeExist
 
visitFile(file) - Method in class io.gitlab.arturbosch.detekt.rules.style.SpacingBetweenPackageAndImports
 
visitFinallySection(finallySection) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
visitFinallySection(finallySection) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyFinallyBlock
 
visitFinallySection(finallySection) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.ReturnFromFinally
 
visitFinallySection(finallySection) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionFromFinally
 
visitForExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
visitForExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyForBlock
 
visitIfExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexCondition
 
visitIfExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
visitIfExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyElseBlock
 
visitIfExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyIfBlock
 
visitIfExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.CollapsibleIfStatements
 
visitIfExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.optional.ConditionalPathVisitor
 
visitIfExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.optional.MandatoryBracesIfStatements
 
visitIfExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.SafeCast
 
visitImportDirective(importDirective) - Method in class io.gitlab.arturbosch.detekt.rules.style.ForbiddenImport
 
visitImportDirective(importDirective) - Method in class io.gitlab.arturbosch.detekt.rules.style.WildcardImport
 
visitImportList(importList) - Method in class io.gitlab.arturbosch.detekt.rules.style.SpacingBetweenPackageAndImports
 
visitKtFile(file) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.MethodOverloading
 
visitKtFile(file) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.StringLiteralDuplication
 
visitKtFile(file) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
visitKtFile(file) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
visitKtFile(file) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyKtFile
 
visitKtFile(file) - Method in class io.gitlab.arturbosch.detekt.rules.naming.MatchingDeclarationName
 
visitKtFile(file) - Method in class io.gitlab.arturbosch.detekt.rules.style.FileParsingRule
 
visitKtFile(file) - Method in class io.gitlab.arturbosch.detekt.rules.style.MayBeConst
 
visitKtFile(file) - Method in class io.gitlab.arturbosch.detekt.rules.style.NewLineAtEndOfFile
 
visitKtFile(file) - Method in class io.gitlab.arturbosch.detekt.rules.style.RedundantVisibilityModifierRule
 
visitKtFile(file) - Method in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryAbstractClass
 
visitLambdaExpression(lambdaExpression) - Method in class io.gitlab.arturbosch.detekt.rules.style.ExplicitItLambdaParameter
 
visitLoopExpression(loopExpression) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UnconditionalJumpStatementInLoop
 
visitLoopExpression(loopExpression) - Method in class io.gitlab.arturbosch.detekt.rules.style.LoopWithTooManyJumpStatements
 
visitModifierList(list) - Method in class io.gitlab.arturbosch.detekt.rules.style.ModifierOrder
 
visitNamedDeclaration(declaration) - Method in class io.gitlab.arturbosch.detekt.rules.naming.NamingRules
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.EqualsAlwaysReturnsTrueOrFalse
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.EqualsWithHashCodeExist
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.WrongEqualsTypeParameter
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexMethod
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.LongMethod
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.LongParameterList
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.NestedBlockDepth
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.documentation.CommentOverPrivateFunction
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicFunction
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyFunctionBlock
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.ExceptionRaisedInUnexpectedLocation
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.ThrowingExceptionInMain
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.naming.FunctionMaxLength
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.naming.FunctionMinLength
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.naming.FunctionNaming
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.performance.ArrayPrimitive
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.style.EqualsOnSignatureLine
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.style.ExpressionBodySyntax
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.style.FunctionOnlyReturningConstant
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.style.optional.OptionalUnit
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.style.ReturnCount
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.style.ThrowsCount
 
visitNamedFunction(function) - Method in class io.gitlab.arturbosch.detekt.rules.style.VarCouldBeVal
 
visitObjectDeclaration(declaration) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.TooManyFunctions
 
visitObjectDeclaration(declaration) - Method in class io.gitlab.arturbosch.detekt.rules.documentation.UndocumentedPublicClass
 
visitObjectDeclaration(declaration) - Method in class io.gitlab.arturbosch.detekt.rules.naming.MemberNameEqualsClassName
 
visitObjectDeclaration(declaration) - Method in class io.gitlab.arturbosch.detekt.rules.style.MayBeConst
 
visitObjectDeclaration(declaration) - Method in class io.gitlab.arturbosch.detekt.rules.style.SerialVersionUIDInSerializableClass
 
visitPackageDirective(directive) - Method in class io.gitlab.arturbosch.detekt.rules.naming.NamingRules
 
visitPackageDirective(directive) - Method in class io.gitlab.arturbosch.detekt.rules.naming.PackageNaming
 
visitParameter(parameter) - Method in class io.gitlab.arturbosch.detekt.rules.naming.ConstructorParameterNaming
 
visitParameter(parameter) - Method in class io.gitlab.arturbosch.detekt.rules.naming.FunctionParameterNaming
 
visitParameter(parameter) - Method in class io.gitlab.arturbosch.detekt.rules.performance.ArrayPrimitive
 
visitParenthesizedExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.UnnecessaryParentheses
 
visitPrimaryConstructor(constructor) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
visitPrimaryConstructor(constructor) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyDefaultConstructor
 
visitProperty(property) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.LateinitUsage
 
visitProperty(property) - Method in class io.gitlab.arturbosch.detekt.rules.documentation.CommentOverPrivateProperty
 
visitProperty(property) - Method in class io.gitlab.arturbosch.detekt.rules.naming.ObjectPropertyNaming
 
visitProperty(property) - Method in class io.gitlab.arturbosch.detekt.rules.naming.TopLevelPropertyNaming
 
visitProperty(property) - Method in class io.gitlab.arturbosch.detekt.rules.naming.VariableMaxLength
 
visitProperty(property) - Method in class io.gitlab.arturbosch.detekt.rules.naming.VariableMinLength
 
visitProperty(property) - Method in class io.gitlab.arturbosch.detekt.rules.naming.VariableNaming
 
visitProperty(property) - Method in class io.gitlab.arturbosch.detekt.rules.style.MayBeConst
 
visitReturnExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UnreachableCode
 
visitReturnExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UselessPostfixExpression
 
visitSecondaryConstructor(constructor) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
visitSecondaryConstructor(constructor) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptySecondaryConstructor
 
visitSimpleNameExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.ForbiddenVoid
 
visitSimpleNameExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.optional.PreferToOverPairSyntax
 
visitThrowExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UnreachableCode
 
visitThrowExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.NotImplementedDeclaration
 
visitThrowExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.exceptions.TooGenericExceptionThrown
 
visitTryExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.optional.ConditionalPathVisitor
 
visitUnaryExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.UnsafeCallOnNullableType
 
visitValueArgumentList(list) - Method in class io.gitlab.arturbosch.detekt.rules.performance.SpreadOperator
 
visitWhenExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.bugs.DuplicateCaseInWhenExpression
 
visitWhenExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
visitWhenExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyWhenBlock
 
visitWhenExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.optional.ConditionalPathVisitor
 
visitWhenExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.style.OptionalWhenBraces
 
visitWhileExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.complexity.ComplexCondition
 
visitWhileExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyBlocks
 
visitWhileExpression(expression) - Method in class io.gitlab.arturbosch.detekt.rules.empty.EmptyWhileBlock
 

W

WildcardImport - Class in io.gitlab.arturbosch.detekt.rules.style
Wildcard imports should be replaced with imports using fully qualified class names. This helps increase clarity of which classes are imported and helps prevent naming conflicts.
WildcardImport(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.style.WildcardImport
Wildcard imports should be replaced with imports using fully qualified class names. This helps increase clarity of which classes are imported and helps prevent naming conflicts.
WildcardImport() - Constructor for class io.gitlab.arturbosch.detekt.rules.style.WildcardImport
Wildcard imports should be replaced with imports using fully qualified class names. This helps increase clarity of which classes are imported and helps prevent naming conflicts.
WildcardImport.Companion - Class in io.gitlab.arturbosch.detekt.rules.style
 
WrongEqualsTypeParameter - Class in io.gitlab.arturbosch.detekt.rules.bugs
Reports equals() methods which take in a wrongly typed parameter. Correct implementations of the equals() method should only take in a parameter of type Any? See: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/equals.html
WrongEqualsTypeParameter(config) - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.WrongEqualsTypeParameter
Reports equals() methods which take in a wrongly typed parameter. Correct implementations of the equals() method should only take in a parameter of type Any? See: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/equals.html
WrongEqualsTypeParameter() - Constructor for class io.gitlab.arturbosch.detekt.rules.bugs.WrongEqualsTypeParameter
Reports equals() methods which take in a wrongly typed parameter. Correct implementations of the equals() method should only take in a parameter of type Any? See: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/equals.html
A C D E F G H I J K L M N O P R S T U V W 
Skip navigation links