Processing's annotation processing is not consistent

Hi there,

Processing (v3.5.3 on Windows 10) does not warn when using @Deprecated methods however a program can’t run if a @Override annotation doesn’t actually override anything.
Behavior when using @Override and nothing is being overridden: The method […] must override or implement a supertype method
Behavior when using a deprecated method: No warning is given when trying to run the program.

Example code:

void setup() {
  
}

void draw() {
  imold();
}

@Deprecated
void imold() {
  // Does old things
}

The expected behavior is warning the user via the console if he uses a deprecated method.
Is there any way to use the @Deprecated annotation in Processing?

Kind regards
macbrayne

2 Likes

Hmm. Not sure. Perhaps chime in on this open an issue for the question?

1 Like