dotty.tools.dotc.core.classfile
An entry in the InnerClasses attribute of this class file.
Add synthetic constructor(s) and potentially also default getters which
reflects the fields of the annotation with given classInfo
.
Add synthetic constructor(s) and potentially also default getters which
reflects the fields of the annotation with given classInfo
.
Annotations in Scala are assumed to get all their arguments as constructor
parameters. For Java annotations we need to fake it by making up the constructor.
Note that default getters have type Nothing. That's OK because we need
them only to signal that the corresponding parameter is optional.
Add type parameters of enclosing classes
Return the class symbol of the given name.
Map direct references to Object to references to Any
Parse and return a single annotation.
Parse and return a single annotation. If it is malformed, return None.
Parse inner classes.
Parse inner classes. Expects in.bp
to point to the superclass entry.
Restores the old bp
.
true iff classfile is from Scala, so no Java info needs to be read.