This repository has been archived by the owner on May 4, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 25
Formatted Syntax
Adrián Rivero edited this page Nov 5, 2016
·
5 revisions
In Declex, many parameters can be formatted, in order to include Java Code in them. For it, you should put the java code inside a {<java code>}
block.
Let's say that we have an annotation that supports formatting in some of it's parameters, then we can pass a Formatted String, referencing several methods or fields in the code.
Ex.
"The name of the user is {getUserName()}"
This is converted to:
"The name of the user is " + getUserName();
Sponsored by DSpot Sp. z o.o. Contact us at info@dspot.com.pl