diff graal/com.oracle.truffle.object/src/com/oracle/truffle/object/PropertyImpl.java @ 21052:de8880bbf2e1

Truffle: simplify getProperty; minor cleanup
author Andreas Woess <andreas.woess@oracle.com>
date Mon, 20 Apr 2015 14:22:01 +0200
parents 2c3666f44855
children b1530a6cce8c
line wrap: on
line diff
--- a/graal/com.oracle.truffle.object/src/com/oracle/truffle/object/PropertyImpl.java	Mon Apr 20 11:02:30 2015 -0700
+++ b/graal/com.oracle.truffle.object/src/com/oracle/truffle/object/PropertyImpl.java	Mon Apr 20 14:22:01 2015 +0200
@@ -28,10 +28,8 @@
 import com.oracle.truffle.object.Locations.*;
 
 /**
- * Property objects represent the mapping between low-level stores and high-level data. The simplest
- * Property could be nothing more than a map of one index to one property's value, but abstracting
- * the interface allows for getter/setter methods, type-checked properties, and other such
- * specialized and language-specific behavior. ECMAScript[8.6.1]
+ * Property objects represent the mapping between property identifiers (keys) and storage locations.
+ * Optionally, properties may have metadata attached to them.
  */
 public class PropertyImpl extends Property {
     private final Object key;