Package ghidra.app.util.cparser.C

# Class CompositeHandler

java.lang.Object
ghidra.app.util.cparser.C.CompositeHandler

public class CompositeHandler extends Object
Used by the CParser to handle fields added to structures(composites). Currently only bitfields are handled specially. NOTE: when bitfield handling is added directly to structures, this class may no longer be necessary.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `CompositeHandler(Composite parent)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `add(Declaration dec)`
  `Composite`
  `getComposite()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### CompositeHandler

    public CompositeHandler(Composite parent)

- ## Method Details

  - ### getComposite

    public Composite getComposite()

  - ### add

    public void add(Declaration dec) throws IllegalArgumentException
    Throws:
      `IllegalArgumentException`