org.sdmlib.codegen.util.CreatorCreator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of SDMLib Show documentation
Show all versions of SDMLib Show documentation
SDMLib is a light weight modeling library. SDMLib intentionally comes without any tool or editor.
package org.sdmlib.codegen.util;
import org.sdmlib.serialization.SDMLibJsonIdMap;
import de.uniks.networkparser.IdMap;
class CreatorCreator{
public static IdMap createIdMap(String sessionID)
{
IdMap jsonIdMap = (IdMap) new SDMLibJsonIdMap().withSessionId(sessionID);
jsonIdMap.with(new LocalVarTableEntryCreator());
jsonIdMap.with(new LocalVarTableEntryPOCreator());
jsonIdMap.with(new StatementEntryCreator());
jsonIdMap.with(new StatementEntryPOCreator());
jsonIdMap.with(new SymTabEntryCreator());
jsonIdMap.with(new SymTabEntryPOCreator());
return jsonIdMap;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy