This is an old revision of the document!
A PADL model is typically created from some Java bytecodes using the following code:
final ICodeLevelModel codeLevelModel =
Factory.getInstance().createCodeLevelModel("A");
codeLevelModel.create(
new CompleteClassFileCreator(
DefaultFileRepository.getInstance(),
new String[] { "dir1/dir2/A.class" }), true);
The padl.generator.helper.ModelGenerator interface in project PADL Generator hides the implementation details of creating a PADL model and should be used in most of the cases.