java.lang.Object
swim.dynamic.AbstractHostType<T>
swim.dynamic.AbstractHostObjectType<T>
swim.dynamic.PolyglotHostObjectType<T>
- All Implemented Interfaces:
HostObjectType<T>
,HostType<T>
A dynamic object type descriptor that has specialized members for specific
guest languages.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addMember
(HostMember<? super T> member) void
addSpecializedMember
(String language, HostMember<? super T> member) void
addSpecializedStaticMember
(String language, HostStaticMember staticMember) void
addStaticMember
(HostStaticMember staticMember) void
addUnspecializedMember
(HostMember<? super T> member) void
addUnspecializedStaticMember
(HostStaticMember staticMember) void
extendType
(HostType<?> superType) HostMember<? super T>
getOwnMember
(Bridge bridge, T self, String key) getOwnStaticMember
(Bridge bridge, String key) final Class<?>
void
inheritType
(HostType<?> superType) boolean
Collection<HostMember<? super T>>
ownMembers
(Bridge bridge, T self) ownStaticMembers
(Bridge bridge) Methods inherited from class swim.dynamic.AbstractHostObjectType
getMember, members
Methods inherited from class swim.dynamic.AbstractHostType
getStaticMember, inheritsType, staticMembers, typeName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface swim.dynamic.HostType
getStaticMember, inheritsType, staticMembers, typeName
-
Field Details
-
hostClass
-
-
Constructor Details
-
PolyglotHostObjectType
-
-
Method Details
-
hostClass
-
isBuiltin
public boolean isBuiltin() -
superType
-
baseTypes
-
getOwnMember
- Specified by:
getOwnMember
in interfaceHostObjectType<T>
- Specified by:
getOwnMember
in classAbstractHostObjectType<T>
-
ownMembers
- Specified by:
ownMembers
in interfaceHostObjectType<T>
- Specified by:
ownMembers
in classAbstractHostObjectType<T>
-
getOwnStaticMember
- Specified by:
getOwnStaticMember
in interfaceHostType<T>
- Specified by:
getOwnStaticMember
in classAbstractHostType<T>
-
ownStaticMembers
- Specified by:
ownStaticMembers
in interfaceHostType<T>
- Specified by:
ownStaticMembers
in classAbstractHostType<T>
-
extendType
-
inheritType
-
addMember
-
addStaticMember
-
addSpecializedMember
-
addSpecializedStaticMember
-
addUnspecializedMember
-
addUnspecializedStaticMember
-