-
- All Known Subinterfaces:
HostArrayType<T>
,HostClassType<T>
,HostFunctionType<T>
,HostObjectType<T>
- All Known Implementing Classes:
AbstractHostObjectType
,AbstractHostType
,JavaHostBuiltinType
,JavaHostClassType
,JavaHostObjectType
,PolyglotHostObjectType
public interface HostType<T>
A dynamic type descriptor for a host type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<HostType<? super T>>
baseTypes()
HostStaticMember
getOwnStaticMember(Bridge bridge, String key)
HostStaticMember
getStaticMember(Bridge bridge, String key)
Class<?>
hostClass()
boolean
inheritsType(HostType<?> superType)
boolean
isBuiltin()
Collection<HostStaticMember>
ownStaticMembers(Bridge bridge)
Collection<HostStaticMember>
staticMembers(Bridge bridge)
HostType<? super T>
superType()
String
typeName()
-
-
-
Method Detail
-
typeName
String typeName()
-
hostClass
Class<?> hostClass()
-
isBuiltin
boolean isBuiltin()
-
inheritsType
boolean inheritsType(HostType<?> superType)
-
getOwnStaticMember
HostStaticMember getOwnStaticMember(Bridge bridge, String key)
-
ownStaticMembers
Collection<HostStaticMember> ownStaticMembers(Bridge bridge)
-
getStaticMember
HostStaticMember getStaticMember(Bridge bridge, String key)
-
staticMembers
Collection<HostStaticMember> staticMembers(Bridge bridge)
-
-