use of org.qi4j.api.structure.UsedLayersDescriptor in project qi4j-sdk by Qi4j.
the class LayerModelFormatter method enter.
@Override
public void enter(LayerDescriptor visited) throws JSONException {
object();
field("name", visited.name());
array("uses");
UsedLayersDescriptor usedLayersDescriptor = visited.usedLayers();
for (LayerDescriptor used : usedLayersDescriptor.layers()) {
value(used.name());
}
endArray();
array("modules");
}
Aggregations