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 void
clearCaches()
ITypeRef
create(IType type)
Wraps the actual class with a proxy.ITypeRef
get(IType type)
ITypeRef
get(String strTypeName)
List<ITypeRef>
getSubordinateRefs(String topLevelTypeName)
List<String>
getTypesWithPrefix(String namespace, String prefix)
boolean
isClearing()
-
-
-
Method Detail
-
create
public ITypeRef create(IType type)
Wraps the actual class with a proxy.- Specified by:
create
in interfaceITypeRefFactory
-
get
public ITypeRef get(IType type)
- Specified by:
get
in interfaceITypeRefFactory
-
get
public ITypeRef get(String strTypeName)
- Specified by:
get
in interfaceITypeRefFactory
-
clearCaches
public void clearCaches()
- Specified by:
clearCaches
in interfaceITypeRefFactory
-
isClearing
public boolean isClearing()
- Specified by:
isClearing
in interfaceITypeRefFactory
-
getSubordinateRefs
public List<ITypeRef> getSubordinateRefs(String topLevelTypeName)
- Specified by:
getSubordinateRefs
in interfaceITypeRefFactory
-
getTypesWithPrefix
public List<String> getTypesWithPrefix(String namespace, String prefix)
- Specified by:
getTypesWithPrefix
in interfaceITypeRefFactory
-
-