Class ObjCPropertyAttribute

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

    public class ObjCPropertyAttribute
    extends Struct
    implements NativeResource
    Defines a property attribute.

    Member documentation

    • name – the name of the attribute
    • value – the value of the attribute (usually empty)


     struct objc_property_attribute_t {
         char * name;
         char * value;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • NAME, VALUE

        The struct member offsets.
    • Constructor Detail

      • ObjCPropertyAttribute

        public ObjCPropertyAttribute​(java.nio.ByteBuffer container)
        Creates a ObjCPropertyAttribute instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

        The created instance holds a strong reference to the container object.