I have to use the self key word in constructor functions (PLW-07203). But PLSQL-Cop is throwing G-9010: In/out parameeters should start with...
Of course, I can not change the self keyword. So the question is if you can change the behavior and disable the check for constructor functions in object types only?
create or replace type rectangle authid definer as object(
rect_length number,
rect_width number,
constructor function rectangle(self in out nocopy rectangle,
i_length_and_width in number)
return self as result
);