BCAnnotGen

class Object
trait Matchable
class Any

Value members

Concrete methods

def emitAnnotations(cw: ClassVisitor, annotations: List[Annotation]): Unit
def emitAnnotations(fw: FieldVisitor, annotations: List[Annotation]): Unit
def emitParamNames(jmethod: MethodVisitor, params: List[Symbol]): Unit

Inherited methods

final def asmMethodType(msym: Symbol): MethodBType
Inherited from
BCInnerClassGen
Inherited from
BCInnerClassGen

The ClassBType for a class symbol. If the class is nested, the ClassBType is added to the innerClassBufferASM.

The ClassBType for a class symbol. If the class is nested, the ClassBType is added to the innerClassBufferASM.

The class symbol scala.Nothing is mapped to the class scala.runtime.Nothing$. Similarly, scala.Null is mapped to scala.runtime.Null$. This is because there exist no class files for the Nothing / Null. If used for example as a parameter type, we use the runtime classes in the classfile method signature.

Note that the referenced class symbol may be an implementation class. For example when compiling a mixed-in method that forwards to the static method in the implementation class, the class descriptor of the receiver (the implementation class) is obtained by creating the ClassBType.

Inherited from
BCInnerClassGen
final def internalName(sym: Symbol): String

The class internal name for a given class symbol. If the symbol describes a nested class, the ClassBType is added to the innerClassBufferASM.

The class internal name for a given class symbol. If the symbol describes a nested class, the ClassBType is added to the innerClassBufferASM.

Inherited from
BCInnerClassGen
final def symDescriptor(sym: Symbol): String

The jvm descriptor for a symbol. If sym represents a nested class, its ClassBType is added to the innerClassBufferASM.

The jvm descriptor for a symbol. If sym represents a nested class, its ClassBType is added to the innerClassBufferASM.

Inherited from
BCInnerClassGen
final def toTypeKind(tp: Type): BType
Inherited from
BCInnerClassGen
final def typeDescriptor(t: Type): String

The jvm descriptor of a type. If t references a nested class, its ClassBType is added to the innerClassBufferASM.

The jvm descriptor of a type. If t references a nested class, its ClassBType is added to the innerClassBufferASM.

Inherited from
BCInnerClassGen

Inherited fields

final val emitLines: Boolean
Inherited from
BCInnerClassGen
final val emitSource: Boolean
Inherited from
BCInnerClassGen
final val emitVars: Boolean
Inherited from
BCInnerClassGen