public class HotSpotUnresolvedJavaType extends HotSpotJavaType
JavaType for unresolved HotSpot classes.| Modifier and Type | Field and Description |
|---|---|
private HotSpotJVMCIRuntimeProvider |
runtime |
| Constructor and Description |
|---|
HotSpotUnresolvedJavaType(String name,
HotSpotJVMCIRuntimeProvider runtime) |
| Modifier and Type | Method and Description |
|---|---|
static HotSpotUnresolvedJavaType |
create(HotSpotJVMCIRuntimeProvider runtime,
String name)
Creates an unresolved type for a valid
type name. |
boolean |
equals(Object obj) |
JavaType |
getArrayClass()
Gets the array class type representing an array with elements of this type.
|
JavaType |
getComponentType()
For array types, gets the type of the components, or
null if this is not an array
type. |
Kind |
getKind()
Gets the kind of this type.
|
int |
hashCode() |
(package private) ResolvedJavaType |
reresolve(HotSpotResolvedObjectType accessingClass)
Try to find a loaded version of this class.
|
ResolvedJavaType |
resolve(ResolvedJavaType accessingClass)
Resolves this type to a
ResolvedJavaType. |
String |
toString() |
getNameclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetElementalType, getUnqualifiedName, toClassName, toJavaName, toJavaNameprivate final HotSpotJVMCIRuntimeProvider runtime
public HotSpotUnresolvedJavaType(String name, HotSpotJVMCIRuntimeProvider runtime)
public static HotSpotUnresolvedJavaType create(HotSpotJVMCIRuntimeProvider runtime, String name)
type name.public JavaType getComponentType()
JavaTypenull if this is not an array
type. This method is analogous to Class.getComponentType().public JavaType getArrayClass()
JavaTypepublic Kind getKind()
JavaTypepublic ResolvedJavaType resolve(ResolvedJavaType accessingClass)
JavaTypeResolvedJavaType.accessingClass - the context of resolution (must not be null)ResolvedJavaType reresolve(HotSpotResolvedObjectType accessingClass)
accessingClass -