Package gw.lang.parser
Class TypeVarToTypeMap
- java.lang.Object
-
- gw.lang.parser.TypeVarToTypeMap
-
public class TypeVarToTypeMap extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
TypeVarToTypeMap.ITypeVarMatcher<E>
-
Field Summary
Fields Modifier and Type Field Description static TypeVarToTypeMap
EMPTY_MAP
-
Constructor Summary
Constructors Constructor Description TypeVarToTypeMap()
TypeVarToTypeMap(TypeVarToTypeMap from)
-
Method Summary
-
-
-
Field Detail
-
EMPTY_MAP
public static final TypeVarToTypeMap EMPTY_MAP
-
-
Constructor Detail
-
TypeVarToTypeMap
public TypeVarToTypeMap()
-
TypeVarToTypeMap
public TypeVarToTypeMap(TypeVarToTypeMap from)
-
-
Method Detail
-
get
public IType get(ITypeVariableType tvType)
-
getPair
public Pair<IType,Boolean> getPair(ITypeVariableType tvType)
-
getByMatcher
public <E> IType getByMatcher(E tv, TypeVarToTypeMap.ITypeVarMatcher<E> matcher)
-
containsKey
public boolean containsKey(ITypeVariableType tvType)
-
put
public IType put(ITypeVariableType tvType, IType type)
-
put
public IType put(ITypeVariableType tvType, IType type, boolean bReverse)
-
putAll
public void putAll(TypeVarToTypeMap from)
-
putAllAndInferred
public void putAllAndInferred(TypeVarToTypeMap from)
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
keySet
public Set<ITypeVariableType> keySet()
-
remove
public IType remove(ITypeVariableType tvType)
-
values
public Collection<Pair<IType,Boolean>> values()
-
isStructural
public boolean isStructural()
-
setStructural
public void setStructural(boolean bStructural)
-
isInferredForCovariance
public boolean isInferredForCovariance(ITypeVariableType tv)
-
setInferredForCovariance
public void setInferredForCovariance(ITypeVariableType tv)
-
isReparsing
public boolean isReparsing()
-
setReparsing
public void setReparsing(boolean bReparsing)
-
getReparseElement
public IParsedElement getReparseElement()
-
setReparseElement
public void setReparseElement(IParsedElement reparseElem)
-
getReparseErrorStack
public Stack<List<IParseIssue>> getReparseErrorStack()
-
pushReparseErrors
public void pushReparseErrors(List<IParseIssue> reparseErrors)
-
popReparseErrors
public void popReparseErrors()
-
-