Packages

o

sbt.internal.inc

ClassToAPI

object ClassToAPI

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClassToAPI
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class ClassMap extends AnyRef
  2. case class Defs(declared: Seq[ClassDefinition], inherited: Seq[ClassDefinition], staticDeclared: Seq[ClassDefinition], staticInherited: Seq[ClassDefinition]) extends Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val ArrayRef: Type
  5. val Empty: EmptyType
  6. val NothingRef: Type
  7. val Private: Private
  8. val Protected: Protected
  9. val Public: Public
  10. val ThisRef: xsbti.api.This
  11. val Throws: Type
  12. val Unqualified: Unqualified
  13. def access(i: Int, pkg: Option[String]): Access
  14. def annotated(t: Type, annots: Array[Annotation]): Type
  15. def annotation(a: Annotation): Annotation
  16. def annotations(a: Array[Annotation]): Array[Annotation]
  17. def apply(c: Seq[Class[_]]): Seq[ClassLike]
  18. def array(tpe: Type): Type
  19. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  20. def classCanonicalName(c: Class[_]): String

    Returns the canonical name given a class based on https://docs.oracle.com/javase/specs/jls/se11/html/jls-6.html#jls-6.7

    Returns the canonical name given a class based on https://docs.oracle.com/javase/specs/jls/se11/html/jls-6.html#jls-6.7

    1. A named package returns its package name. 2A. A top-level class returns package name + "." + simple name. 2B. A top-level Scala object returns object's name + "$". 3A. Nested class M of a class C returns C's canonical name + "." + M's simple name. 3B. Nested class M of a top-level Scala object O returns O's name + "." + M's simple name. 3C. Nested class M of a non-top-level Scala object O returns's O's canonical name + "." + M's simple name.

    For example OOO (object in object in object) returns p1.O1.O2$.O3$.

    returns

    The canonical name if not null, the blank string otherwise.

  21. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  22. def constructorToDef(enclPkg: Option[String])(c: Constructor[_]): xsbti.api.Def
  23. def defLike[T <: GenericDeclaration](name: String, mods: Int, annots: Array[Annotation], tps: Array[TypeVariable[T]], paramAnnots: Array[Array[Annotation]], paramTypes: Array[Type], retType: Option[Type], exceptions: Array[Type], varArgs: Boolean, enclPkg: Option[String]): xsbti.api.Def
  24. def emptyClassMap: ClassMap
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  27. def exceptionAnnotations(exceptions: Array[Type]): Array[Annotation]
  28. def fieldToDef(c: Class[_], cf: ⇒ ClassFile, enclPkg: Option[String])(f: Field): FieldLike
  29. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  30. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def isStatic(a: Member): Boolean
  34. def isStatic(c: Class[_]): Boolean
  35. def isTopLevel(c: Class[_]): Boolean
  36. def javaAnnotation(s: String): AnnotationArgument
  37. final def lzy[T <: AnyRef](t: ⇒ T): Lazy[T]
    Annotations
    @inline()
  38. def merge[T](of: Class[_], self: Seq[T], public: Seq[T], f: (T) ⇒ Seq[ClassDefinition], splitStatic: (Seq[T]) ⇒ (Seq[T], Seq[T]), isInherited: (T) ⇒ Boolean): Defs
  39. def mergeMap[T <: Member](of: Class[_], self: Seq[T], public: Seq[T], f: (T) ⇒ ClassDefinition): Defs
  40. def methodToDef(enclPkg: Option[String])(m: Method): xsbti.api.Def
  41. def modifiers(i: Int): Modifiers
  42. def name(gd: GenericDeclaration): String
  43. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  44. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  46. def packageAndName(name: String): (Option[String], String)
  47. def packageAndName(c: Class[_]): (Option[String], String)
  48. def packageName(c: Class[_]): Option[String]
  49. def packagePrivate(pkg: Option[String]): Access
  50. def packages(c: Seq[Class[_]]): Set[String]
  51. def parameter(annots: Array[Annotation], parameter: Type, varArgs: Boolean): MethodParameter
  52. def pathFromString(s: String): Path
  53. def pathFromStrings(ss: Seq[String]): Path
  54. def primitive(name: String): Type
  55. def process(classes: Seq[Class[_]]): (Seq[ClassLike], Seq[String], Set[(Class[_], Class[_])])
  56. def reduceHash(in: Array[Byte]): Int
  57. def reference(t: Type): Type
  58. def reference(s: String): Type
  59. def reference(c: Class[_]): Type
  60. def referenceP(t: ParameterizedType): Parameterized
  61. def splitStatic[T <: Member](defs: Seq[T]): (Seq[T], Seq[T])
  62. def structure(c: Class[_], enclPkg: Option[String], cmap: ClassMap): (Structure, Structure)

    Returns the (static structure, instance structure, inherited classes) for c.

  63. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  64. def toDefinitions(cmap: ClassMap)(c: Class[_]): Seq[ClassLikeDef]
  65. def toDefinitions0(c: Class[_], cmap: ClassMap): Seq[ClassLikeDef]
  66. def toString(): String
    Definition Classes
    AnyRef → Any
  67. def typeParameter[T <: GenericDeclaration](tp: TypeVariable[T]): TypeParameter
  68. def typeParameters[T <: GenericDeclaration](tps: Array[TypeVariable[T]]): Array[TypeParameter]
  69. def typeVariable[T <: GenericDeclaration](tv: TypeVariable[T]): String
  70. def types(ts: Seq[Type]): Array[Type]
  71. def upperBounds(ts: Array[Type]): Type
  72. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  73. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  74. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def fieldToDef(enclPkg: Option[String])(f: Field): FieldLike
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.9) Use fieldToDef[4] instead

  2. def parents(c: Class[_]): Seq[Type]
    Annotations
    @deprecated
    Deprecated

    (Since version 0.13.0) No longer used

Inherited from AnyRef

Inherited from Any

Ungrouped