This phrase form the Java 11 Language Specification (8.3 Field Declarations) is not clear for me
A class inherits from its direct superclass and direct superinterfaces all the nonprivate fields of the superclass and superinterfaces that are both accessible (§6.6) to code in the class and not hidden by a declaration in the class.
That is it is not clear if a name of the superclass is hidden by a declaration in the class does it mean that nonprivate fields are not inherited?
The part of the phrase "and not hidden by a declaration in the class" is confusing.