According to the class ElementType in the API, you can annotate local variables and method parameters.
How is that done?
According to the class ElementType in the API, you can annotate local variables and method parameters.
How is that done?
Just the usual way:
void method(@SomeAttr int param){
@SomeAttr
int local = param * 2;
}