Class FieldLayout

    • Constructor Detail

      • FieldLayout

        public FieldLayout​(org.openjdk.jol.info.FieldData fieldData,
                           long offset,
                           long size)
        Construct field layout with discovered offset and field size.
        Parameters:
        fieldData - field data for the field
        offset - discovered offset
        size - discovered field size
    • Method Detail

      • offset

        public long offset()
        Answers field offset
        Returns:
        field offset
      • size

        public long size()
        Answers field size
        Returns:
        field size
      • typeClass

        public String typeClass()
        Answers the class for the field type
        Returns:
        string representation of field type
      • name

        public String name()
        Answers the field name.
        Returns:
        field name
      • data

        public org.openjdk.jol.info.FieldData data()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object