User Tools

Site Tools


padl_creator_classfile

PADL Creator ClassFile

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.

padl_creator_classfile.txt · Last modified: 2017/09/06 01:54 (external edit)