fieldDef.dimensions = getDimension(fieldType);
binaryBuilder.addField(fieldDef);
}
private void addMethodOrConstructor(Member member, ModelBuilder binaryBuilder) {
MethodDef methodDef = new MethodDef();
// The name of constructors are qualified. Need to strip it.
// This will work for regular methods too, since -1 + 1 = 0
int lastDot = member.getName().lastIndexOf('.');
methodDef.name = member.getName().substring(lastDot + 1);