public class LeastUpperBound extends Object
Constructor and Description |
---|
LeastUpperBound(TypeSubstitutionSolver typeSubstitutionSolver,
ParametrizedTypeCache parametrizedTypeCache,
Symbols symbols) |
Modifier and Type | Method and Description |
---|---|
Type |
leastUpperBound(Set<Type> types)
Compute the "Least Upper Bound" ("lub", jls8 §4.10.4) of a list of type.
|
public LeastUpperBound(TypeSubstitutionSolver typeSubstitutionSolver, ParametrizedTypeCache parametrizedTypeCache, Symbols symbols)
public Type leastUpperBound(Set<Type> types)
types
- Copyright © 2012–2017 SonarSource. All rights reserved.