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() |
getName
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getElementalType, getUnqualifiedName, toClassName, toJavaName, toJavaName
private final HotSpotJVMCIRuntimeProvider runtime
public HotSpotUnresolvedJavaType(String name, HotSpotJVMCIRuntimeProvider runtime)
public static HotSpotUnresolvedJavaType create(HotSpotJVMCIRuntimeProvider runtime, String name)
type name
.public JavaType getComponentType()
JavaType
null
if this is not an array
type. This method is analogous to Class.getComponentType()
.public JavaType getArrayClass()
JavaType
public Kind getKind()
JavaType
public ResolvedJavaType resolve(ResolvedJavaType accessingClass)
JavaType
ResolvedJavaType
.accessingClass
- the context of resolution (must not be null)ResolvedJavaType reresolve(HotSpotResolvedObjectType accessingClass)
accessingClass
-