Class ObjCMethodDescription

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

    public class ObjCMethodDescription
    extends Struct
    implements NativeResource
    Defines a method.

    Member documentation

    • name – the name of the method at runtime
    • types – the types of the method arguments


     struct objc_method_description {
         SEL name;
         char * types;
    • Field Detail

      • SIZEOF

        The struct size in bytes.
      • ALIGNOF

        The struct alignment in bytes.
      • NAME, TYPES

        The struct member offsets.
    • Constructor Detail

      • ObjCMethodDescription

        public ObjCMethodDescription​(java.nio.ByteBuffer container)
        Creates a ObjCMethodDescription 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.