public class HostedInstanceClass extends HostedClass
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
hashCodeFieldNeeded |
protected int |
hashCodeFieldOffset |
protected HostedField[] |
instanceFields |
protected int |
instanceSize |
protected boolean |
monitorFieldNeeded |
protected int |
monitorFieldOffset |
protected boolean |
waitNotifyConditionFieldNeeded |
protected int |
waitNotifyConditionFieldOffset |
allDeclaredMethods, arrayType, assignableFromMatches, instanceOfBits, instanceOfFromTypeID, instanceOfNumTypeIDs, staticFields, strengthenStampType, subTypes, typeID, uniqueConcreteImplementation, universe, vtable, wrapped| Constructor and Description |
|---|
HostedInstanceClass(HostedUniverse universe,
com.oracle.graal.pointsto.meta.AnalysisType wrapped,
jdk.vm.ci.meta.JavaKind kind,
jdk.vm.ci.meta.JavaKind storageKind,
HostedClass superClass,
HostedInterface[] interfaces,
boolean isCloneable) |
| Modifier and Type | Method and Description |
|---|---|
jdk.vm.ci.meta.ResolvedJavaField |
findInstanceFieldWithOffset(long offset,
jdk.vm.ci.meta.JavaKind expectedKind) |
int |
getArrayDimension() |
HostedType |
getBaseType() |
HostedType |
getComponentType() |
int |
getHashCodeFieldOffset() |
HostedField[] |
getInstanceFields(boolean includeSuperclasses) |
int |
getInstanceSize() |
int |
getMonitorFieldOffset() |
boolean |
isArray() |
boolean |
isInstanceClass() |
boolean |
needHashCodeField() |
boolean |
needMonitorField() |
void |
setHashCodeFieldOffset(int hashCodeFieldOffset) |
void |
setMonitorFieldOffset(int monitorFieldOffset) |
void |
setNeedHashCodeField() |
void |
setNeedMonitorField() |
isEnum, isInterface, isPrimitivecompareTo, findLeafConcreteSubtype, findLeastCommonAncestor, getAllDeclaredMethods, getAnnotation, getAnnotations, getArrayClass, getArrayClass, getAssignableFromMatches, getClassInitializer, getDeclaredAnnotations, getDeclaredConstructors, getDeclaredMethods, getEnclosingType, getHostClass, getHub, getInstanceOfFromTypeID, getInstanceOfNumTypeIDs, getInterfaces, getJavaKind, getModifiers, getName, getSingleImplementor, getSourceFileName, getStaticFields, getStorageKind, getStrengthenStampType, getSubTypes, getSuperclass, getTypeID, getUniqueConcreteImplementation, getVTable, getWrapped, hasFinalizableSubclass, hasFinalizer, initialize, isAssignableFrom, isCloneableWithAllocation, isInitialized, isInstance, isInstantiated, isLinked, isLocal, isMember, isWordType, resolve, resolveConcreteMethod, setEnclosingType, setInstanceOfRange, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindUniqueConcreteMethod, resolveMethodfindMethod, getElementalType, isJavaLangObject, isLeaf, lookupType, resolveFieldgetUnqualifiedName, toClassName, toJavaName, toJavaNameisAbstract, isConcrete, isFinalFlagSet, isNative, isPackagePrivate, isPrivate, isProtected, isPublic, isStatic, isStrict, isSynchronized, isTransient, isVolatilegetAnnotationsByType, getDeclaredAnnotation, getDeclaredAnnotationsByType, isAnnotationPresentprotected HostedField[] instanceFields
protected int instanceSize
protected boolean monitorFieldNeeded
protected int monitorFieldOffset
protected boolean waitNotifyConditionFieldNeeded
protected int waitNotifyConditionFieldOffset
protected boolean hashCodeFieldNeeded
protected int hashCodeFieldOffset
public HostedInstanceClass(HostedUniverse universe, com.oracle.graal.pointsto.meta.AnalysisType wrapped, jdk.vm.ci.meta.JavaKind kind, jdk.vm.ci.meta.JavaKind storageKind, HostedClass superClass, HostedInterface[] interfaces, boolean isCloneable)
public boolean isInstanceClass()
public boolean isArray()
public final HostedType getComponentType()
getComponentType in interface jdk.vm.ci.meta.JavaTypegetComponentType in interface jdk.vm.ci.meta.ResolvedJavaTypegetComponentType in class HostedTypepublic HostedType getBaseType()
getBaseType in class HostedTypepublic int getArrayDimension()
getArrayDimension in class HostedTypepublic HostedField[] getInstanceFields(boolean includeSuperclasses)
getInstanceFields in interface jdk.vm.ci.meta.ResolvedJavaTypegetInstanceFields in class HostedTypepublic jdk.vm.ci.meta.ResolvedJavaField findInstanceFieldWithOffset(long offset,
jdk.vm.ci.meta.JavaKind expectedKind)
findInstanceFieldWithOffset in interface jdk.vm.ci.meta.ResolvedJavaTypefindInstanceFieldWithOffset in class HostedTypepublic int getInstanceSize()
public boolean needMonitorField()
public void setNeedMonitorField()
public int getMonitorFieldOffset()
public void setMonitorFieldOffset(int monitorFieldOffset)
public boolean needHashCodeField()
public void setNeedHashCodeField()
public int getHashCodeFieldOffset()
public void setHashCodeFieldOffset(int hashCodeFieldOffset)