InitializerElem.java | Class | Java Module General API Test: InitializerElement
What it tests:
Creating and handling with InitializerElement.
Test is focused on checking of correctness of generated code.
How it works:
New class is created using DataObject.createFromTemplate() and also some InitializerElements are created.
These are customized using setters and then added using ClassElement.addInitializer() into ClassElement.
These actions cause generating of .java code. |