Class Property

java.lang.Object
com.oracle.truffle.api.object.Property

public final class Property extends Object
Property objects represent the mapping between property identifiers (keys) and storage locations. Optionally, properties may have metadata attached to them.
Since:
0.8 or earlier
  • Method Details

    • getKey

      public Object getKey()
      Get property identifier.
      Since:
      0.8 or earlier
    • getFlags

      public int getFlags()
      Get property flags, which are free for language-specific use.
      Since:
      0.8 or earlier
    • getLocation

      public Location getLocation()
      Get the property location. Planned to be deprecated.
      Since:
      0.8 or earlier
    • isHidden

      public boolean isHidden()
      Is this property hidden from iteration.
      Since:
      0.8 or earlier
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
      Since:
      0.8 or earlier
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
      Since:
      0.8 or earlier
    • toString

      public String toString()
      Overrides:
      toString in class Object
      Since:
      0.8 or earlier