Add the given 'throws' attributes to jmethod
Add a forwarder for method m
Add forwarders for all methods defined in module
that don't conflict
with methods in the companion class of module
.
Add forwarders for all methods defined in module
that don't conflict
with methods in the companion class of module
. A conflict arises when
a method with the same name is defined both in a class and its companion
object: method signature is not taken into account.
Compute the indexes of each local variable of the given method.
Compute the indexes of each local variable of the given method. *Does not assume the parameters come first!*
Write a class to disk, adding the Scala signature (pickled type information) and inner classes.
Write a class to disk, adding the Scala signature (pickled type information) and inner classes.
The FJBG class, where code was emitted
The corresponding symbol, used for looking up pickled information
For each basic block, the first PC address following it.
Generate a bean info class that describes the given class.
...
Generate a mirror class for a top-level module.
Generate a mirror class for a top-level module. A mirror class is a class containing only static methods that forward to the corresponding method on the MODULE instance of the given Scala object. It will only be generated if there is no companion class: if there is, an attempt will instead be made to add the forwarder methods to the companion class.
Return the a name of this symbol that can be used on the Java platform.
Return the a name of this symbol that can be used on the Java platform. It removes spaces from names.
Special handling: scala.Nothing erases to scala.runtime.Nothing$ scala.Null erases to scala.runtime.Null$
This is needed because they are not real classes, and they mean 'abrupt termination upon evaluation of that expression' or null respectively. This handling is done already in GenICode, but here we need to remove references from method signatures to these types, because such classes can not exist in the classpath: the type checker will be very confused.
Specialized array conversion to prevent calling java.
Specialized array conversion to prevent calling java.lang.reflect.Array.newInstance via TraversableOnce.toArray
Returns the ScalaSignature annotation if it must be added to this class,
none otherwise; furthermore, it adds to jclass
the ScalaSig marker
attribute (marking that a scala signature annotation is present) or the
Scala marker attribute (marking that the signature for this class is in
another file).
Returns the ScalaSignature annotation if it must be added to this class,
none otherwise; furthermore, it adds to jclass
the ScalaSig marker
attribute (marking that a scala signature annotation is present) or the
Scala marker attribute (marking that the signature for this class is in
another file). The annotation that is returned by this method must be
added to the class' annotations list when generating them.
The class file that is being readied.
The symbol for which the signature has been entered in the symData map. This is different than the symbol that is being generated in the case of a mirror class.
An option that is:
(Since version 2.10.0) Use leftOfArrow instead
(Since version 2.10.0) Use resultOfEnsuring instead
Java bytecode generator.