@Retention(value=RUNTIME) public @interface OnCreateTreeProp
Example usage:
@LayoutSpec
public class MySpec {
@OnCreateTreeProp
SomeTreePropClass onCreateSomeTreeProp(
ComponentsContext c,
@Prop SomeProp prop) {
return new SomeTreePropClass(prop.getSomeProperty());
}
}