GenericSignatures

dotty.tools.dotc.transform.GenericSignatures$

Helper object to generate generic java signatures, as defined in the Java Virtual Machine Specification, §4.3.4

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def javaSig(sym0: Symbol, info: Type)(using Context): Option[String]

Generate the signature for sym0, with type info, as defined in the Java Virtual Machine Specification, §4.3.4

Generate the signature for sym0, with type info, as defined in the Java Virtual Machine Specification, §4.3.4

Attributes

info

The type of the symbol

sym0

The symbol for which to define the signature

Returns:

The signature if it could be generated, None otherwise.