mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
update section on class bodies for extends final
This commit is contained in:
@@ -135,8 +135,9 @@ The body of a class can contain:
|
||||
- Any number of :ref:`field <fields>` declarations.
|
||||
|
||||
When you define a class, that class also inherits all non-:ref:`private` member predicates and
|
||||
fields from its supertypes. You can :ref:`override <overriding-member-predicates>` those
|
||||
predicates and fields to give them a more specific definition.
|
||||
fields from its supertypes.
|
||||
You can :ref:`override <overriding-member-predicates>` or :ref:`shadow <final-extensions>` those
|
||||
predicates and fields (depending on whether they are final) to give them a more specific definition.
|
||||
|
||||
.. _characteristic-predicates:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user