Package gw.internal.gosu.parser
Class TypeUsesMap
- java.lang.Object
-
- gw.internal.gosu.parser.TypeUsesMap
-
- All Implemented Interfaces:
ITypeUsesMap,Serializable
public class TypeUsesMap extends Object implements ITypeUsesMap
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TypeUsesMap()TypeUsesMap(List<String> specialTypeUses)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddToDefaultTypeUses(String strType)voidaddToFeatureLiterals(IFeatureInfo fi)voidaddToFeatureSpaces(String strType)voidaddToSpecialTypeUses(String strType)voidaddToTypeUses(IUsesStatement usesSmt)voidaddToTypeUses(String strType)voidclearNonDefaultTypeUses()booleancontainsType(String typeName)ITypeUsesMapcopy()ITypeUsesMapcopyLocalScope()Set<IFeatureInfo>getFeatureLiterals()Set<String>getFeatureSpaces()Set<String>getNamespaces()Set<String>getTypeUses()Set<IUsesStatement>getUsesStatements()booleanisSupportRelativePackageResolution()ITypeUsesMaplock()INamespaceTyperesolveRelativeNamespaceInAllNamespaces(String strRelativeName)ITyperesolveType(String strRelativeName)voidsetSupportRelativePackageResolution(boolean bSupportRelativePackageResolution)
-
-
-
Method Detail
-
copy
public ITypeUsesMap copy()
- Specified by:
copyin interfaceITypeUsesMap
-
copyLocalScope
public ITypeUsesMap copyLocalScope()
- Specified by:
copyLocalScopein interfaceITypeUsesMap
-
lock
public ITypeUsesMap lock()
- Specified by:
lockin interfaceITypeUsesMap
-
containsType
public boolean containsType(String typeName)
- Specified by:
containsTypein interfaceITypeUsesMap
-
getTypeUses
public Set<String> getTypeUses()
- Specified by:
getTypeUsesin interfaceITypeUsesMap
-
getNamespaces
public Set<String> getNamespaces()
- Specified by:
getNamespacesin interfaceITypeUsesMap
-
getFeatureSpaces
public Set<String> getFeatureSpaces()
- Specified by:
getFeatureSpacesin interfaceITypeUsesMap
-
getFeatureLiterals
public Set<IFeatureInfo> getFeatureLiterals()
- Specified by:
getFeatureLiteralsin interfaceITypeUsesMap
-
addToTypeUses
public void addToTypeUses(String strType)
- Specified by:
addToTypeUsesin interfaceITypeUsesMap
-
addToFeatureSpaces
public void addToFeatureSpaces(String strType)
- Specified by:
addToFeatureSpacesin interfaceITypeUsesMap
-
addToFeatureLiterals
public void addToFeatureLiterals(IFeatureInfo fi)
- Specified by:
addToFeatureLiteralsin interfaceITypeUsesMap
-
addToTypeUses
public void addToTypeUses(IUsesStatement usesSmt)
- Specified by:
addToTypeUsesin interfaceITypeUsesMap
-
getUsesStatements
public Set<IUsesStatement> getUsesStatements()
- Specified by:
getUsesStatementsin interfaceITypeUsesMap
-
addToDefaultTypeUses
public void addToDefaultTypeUses(String strType)
- Specified by:
addToDefaultTypeUsesin interfaceITypeUsesMap
-
addToSpecialTypeUses
public void addToSpecialTypeUses(String strType)
- Specified by:
addToSpecialTypeUsesin interfaceITypeUsesMap
-
resolveType
public IType resolveType(String strRelativeName)
- Specified by:
resolveTypein interfaceITypeUsesMap
-
clearNonDefaultTypeUses
public void clearNonDefaultTypeUses()
- Specified by:
clearNonDefaultTypeUsesin interfaceITypeUsesMap
-
resolveRelativeNamespaceInAllNamespaces
public INamespaceType resolveRelativeNamespaceInAllNamespaces(String strRelativeName)
- Specified by:
resolveRelativeNamespaceInAllNamespacesin interfaceITypeUsesMap
-
isSupportRelativePackageResolution
public boolean isSupportRelativePackageResolution()
- Specified by:
isSupportRelativePackageResolutionin interfaceITypeUsesMap
-
setSupportRelativePackageResolution
public void setSupportRelativePackageResolution(boolean bSupportRelativePackageResolution)
- Specified by:
setSupportRelativePackageResolutionin interfaceITypeUsesMap
-
-