Processing bug?

I agree it’s a bit buggy that you can’t call functions that are defined by the API. But out of curiosity: why do you need to do this?

Names like line and stroke are not reserved keywords though. You can have a function named draw() because it’s not a keyword, just like you can have a function or variable named main in Java.