use of com.ibm.dtfj.image.javacore.JCImageModule in project openj9 by eclipse.
the class ImageProcessBuilder method addRoutine.
public ImageSymbol addRoutine(ImageModule library, String name, long address) {
ImagePointer addr = fImageAddressSpace.getPointer(address);
ImageSymbol symbol = new JCImageSymbol(name, addr);
JCImageModule mod = (JCImageModule) library;
mod.addSymbol(symbol);
return symbol;
}
use of com.ibm.dtfj.image.javacore.JCImageModule in project openj9 by eclipse.
the class ImageProcessBuilder method addProperty.
public void addProperty(ImageModule library, String name, String value) {
JCImageModule mod = (JCImageModule) library;
mod.addProperty(name, value);
}
use of com.ibm.dtfj.image.javacore.JCImageModule in project openj9 by eclipse.
the class ImageProcessBuilder method addLibrary.
/**
*/
public ImageModule addLibrary(String name) {
ImageModule module = null;
if (name != null && (module = fImageProcess.getLibrary(name)) == null) {
JCImageModule jcmodule = new JCImageModule(name);
fImageProcess.addLibrary(jcmodule);
module = jcmodule;
}
return module;
}
Aggregations