Attempting to name a variable in an "instanceof pattern" the same as a field results in a Checkstyle violation similar to the following if the "instanceof pattern matching" is located within a constructor. Reference to instance variable 'document' needs "this.". [RequireThis] See gh-28188