public class

TypeLibraryMetadata

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

Class Overview

Metadata header for type library binary files. Refer to ITypeLibrary for details about methods.

Summary

Public Methods
static TypeLibraryMetadata create(ProcessorType processorType, SubsystemType subsystemType, CompilerType compilerType)
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)
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)
String getAuthor()
CompilerType getCompilerType()
long getCreationTimestamp()
synchronized Object getData(String key)
String getDescription()
int getGroupId()
String getName()
ProcessorType getPrimaryProcessorType()
SubsystemType getPrimarySubsystemType()
double getPriorityOrder()
List<ProcessorType> getProcessorTypes()
int getStandardPackingAlignment()
Retrieve the standard packing value used by the compiler to align structure fields if nothing was explicitly specified.
List<SubsystemType> getSubsystemTypes()
int getUuid()
int getVersion()
synchronized void putData(String key, Object value)
synchronized void putData(Map<? extends String, ? extends Object> map)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

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

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)

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)

public String getAuthor ()

public CompilerType getCompilerType ()

public long getCreationTimestamp ()

public synchronized Object getData (String key)

public String getDescription ()

public int getGroupId ()

public String getName ()

public ProcessorType getPrimaryProcessorType ()

public SubsystemType getPrimarySubsystemType ()

public double getPriorityOrder ()

public List<ProcessorType> getProcessorTypes ()

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 MAX_VALUE means that struct members are aligned on the underlying primitive size

public List<SubsystemType> getSubsystemTypes ()

public int getUuid ()

public int getVersion ()

public synchronized void putData (String key, Object value)

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

public String toString ()