Protected Type Rules
protected_type_300
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
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
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
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;