Protected Type Rules

protected_type_300

phase_4 error indent

This rule checks the indent of the end protected type declaration.

Violation

type flag_pt is protected
     end protected;

Fix

type flag_pt is protected
end protected;

protected_type_500

phase_6 error case case_keyword

This rule checks the protected keyword has proper case.

Refer to Configuring Uppercase and Lowercase Rules for more information.

Violation

type sharedcounter is PROTECTED

Fix

type sharedcounter is protected

protected_type_501

phase_6 error case case_keyword

This rule checks the end keyword in end protected has proper case.

Refer to Configuring Uppercase and Lowercase Rules for more information.

Violation

END protected sharedcounter;

Fix

end protected sharedcounter;

protected_type_502

phase_6 error case case_keyword

This rule checks the protected keyword in end protected has proper case.

Refer to Configuring Uppercase and Lowercase Rules for more information.

Violation

end PROTECTED sharedcounter;

Fix

end protected sharedcounter;