Skip to content

Commit

Permalink
#Issue eclipse-jdt#565 - initial creation of intersection type
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilkrzywanski committed Jul 10, 2024
1 parent e4fb979 commit b1cd10c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@
* Implementation of the WildcardType
*/
public class IntersectionTypeImpl extends TypeMirrorImpl implements IntersectionType {
final List<? extends TypeMirror> bounds;
private final List<? extends TypeMirror> bounds;

IntersectionTypeImpl(BaseProcessingEnvImpl env, TypeVariableBinding binding) {
super(env, binding);
bounds = Arrays.stream(binding.superInterfaces).map(referenceBinding -> _env.getFactory().newTypeMirror(referenceBinding)).toList();
bounds = Arrays.stream(binding.superInterfaces).map(referenceBinding -> this._env.getFactory().newTypeMirror(referenceBinding)).toList();
}

/* (non-Javadoc)
Expand Down

0 comments on commit b1cd10c

Please sign in to comment.