public JCodeModel getCodeModel ( String basePackage , String schemaLocation , Annotator annotator ) { if ( type != null ) { return codeModel ; } else { return SchemaHelper . buildBodyJCodeModel ( schemaLocation , basePackage , name , schema , annotator ) ; } }
Builds a JCodeModel for this body