public class LibraryCompilationUnitTypeOracleUpdater extends CompilationUnitTypeOracleUpdater
TypeOracle
from a set of
compilation units and a LibraryGroup.CompilationUnitTypeOracleUpdater.TypeOracleBuildContext
typeOracle
Constructor and Description |
---|
LibraryCompilationUnitTypeOracleUpdater(TypeOracle typeOracle,
CompilerContext compilerContext) |
Modifier and Type | Method and Description |
---|---|
protected JRealClassType |
findByInternalName(String internalName)
Lazily returns the type corresponding to the given internal name.
|
protected void |
finish() |
protected CompilationUnitTypeOracleUpdater.TypeOracleBuildContext |
getContext(MethodArgNamesLookup argsLookup)
Returns the same build context across multiple (recursive) addNewTypesDontIndex() invocations.
|
addNewTypesDontIndex, addNewUnits, forName, getMockResolver, getTypeOracle, getTypesByInternalName
addAnnotations, addAnnotations, addImplementedInterface, addModifierBits, addModifierBits, addThrows, newAnnotationMethod, newAnnotationType, newConstructor, newEnumConstant, newEnumType, newField, newMethod, newParameter, newRealClassType, setEnclosingType, setFieldType, setReturnType, setSuperClass, setVarArgs
public LibraryCompilationUnitTypeOracleUpdater(TypeOracle typeOracle, CompilerContext compilerContext)
protected JRealClassType findByInternalName(String internalName)
findByInternalName
in class CompilationUnitTypeOracleUpdater
protected void finish()
finish
in class TypeOracleUpdater
protected CompilationUnitTypeOracleUpdater.TypeOracleBuildContext getContext(MethodArgNamesLookup argsLookup)
getContext
in class CompilationUnitTypeOracleUpdater
Copyright © 2018. All rights reserved.