From b1cd10c6f7ff87cc7779ae492466b252612f984a Mon Sep 17 00:00:00 2001 From: Kamil Krzywanski Date: Wed, 10 Jul 2024 22:46:09 +0200 Subject: [PATCH] #Issue #565 - initial creation of intersection type --- .../jdt/internal/compiler/apt/model/IntersectionTypeImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/apt/model/IntersectionTypeImpl.java b/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/apt/model/IntersectionTypeImpl.java index ccc4f5e9380..577c24a0ec0 100644 --- a/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/apt/model/IntersectionTypeImpl.java +++ b/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/apt/model/IntersectionTypeImpl.java @@ -28,11 +28,11 @@ * Implementation of the WildcardType */ public class IntersectionTypeImpl extends TypeMirrorImpl implements IntersectionType { - final List bounds; + private final List 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)