Class CompileUnit
java.lang.Object
de.mirkosertic.bytecoder.core.parser.CompileUnit
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConstantPool
private final Map
<String, ResolvedMethod> private final Intrinsic
private final Loader
private final Logger
static final String
private final ReflectionConfiguration
private final Map
<String, ResolvedClass> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
computeSubtypesFor
(ResolvedClass cl, int level, Map<ResolvedClass, Integer> dependency) void
findClass
(org.objectweb.asm.Type type) protected Intrinsic
private ResolvedClass
loadClass
(org.objectweb.asm.Type type, org.objectweb.asm.tree.ClassNode classNode, AnalysisStack analysisStack) void
void
processExportedMethods
(BiConsumer<String, ResolvedMethod> processor) resolveClass
(org.objectweb.asm.Type type, AnalysisStack analysisStack) resolveMainMethod
(org.objectweb.asm.Type invokedType, String methodName, org.objectweb.asm.Type methodType)
-
Field Details
-
MAIN_ENTRY_POINT_EXPORT
- See Also:
-
loader
-
resolvedClasses
-
intrinsic
-
exportedMethods
-
constantPool
-
reflectionConfiguration
-
logger
-
-
Constructor Details
-
CompileUnit
-
-
Method Details
-
getLogger
-
getIntrinsic
-
getConstantPool
-
getReflectionConfiguration
-
getLoader
-
findClass
-
resolveClass
-
loadClass
private ResolvedClass loadClass(org.objectweb.asm.Type type, org.objectweb.asm.tree.ClassNode classNode, AnalysisStack analysisStack) -
computeSubtypesFor
-
computeClassDependencies
-
resolveMainMethod
public ResolvedMethod resolveMainMethod(org.objectweb.asm.Type invokedType, String methodName, org.objectweb.asm.Type methodType) -
finalizeLinkingHierarchy
public void finalizeLinkingHierarchy() -
logStatistics
public void logStatistics() -
processExportedMethods
-