37.9.2 Object Attributes

Attributes are based on an efficient term storage associated to modules. The attributes for an object is collected from its ancestors and itself at compile time and used for initialization at load time. The methods for accessing attributes, get/1 and set/1, are inlined to primitive calls whenever possible. They should hence not be redefined.