Files
jadx/jadx-plugins/jadx-script/examples/context/Stubs.kt
T
Ohad Shai fbb6aa580e chore: upgrade to kotlin-logging 5 (PR #1966)
* upgrade to kotlin-logging 5
* apply code autoformatting
* resolve deprecation warnings

---------

Co-authored-by: Skylot <skylot@gmail.com>
2023-07-30 19:02:56 +01:00

29 lines
786 B
Kotlin

@file:Suppress("MayBeConstant", "unused")
import io.github.oshai.kotlinlogging.KotlinLogging
import jadx.plugins.script.runtime.JadxScriptInstance
/**
* Stubs for JadxScriptBaseClass script super class
*/
val log = KotlinLogging.logger("JadxScript")
val scriptName = "script"
fun getJadxInstance(): JadxScriptInstance {
throw IllegalStateException("Stub method!")
}
/**
* Annotations for maven imports
*/
@Target(AnnotationTarget.FILE)
@Repeatable
@Retention(AnnotationRetention.SOURCE)
annotation class DependsOn(vararg val artifactsCoordinates: String, val options: Array<String> = [])
@Target(AnnotationTarget.FILE)
@Repeatable
@Retention(AnnotationRetention.SOURCE)
annotation class Repository(vararg val repositoriesCoordinates: String, val options: Array<String> = [])