From c972cc8c605ec4d1123eb1d1a1e22eac56154faf Mon Sep 17 00:00:00 2001 From: Robert Ma Date: Tue, 7 May 2024 10:37:59 -0700 Subject: [PATCH] Create new rule: NoFunctionReferenceToJavaClass (#32) Drive-by: check in some auto generated changes in `.idea` (probably due to a newer version of IntelliJ) --- .idea/gradle.xml | 1 + .idea/kotlinc.xml | 2 +- .../com/faire/detekt/FaireRulesProvider.kt | 2 + .../rules/NoFunctionReferenceToJavaClass.kt | 51 +++++++++++++++++++ .../NoFunctionReferenceToJavaClassTest.kt | 34 +++++++++++++ 5 files changed, 89 insertions(+), 1 deletion(-) create mode 100644 src/main/kotlin/com/faire/detekt/rules/NoFunctionReferenceToJavaClass.kt create mode 100644 src/test/kotlin/com/faire/detekt/rules/NoFunctionReferenceToJavaClassTest.kt diff --git a/.idea/gradle.xml b/.idea/gradle.xml index 39ec4f5..7d3b3e8 100644 --- a/.idea/gradle.xml +++ b/.idea/gradle.xml @@ -1,5 +1,6 @@ +