private void processPropDefaultValues ( ) { getMethodsWithAnnotation ( component , PropDefault . class ) . forEach ( method -> { PropDefault propValidator = method . getAnnotation ( PropDefault . class ) ; String exposedMethodName = exposeExistingJavaMethodToJs ( method ) ; String propertyName = propValidator . value ( ) ; optionsBuilder . addStatement ( "options.addJavaPropDefaultValue(p.$L, $S)" , exposedMethodName , propertyName ) ; } ) ; }
Process prop default values from the Component Class .