io.github.effiban.scala2java.spi.predicates.TemplateInitExcludedPredicate.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of scala2java-spi_2.13 Show documentation
Show all versions of scala2java-spi_2.13 Show documentation
Plugin Interface for Scala2Java Tool
The newest version!
package io.github.effiban.scala2java.spi.predicates
import scala.meta.Init
/** A predicate which determines whether a given [[Init]] (parent type of a `class` or `trait`) appearing in the Scala source file,
* should be excluded from any class or interface in the generated Java file.
*/
@deprecated
trait TemplateInitExcludedPredicate extends (Init => Boolean)
@deprecated
object TemplateInitExcludedPredicate {
/** The default predicate which does not exclude any [[Init]]-s */
val None: TemplateInitExcludedPredicate = _ => false
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy