Class exception = exceptions[j];
methodDef.exceptions.add(exception.getName());
}
binaryBuilder.addMethod(methodDef);
for (int j = 0; j < parameterTypes.length; j++) {
FieldDef param = new FieldDef();
Class parameterType = parameterTypes[j];
param.name = "p" + j;
param.type = getTypeDef(parameterType);
param.dimensions = getDimension(parameterType);
binaryBuilder.addParameter( param );