Package gw.internal.gosu.dynamic
Class DynamicType
- java.lang.Object
-
- gw.lang.reflect.AbstractType
-
- gw.lang.reflect.TypeBase
-
- gw.internal.gosu.dynamic.DynamicType
-
- All Implemented Interfaces:
IDynamicType
,IPlaceholder
,IType
,Serializable
public class DynamicType extends TypeBase implements IDynamicType
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class gw.lang.reflect.TypeBase
_arrayComponentClass
-
Fields inherited from interface gw.lang.reflect.IDynamicType
PKG, QNAME, RNAME
-
Fields inherited from interface gw.lang.reflect.IPlaceholder
UNHANDLED
-
Fields inherited from interface gw.lang.reflect.IType
EMPTY_ARRAY, EMPTY_TYPE_ARRAY, EMPTY_TYPE_LIST
-
-
Constructor Summary
Constructors Constructor Description DynamicType(DynamicTypeLoader typeLoader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IType
getComponentType()
IType[]
getInterfaces()
String
getName()
String
getNamespace()
String
getRelativeName()
IType
getSupertype()
ITypeInfo
getTypeInfo()
ITypeLoader
getTypeLoader()
boolean
isAssignableFrom(IType type)
boolean
isFinal()
boolean
isPlaceholder()
-
Methods inherited from class gw.lang.reflect.TypeBase
getAllClassesInClassHierarchyAsIntrinsicTypes, getAllTypesInHierarchy, getArrayComponent, getArrayComponentClass, getArrayLength, getArrayType, getArrayVersionsOfEachType, getCompoundTypeComponents, getDisplayName, getEnclosingType, getGenericType, getGenericTypeVariables, getModifiers, getParameterizedType, getTypeParameters, isAbstract, isArray, isCompoundType, isDiscarded, isEnum, isGenericType, isInterface, isMutable, isParameterizedType, isPrimitive, isValid, loadAllTypesInHierarchy, loadJavaType, makeArrayInstance, makeArrayType, readResolve, setArrayComponent, setDiscarded, toString, unloadTypeInfo
-
Methods inherited from class gw.lang.reflect.AbstractType
getLiteralMetaType, getMetaType, getTheRef
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface gw.lang.reflect.IType
compile, getAllTypesInHierarchy, getArrayComponent, getArrayLength, getArrayType, getCompoundTypeComponents, getDisplayName, getEnclosingType, getFunctionalInterface, getGenericType, getGenericTypeVariables, getLiteralMetaType, getMetaType, getModifiers, getParameterizedType, getSourceFiles, getTypeParameters, isAbstract, isArray, isCompilable, isCompoundType, isDiscarded, isDynamic, isEnum, isGenericType, isInterface, isMutable, isParameterizedType, isPrimitive, isValid, makeArrayInstance, readResolve, setArrayComponent, setDiscarded, unloadTypeInfo
-
-
-
-
Constructor Detail
-
DynamicType
public DynamicType(DynamicTypeLoader typeLoader)
-
-
Method Detail
-
isPlaceholder
public boolean isPlaceholder()
- Specified by:
isPlaceholder
in interfaceIPlaceholder
-
isFinal
public boolean isFinal()
-
getRelativeName
public String getRelativeName()
- Specified by:
getRelativeName
in interfaceIType
-
getNamespace
public String getNamespace()
- Specified by:
getNamespace
in interfaceIType
-
getTypeLoader
public ITypeLoader getTypeLoader()
- Specified by:
getTypeLoader
in interfaceIType
-
getSupertype
public IType getSupertype()
- Specified by:
getSupertype
in interfaceIType
-
getInterfaces
public IType[] getInterfaces()
- Specified by:
getInterfaces
in interfaceIType
-
getTypeInfo
public ITypeInfo getTypeInfo()
- Specified by:
getTypeInfo
in interfaceIType
-
getComponentType
public IType getComponentType()
- Specified by:
getComponentType
in interfaceIType
- Overrides:
getComponentType
in classTypeBase
-
isAssignableFrom
public boolean isAssignableFrom(IType type)
- Specified by:
isAssignableFrom
in interfaceIType
- Overrides:
isAssignableFrom
in classTypeBase
-
-