java-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/typeinference/TypeHelper.java
public static ResolvedType glb(Set<ResolvedType> types) {
        if (types.size() == 0) {
            throw new IllegalArgumentException();
        }
        if (types.size() == 1) {
            return types.iterator().next();
        }
        return new ResolvedIntersectionType(types);
    }
public static ResolvedType glb(Set<ResolvedType> types) {
        if (types.size() == 0) {
            throw new IllegalArgumentException();
        }
        if (types.size() == 1) {
            return types.iterator().next();
        }
        return new ResolvedIntersectionType(types);
    }
public static ResolvedType glb ( Set < ResolvedType > types ) { if ( types . size ( ) == 0 ) { throw new IllegalArgumentException ( ) ; } if ( types . size ( ) == 1 ) { return types . iterator ( ) . next ( ) ; } return new ResolvedIntersectionType ( types ) ; }
See JLS 5.1.10. Capture Conversion.
See JLS 5 . 1 . 10 . Capture Conversion .