- All Implemented Interfaces:
- javax.annotation.processing.Processor
@SupportedAnnotationTypes(value="com.facebook.react.uimanager.annotations.ReactPropertyHolder")
@SupportedSourceVersion(value=RELEASE_7)
public class ReactPropertyProcessor
extends javax.annotation.processing.AbstractProcessor
This annotation processor crawls subclasses of ReactShadowNode and ViewManager and finds their
exported properties with the @ReactProp or @ReactGroupProp annotation. It generates a class
per shadow node/view manager that is named <classname>$$PropSetter
. This class contains methods
to retrieve the name and type of all methods and a way to set these properties without
reflection.