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

com.jetbrains.plugin.structure.classes.resolvers.ResolutionResult.kt Maven / Gradle / Ivy

Go to download

Base library for resolving class files and resources. Used by other JetBrains Plugins Structure Classes libraries.

There is a newer version: 3.289
Show newest version
/*
 * Copyright 2000-2020 JetBrains s.r.o. and other contributors. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
 */

package com.jetbrains.plugin.structure.classes.resolvers

sealed class ResolutionResult {

  object NotFound : ResolutionResult()

  data class Invalid(val message: String) : ResolutionResult()

  data class FailedToRead(val reason: String) : ResolutionResult()

  data class Found(val value: T, val fileOrigin: FileOrigin) : ResolutionResult()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy