@Retention(value=CLASS)
public @interface OnRegisterRanges
LayoutSpec
.
For example
@LayoutSpec
public class ComponentSpec {
@OnRegisterRanges
static void registerWorkingRanges(
ComponentContext c, @Prop WorkingRange workingRange) {
}
}