Переопределение аннотаций

Версия Minecraft
1.7.10
3,005
192
592
Возможно ли сделать для аннотации @SideOnly(Side.CLIENT) и @SideOnly(Side.SERVER) автоматическое переопределение, как Override?
 
1,111
47
420
* Indicates that an annotation type is automatically inherited. If
* an Inherited meta-annotation is present on an annotation type
* declaration, and the user queries the annotation type on a class
* declaration, and the class declaration has no annotation for this type,
* then the class's superclass will automatically be queried for the
* annotation type. This process will be repeated until an annotation for this
* type is found, or the top of the class hierarchy (Object)
* is reached. If no superclass has an annotation for this type, then
* the query will indicate that the class in question has no such annotation.
Нет оно так не работает, но ты можешь переписать для себя выпиливатель классов фордж а при сборке добавить таск в градл который который добавит аннотации ребенкам. По-крайней мере я бы так сделал, но: ASM, хуки - ГОМНО!1111

Если найдешь другой способ, сообщи плз.
 
Сверху