java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.nd.NdStruct
All Implemented Interfaces:
INdStruct
Direct Known Subclasses:
NdAnnotation, NdAnnotationValuePair, NdMethodException, NdMethodParameter, NdNode, NdTypeBound, NdTypeParameter, NdZipEntry

public class NdStruct extends Object implements INdStruct
Base class for standard implementations of INdStruct. Holds the address of the struct and the pointer to the database.
  • Field Details

    • address

      public long address
    • nd

      protected final Nd nd
    • type

      public static final StructDef<NdStruct> type
  • Constructor Details

    • NdStruct

      protected NdStruct(Nd nd, long address)
  • Method Details

    • getAddress

      public long getAddress()
      Description copied from interface: INdStruct
      Returns the database address at which the struct begins.
      Specified by:
      getAddress in interface INdStruct
    • getNd

      public Nd getNd()
      Description copied from interface: INdStruct
      Returns the database backing this struct.
      Specified by:
      getNd in interface INdStruct
    • getDB

      protected final Database getDB()