This trait contains code shared between GenBCode and GenASM that depends on types defined in the compiler cake (Global).
- Companion:
- object
Type members
Classlikes
Value members
Concrete methods
Data for emitting an EnclosingMethod attribute. None if classSym
is a member class (not
an anonymous or local class). See doc in BTypes.
Data for emitting an EnclosingMethod attribute. None if classSym
is a member class (not
an anonymous or local class). See doc in BTypes.
The class is parametrized by two functions to obtain a bytecode class descriptor for a class symbol, and to obtain a method signature descriptor fro a method symbol. These function depend on the implementation of GenASM / GenBCode, so they need to be passed in.
True if classSym
is an anonymous class or a local class. I.e., false if classSym
is a
member class. This method is used to decide if we should emit an EnclosingMethod attribute.
It is also used to decide whether the "owner" field in the InnerClass attribute should be
null.
True if classSym
is an anonymous class or a local class. I.e., false if classSym
is a
member class. This method is used to decide if we should emit an EnclosingMethod attribute.
It is also used to decide whether the "owner" field in the InnerClass attribute should be
null.