Methods
Modifier and Type |
Method and Description |
protected void |
addComponentType(LightweightTypeReference reference,
java.util.List<LightweightTypeReference> result) |
protected LightweightTypeReference |
conformsToAll(LightweightTypeReference type,
java.util.List<LightweightTypeReference> types) |
protected boolean |
containsPrimitiveOrAnyReferences(java.util.List<LightweightTypeReference> types) |
protected WildcardTypeReference |
createObjectWildcardReference(ITypeReferenceOwner owner) |
protected void |
cumulateDistance(java.util.List<LightweightTypeReference> references,
com.google.common.collect.Multimap<JvmType,LightweightTypeReference> all,
com.google.common.collect.Multiset<JvmType> cumulatedDistance)
Keeps the cumulated distance for all the common raw super types of the given references.
|
protected int |
doIsConformant(FunctionTypeReference left,
FunctionTypeReference right,
int flags) |
protected int |
doIsConformantOuterType(LightweightTypeReference left,
LightweightTypeReference right,
int flags) |
protected int |
doIsConformantTypeArguments(LightweightTypeReference left,
LightweightTypeReference right,
int flags)
|
protected boolean |
enhanceSuperType(java.util.List<LightweightTypeReference> superTypes,
java.util.List<LightweightTypeReference> initiallyRequested,
ParameterizedTypeReference result) |
LightweightTypeReference |
getCommonParameterSuperType(java.util.List<LightweightTypeReference> types,
java.util.List<LightweightTypeReference> initiallyRequested,
ITypeReferenceOwner owner) |
LightweightTypeReference |
getCommonSuperType(java.util.List<LightweightTypeReference> types,
ITypeReferenceOwner owner)
Compute the common super type for the given types.
|
protected LightweightTypeReference |
getFirstForRawType(com.google.common.collect.Multimap<JvmType,LightweightTypeReference> all,
JvmType rawType) |
LightweightTypeReference |
getMostSpecialType(java.util.List<LightweightTypeReference> candidates) |
protected LightweightTypeReference |
getSuperType(ParameterizedTypeReference current,
JvmType type)
|
protected LightweightTypeReference |
getTypeParametersForSupertype(com.google.common.collect.Multimap<JvmType,LightweightTypeReference> all,
JvmType rawType,
ITypeReferenceOwner owner,
java.util.List<LightweightTypeReference> initiallyRequested) |
protected void |
initializeDistance(LightweightTypeReference firstType,
com.google.common.collect.Multimap<JvmType,LightweightTypeReference> all,
com.google.common.collect.Multiset<JvmType> cumulatedDistance) |
protected void |
inplaceSortByDistanceAndName(java.util.List<com.google.common.collect.Multiset.Entry<JvmType>> candidates) |
protected boolean |
isClass(JvmType type) |
boolean |
isConformant(LightweightTypeReference left,
LightweightTypeReference right) |
int |
isConformant(LightweightTypeReference left,
LightweightTypeReference right,
int flags) |
int |
isConformant(LightweightTypeReference left,
LightweightTypeReference right,
TypeConformanceComputationArgument argument) |
protected boolean |
isRecursiveRequest(java.util.List<LightweightTypeReference> types,
java.util.Set<java.lang.String> allNames,
java.util.List<LightweightTypeReference> initiallyRequested) |
protected java.util.List<LightweightTypeReference> |
replacePrimitivesAndRemoveAnyReferences(java.util.List<LightweightTypeReference> types) |
protected int |
toFlags(TypeConformanceComputationArgument argument) |