This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Compiled from "Person.java" | |
public class Person extends java.lang.Object implements java.io.Serializable | |
SourceFile: "Person.java" | |
RuntimeVisibleAnnotations: length = 0xF | |
00 02 00 14 00 00 00 15 00 01 00 16 73 00 17 | |
minor version: 0 | |
major version: 50 | |
Constant pool: | |
const #1 = Method #4.#24; // java/lang/Object."<init>":()V | |
const #2 = Field #3.#25; // Person.id:J |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Address # Our custom, embedded-value type | |
orm.map_type do |signature, types| | |
signature.from [self] | |
signature.typecast_left method(:__load__) | |
signature.to [types.string, types.string, types.string, types.string, types.string] | |
signature.typecast_right method(:__dump__) | |
end | |
end | |
class Zoo |