Skip to content

Instantly share code, notes, and snippets.

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
@wiecklabs
wiecklabs / gist:186777
Created September 14, 2009 17:11 — forked from fgrehm/gist:184843
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