Constructor of this class should not be called directly, use newConstantPool
instead.
Constructor of this class should not be called directly, use newConstantPool
instead.
An entry in the InnerClasses attribute of this class file.
An entry in the InnerClasses attribute of this class file.
The compiler classpath.
The compiler classpath.
If typer phase is defined then perform member lookup of a symbol
sym
at typer phase.
If typer phase is defined then perform member lookup of a symbol
sym
at typer phase. This method results from refactoring. The
original author of the logic that uses typer phase didn't explain
why we need to force infos at that phase specifically. It only mentioned
that ClassfileParse can be called late (e.g. at flatten phase) and
we make to make sure we handle such situation properly.
Add type parameters of enclosing classes
Add type parameters of enclosing classes
Return the class symbol of the given name.
Return the class symbol of the given name.
Try to force the chain of enclosing classes for the given name.
Try to force the chain of enclosing classes for the given name. Otherwise flatten would not lift classes that were not referenced in the source code.
Return the icode class that should include members with the given flags.
Return the icode class that should include members with the given flags. There are two possible classes, the static part and the instance part.
Return the class symbol for the given name.
Return the class symbol for the given name. It looks it up in its outer class. Forces all outer class symbols to be completed.
If the given name is not an inner class, it returns the symbol found in definitions
.
Note: these methods are different from the methods of the same name found in Definitions.
Note: these methods are different from the methods of the same name found in Definitions. These test whether a symbol represents one of the boxTo/unboxTo methods found in BoxesRunTime. The others test whether a symbol represents a synthetic method from one of the fake companion classes of the primitive types, such as Int.box(5).
Parse java bytecode into ICode
Parse inner classes.
Parse inner classes. Expects in.bp
to point to the superclass entry.
Restores the old bp
.
Read back bytecode for the given class symbol.
Read back bytecode for the given class symbol. It returns two IClass objects, one for static members and one for non-static members.
ICode reader from Java bytecode.
1.0