I have looked up and till now it doesn't seem possible, so, if that's the case, what is the best alternative to meet the following requirement?

```
@Authentication_Annotation(id, password)
public void method(String id, String password, String param) {
    // Does something if ID and Password are correct.
}

```

Coming from a python background, this would have been possible using decorators.
Can we still do it in java, without calling a method that authenticates every time a method needs to be provided authentication?