Skip to content

Commit f846c77

Browse files
committed
Document that Property.flags is for language-specific use
Signed-off-by: Stefan Marr <[email protected]>
1 parent 8cc9be7 commit f846c77

File tree

1 file changed

+3
-1
lines changed
  • truffle/com.oracle.truffle.api.object/src/com/oracle/truffle/api/object

1 file changed

+3
-1
lines changed

truffle/com.oracle.truffle.api.object/src/com/oracle/truffle/api/object/Property.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ protected Property() {
3434

3535
/**
3636
* Create a new property.
37+
*
38+
* @param flags, for language-specific use
3739
*/
3840
public static Property create(Object key, Location location, int flags) {
3941
return Layout.getFactory().createProperty(key, location, flags);
@@ -45,7 +47,7 @@ public static Property create(Object key, Location location, int flags) {
4547
public abstract Object getKey();
4648

4749
/**
48-
* Get property flags.
50+
* Get property flags, which are free for language-specific use.
4951
*/
5052
public abstract int getFlags();
5153

0 commit comments

Comments
 (0)