diff --git a/pom.xml b/pom.xml index c9953bb..7b167c8 100644 --- a/pom.xml +++ b/pom.xml @@ -175,7 +175,7 @@ org.reflections reflections - 0.9.11 + 0.9.9 diff --git a/src/main/kotlin/table/FunctionTable.kt b/src/main/kotlin/table/FunctionTable.kt index e1b4a91..104be72 100644 --- a/src/main/kotlin/table/FunctionTable.kt +++ b/src/main/kotlin/table/FunctionTable.kt @@ -8,11 +8,12 @@ import org.reflections.Reflections object FunctionTable { private val table = mutableMapOf() - private val reflections = Reflections("function") - private val allBuiltIns = - reflections.getTypesAnnotatedWith(FunctionNames::class.java) + + private val allBuiltIns = with(Reflections("function.builtin")) { + getTypesAnnotatedWith(FunctionNames::class.java) .filterIsInstance>() .toSet() + } init { initializeFunctionTable(allBuiltIns)