All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.jetbrains.pluginverifier.usages.internal.InternalFusApiUsageCompatibilityProblem.kt Maven / Gradle / Ivy

Go to download

JetBrains Plugin Verifier Classes for IntelliJ Platform integration with API usage detection and reporting.

There is a newer version: 1.381
Show newest version
package com.jetbrains.pluginverifier.usages.internal

import com.jetbrains.pluginverifier.results.problems.CompatibilityProblem
import java.util.*

class InternalFusApiUsageCompatibilityProblem(
  private val internalApiUsage: InternalApiUsage
) : CompatibilityProblem() {

  private companion object {
    const val DESCRIPTION = "Usage of FUS internal API"
  }

  override val problemType
    get() = DESCRIPTION

  override val shortDescription
    get() = "$DESCRIPTION: ${internalApiUsage.shortDescription.decapitalize()}"

  override val fullDescription
    get() = "$DESCRIPTION: ${internalApiUsage.fullDescription.decapitalize()}"

  override fun equals(other: Any?) = other is InternalFusApiUsageCompatibilityProblem
    && internalApiUsage == other.internalApiUsage

  override fun hashCode() = Objects.hash(internalApiUsage)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy