Class TypeLibraryMetadata

java.lang.Object
com.pnfsoftware.jeb.core.units.code.asm.type.TypeLibraryMetadata

@Ser public class TypeLibraryMetadata extends Object
Metadata header for type library binary files. Refer to ITypeLibrary for details about methods.
  • Method Details

    • create

      public static TypeLibraryMetadata create(ProcessorType processorType, SubsystemType subsystemType, CompilerType compilerType)
    • create

      public static TypeLibraryMetadata create(ProcessorType processorType, SubsystemType subsystemType, CompilerType compilerType, int standardPackingAlignment, int groupId, double priorityOrder, int uuid, int version, String name, String description, String author)
    • create

      public static TypeLibraryMetadata create(List<ProcessorType> processorTypes, List<SubsystemType> subsystemTypes, CompilerType compilerType, int standardPackingAlignment, int groupId, double priorityOrder, int uuid, int version, String name, String description, String author)
    • getPrimaryProcessorType

      public ProcessorType getPrimaryProcessorType()
    • getProcessorTypes

      public List<ProcessorType> getProcessorTypes()
    • getPrimarySubsystemType

      public SubsystemType getPrimarySubsystemType()
    • getSubsystemTypes

      public List<SubsystemType> getSubsystemTypes()
    • getCompilerType

      public CompilerType getCompilerType()
    • getGroupId

      public int getGroupId()
    • getPriorityOrder

      public double getPriorityOrder()
    • getUuid

      public int getUuid()
    • getVersion

      public int getVersion()
    • getName

      public String getName()
    • getDescription

      public String getDescription()
    • getAuthor

      public String getAuthor()
    • getCreationTimestamp

      public long getCreationTimestamp()
    • putData

      public void putData(Map<? extends String,? extends Object> map)
    • putData

      public void putData(String key, Object value)
    • getData

      public Object getData(String key)
    • getStandardPackingAlignment

      public int getStandardPackingAlignment()
      Retrieve the standard packing value used by the compiler to align structure fields if nothing was explicitly specified. For type readers, this value is informative and may not be present (in which case, the method returns 0). For type generators, this value is important as it is used to generate proper structure layouts.
      Returns:
      0 means unknown or not set; negative values are illegal; the value Integer.MAX_VALUE means that struct members are aligned on the underlying primitive size
    • toString

      public String toString()
      Overrides:
      toString in class Object