constructor_visibility_public - Check constructor visibility is public

 home edit

Description

Constructor must be placed in the public section, even if the class is not CREATE PUBLIC.

Extended Information

https://github.com/SAP/styleguides/blob/master/clean-abap/CleanABAP.md#if-your-global-class-is-create-private-leave-the-constructor-public
https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/abeninstance_constructor_guidl.htm

Default Configuration

Hover to see descriptions, Ctrl+Space for suggestions