Package de.mirkosertic.bytecoder.core.ir
Class ResolvedClass
- java.lang.Object
-
- de.mirkosertic.bytecoder.core.ir.ResolvedClass
-
public class ResolvedClass extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description ResolvedMethod
classInitializer
org.objectweb.asm.tree.ClassNode
classNode
CompileUnit
compileUnit
java.util.Set<ResolvedClass>
directSubclasses
ResolvedClass[]
interfaces
private java.lang.Boolean
isCallback
private java.lang.Boolean
isOpaqueReferenceType
(package private) boolean
needsInitialization
java.util.List<ResolvedField>
resolvedFields
java.util.List<ResolvedMethod>
resolvedMethods
ResolvedClass
superClass
org.objectweb.asm.Type
type
-
Constructor Summary
Constructors Constructor Description ResolvedClass(CompileUnit compileUnit, org.objectweb.asm.Type type, org.objectweb.asm.tree.ClassNode classNode, ResolvedClass superClass, ResolvedClass[] interfaces)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<org.objectweb.asm.tree.MethodNode>
abstractMethods()
java.util.Set<ResolvedMethod>
abstractResolvedMethods()
java.util.Set<ResolvedClass>
allTypesOf()
void
computeOpaqueReferenceTypeAndCallbackStatus(AnalysisStack analysisStack)
void
finalizeLinkingHierarchy(AnalysisStack analysisStack)
boolean
isCallback()
boolean
isOpaqueReferenceType()
java.util.Set<ResolvedClass>
leafSubclasses()
void
registerDirectSubclass(ResolvedClass cl)
ResolvedClass
requestInitialization(AnalysisStack analysisStack)
boolean
requiresClassInitializer()
ResolvedField
resolveField(java.lang.String name, org.objectweb.asm.Type t)
ResolvedMethod
resolveMethod(java.lang.String methodName, org.objectweb.asm.Type methodType, AnalysisStack analysisStack)
private ResolvedMethod
resolveMethodInternal(java.lang.String methodName, org.objectweb.asm.Type methodType, AnalysisStack analysisStack, boolean onlyImplementations)
-
-
-
Field Detail
-
type
public final org.objectweb.asm.Type type
-
classNode
public final org.objectweb.asm.tree.ClassNode classNode
-
superClass
public final ResolvedClass superClass
-
interfaces
public final ResolvedClass[] interfaces
-
compileUnit
public final CompileUnit compileUnit
-
directSubclasses
public final java.util.Set<ResolvedClass> directSubclasses
-
resolvedMethods
public final java.util.List<ResolvedMethod> resolvedMethods
-
resolvedFields
public final java.util.List<ResolvedField> resolvedFields
-
needsInitialization
boolean needsInitialization
-
classInitializer
public ResolvedMethod classInitializer
-
isOpaqueReferenceType
private java.lang.Boolean isOpaqueReferenceType
-
isCallback
private java.lang.Boolean isCallback
-
-
Constructor Detail
-
ResolvedClass
public ResolvedClass(CompileUnit compileUnit, org.objectweb.asm.Type type, org.objectweb.asm.tree.ClassNode classNode, ResolvedClass superClass, ResolvedClass[] interfaces)
-
-
Method Detail
-
isOpaqueReferenceType
public boolean isOpaqueReferenceType()
-
isCallback
public boolean isCallback()
-
requestInitialization
public ResolvedClass requestInitialization(AnalysisStack analysisStack)
-
registerDirectSubclass
public void registerDirectSubclass(ResolvedClass cl)
-
resolveMethod
public ResolvedMethod resolveMethod(java.lang.String methodName, org.objectweb.asm.Type methodType, AnalysisStack analysisStack)
-
resolveMethodInternal
private ResolvedMethod resolveMethodInternal(java.lang.String methodName, org.objectweb.asm.Type methodType, AnalysisStack analysisStack, boolean onlyImplementations)
-
resolveField
public ResolvedField resolveField(java.lang.String name, org.objectweb.asm.Type t)
-
requiresClassInitializer
public boolean requiresClassInitializer()
-
finalizeLinkingHierarchy
public void finalizeLinkingHierarchy(AnalysisStack analysisStack)
-
leafSubclasses
public java.util.Set<ResolvedClass> leafSubclasses()
-
allTypesOf
public java.util.Set<ResolvedClass> allTypesOf()
-
abstractResolvedMethods
public java.util.Set<ResolvedMethod> abstractResolvedMethods()
-
abstractMethods
public java.util.Set<org.objectweb.asm.tree.MethodNode> abstractMethods()
-
computeOpaqueReferenceTypeAndCallbackStatus
public void computeOpaqueReferenceTypeAndCallbackStatus(AnalysisStack analysisStack)
-
-