This content has been marked as final.
Show 2 replies
-
1. Re: What are the limitations of setBody?
gastaldi Aug 9, 2016 8:02 AM (in response to g.andrade.1995)Hi Guilherme.
That should just work. Could you open a JIRA on https://issues.jboss.org/browse/ROASTER so we can have a look at it?
Thanks and sorry for the trouble.
-
2. Re: What are the limitations of setBody?
gastaldi Aug 9, 2016 8:42 AM (in response to gastaldi)It looks like your code is missing a semicolon. It should read:
javaClass.addMethod()
.setPublic()
.setStatic(false)
.setName("setupIAB")
.setReturnTypeVoid()
.setBody("OpenIabHelper.Options.Builder builder = new OpenIabHelper.Options.Builder(); \n\t builder.setStoreSearchStrategy(OpenIabHelper.Options.SEARCH_STRATEGY_INSTALLER);");