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

wartremover.warts.Unsafe.scala Maven / Gradle / Ivy

package org.brianmckenna.wartremover
package warts

object Unsafe extends WartTraverser {
  val safeTraversers = List(
    Any,
    Any2StringAdd,
    AsInstanceOf,
    EitherProjectionPartial,
    IsInstanceOf,
    NonUnitStatements,
    Null,
    OptionPartial,
    Product,
    Return,
    Serializable,
    Var
  )

  def apply(u: WartUniverse): u.Traverser =
    WartTraverser.sumList(u)(safeTraversers)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy