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

io.github.effiban.scala2java.spi.predicates.TemplateInitExcludedPredicate.scala Maven / Gradle / Ivy

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