COBCH0741 OO: Only allowed in an instance method
You have tried to use syntax that is only permitted in an instance method.