Annotation processing does no longer consider syntethic parameter index since ASM 6.1
For:
public class Outer {
public class Inner {
public Inner(@Deprecated Void arg) { }
}
}
ASM will invoke visitParameterAnnotation for the Deprecated
annotation with index 0 ignoring the syntethic outer this parameter. Also, the index 0 annotation java/lang/Synthetic will no longer be visited.