public JCodeModel getCodeModel(String basePackage, String schemaLocation, Annotator annotator) {
		if (type != null) {
			return codeModel;
		} else {
			return SchemaHelper.buildBodyJCodeModel(schemaLocation, basePackage, name, schema, annotator);
		}
	}
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

@param basePackage
The package we will be using for the domain objects
@param schemaLocation
The location of this schema, will be used to create absolute
URIs for $ref tags eg "classpath:/"
@param annotator
JsonSchema2Pojo annotator. if null a default annotator will be
used
@return built JCodeModel