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 577c24a0ec0..3874f7d4b3c 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 @@ -32,7 +32,7 @@ public class IntersectionTypeImpl extends TypeMirrorImpl implements Intersection IntersectionTypeImpl(BaseProcessingEnvImpl env, TypeVariableBinding binding) { super(env, binding); - bounds = Arrays.stream(binding.superInterfaces).map(referenceBinding -> this._env.getFactory().newTypeMirror(referenceBinding)).toList(); + this.bounds = Arrays.stream(binding.superInterfaces).map(referenceBinding -> this._env.getFactory().newTypeMirror(referenceBinding)).toList(); } /* (non-Javadoc) @@ -55,6 +55,6 @@ public R accept(TypeVisitor v, P p) { */ @Override public List getBounds() { - return bounds; + return this.bounds; } } diff --git a/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/apt/model/TypeVariableImpl.java b/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/apt/model/TypeVariableImpl.java index 88f43605113..b4f293f2b48 100644 --- a/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/apt/model/TypeVariableImpl.java +++ b/org.eclipse.jdt.core.compiler.batch/src/org/eclipse/jdt/internal/compiler/apt/model/TypeVariableImpl.java @@ -67,7 +67,7 @@ public TypeMirror getUpperBound() { return this._env.getFactory().newTypeMirror(typeVariableBinding.upperBound()); } if (superInterfaces.length > 1) { - return new IntersectionTypeImpl(_env, typeVariableBinding); + return new IntersectionTypeImpl(this._env, typeVariableBinding); } return this._env.getFactory().newTypeMirror(this._binding);