Package gw.internal.gosu.parser
Class TypeRefFactory
- java.lang.Object
-
- gw.internal.gosu.parser.TypeRefFactory
-
- All Implemented Interfaces:
ITypeRefFactory
public class TypeRefFactory extends Object implements ITypeRefFactory
There is one TypeRefFactory per ModuleTypeLoader.
-
-
Field Summary
-
Fields inherited from interface gw.lang.reflect.ITypeRefFactory
SYSTEM_PROXY_SUFFIX, USER_PROXY_SUFFIX
-
-
Constructor Summary
Constructors Constructor Description TypeRefFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearCaches()ITypeRefcreate(IType type)Wraps the actual class with a proxy.ITypeRefget(IType type)ITypeRefget(String strTypeName)List<ITypeRef>getSubordinateRefs(String topLevelTypeName)List<String>getTypesWithPrefix(String namespace, String prefix)booleanisClearing()
-
-
-
Method Detail
-
create
public ITypeRef create(IType type)
Wraps the actual class with a proxy.- Specified by:
createin interfaceITypeRefFactory
-
get
public ITypeRef get(IType type)
- Specified by:
getin interfaceITypeRefFactory
-
get
public ITypeRef get(String strTypeName)
- Specified by:
getin interfaceITypeRefFactory
-
clearCaches
public void clearCaches()
- Specified by:
clearCachesin interfaceITypeRefFactory
-
isClearing
public boolean isClearing()
- Specified by:
isClearingin interfaceITypeRefFactory
-
getSubordinateRefs
public List<ITypeRef> getSubordinateRefs(String topLevelTypeName)
- Specified by:
getSubordinateRefsin interfaceITypeRefFactory
-
getTypesWithPrefix
public List<String> getTypesWithPrefix(String namespace, String prefix)
- Specified by:
getTypesWithPrefixin interfaceITypeRefFactory
-
-