com.jetbrains.pluginverifier.usages.internal.InternalUsageRegistrar.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of verifier-intellij Show documentation
Show all versions of verifier-intellij Show documentation
JetBrains Plugin Verifier Classes for IntelliJ Platform integration with API usage detection and reporting.
The newest version!
package com.jetbrains.pluginverifier.usages.internal
import com.jetbrains.pluginverifier.results.location.ClassLocation
import com.jetbrains.pluginverifier.results.location.FieldLocation
import com.jetbrains.pluginverifier.results.location.Location
import com.jetbrains.pluginverifier.results.location.MethodLocation
import com.jetbrains.pluginverifier.results.reference.ClassReference
import com.jetbrains.pluginverifier.results.reference.FieldReference
import com.jetbrains.pluginverifier.results.reference.MethodReference
interface InternalUsageRegistrar {
fun registerClass(
classReference: ClassReference,
apiElement: ClassLocation,
usageLocation: Location
)
fun registerMethod(
methodReference: MethodReference,
apiElement: MethodLocation,
usageLocation: MethodLocation
)
fun registerField(
fieldReference: FieldReference,
apiElement: FieldLocation,
usageLocation: MethodLocation
)
}