public interface

ITypeLibrary

com.pnfsoftware.jeb.core.units.code.asm.type.ITypeLibrary

Class Overview

Definition of a type library. Type libraries are managed by a TypeLibraryService.

Summary

Public Methods
abstract String getAuthor()
Get the author name.
abstract CompilerType getCompilerType()
Get the optional compiler type this typelib was generated for.
abstract CodeConstantManager getConstantManager()
Get the constants managed by this typelib.
abstract long getCreationTimestamp()
Get the creation timestamp of this type library.
abstract String getDescription()
Get the type library description string.
abstract int getGroupId()
The type library group id, 0 if none.
abstract String getName()
Get the type library name.
abstract ProcessorType getPrimaryProcessorType()
The intended processor the type library is valid for.
abstract SubsystemType getPrimarySubsystemType()
Get the primary targeted subsystem.
abstract double getPriorityOrder()
The priority is used to discriminate two type libraries belonging to the same group.
abstract List<ProcessorType> getProcessorTypes()
All processors the type library is valid for.
abstract Collection<INativeMethodItem> getRoutines()
Get the list of routine references contained in this library.
abstract List<SubsystemType> getSubsystemTypes()
Get a list of targeted subsystems.
abstract Collection<INativeType> getTypes(ISimpleFilter<INativeType> filter)
Get a list of types contained in this library.
abstract Collection<INativeType> getTypes()
Get the list of types contained in this library.
abstract int getUuid()
abstract int getVersion()
Get the incremental version number of this type library.

Public Methods

public abstract String getAuthor ()

Get the author name.

Returns
  • the optional author name

public abstract CompilerType getCompilerType ()

Get the optional compiler type this typelib was generated for.

public abstract CodeConstantManager getConstantManager ()

Get the constants managed by this typelib.

public abstract long getCreationTimestamp ()

Get the creation timestamp of this type library.

Returns
  • the create time Unix epoch (number of seconds since Jan 1, 1970), 0 if none

public abstract String getDescription ()

Get the type library description string.

Returns
  • the optional description

public abstract int getGroupId ()

The type library group id, 0 if none. Refer to TypeLibraryService for a list of constants.

Returns
  • the optional group ID (0 if none)

public abstract String getName ()

Get the type library name.

Returns
  • the optional name (not necessarily unique)

public abstract ProcessorType getPrimaryProcessorType ()

The intended processor the type library is valid for.

public abstract SubsystemType getPrimarySubsystemType ()

Get the primary targeted subsystem. Indicative only, may be null.

Returns
  • potentially null

public abstract double getPriorityOrder ()

The priority is used to discriminate two type libraries belonging to the same group. A lower number means the typelib will be loaded and consulted before another typelib (from the same group) with a higher priority order.

Returns
  • the priority order (lower number = higher priority)

public abstract List<ProcessorType> getProcessorTypes ()

All processors the type library is valid for.

public abstract Collection<INativeMethodItem> getRoutines ()

Get the list of routine references contained in this library.

Returns
  • the routines declared in the type library

public abstract List<SubsystemType> getSubsystemTypes ()

Get a list of targeted subsystems. Indicative only, may be empty.

Returns
  • never null, potentially empty

public abstract Collection<INativeType> getTypes (ISimpleFilter<INativeType> filter)

Get a list of types contained in this library.

Parameters
filter optional
Returns
  • the list of types

public abstract Collection<INativeType> getTypes ()

Get the list of types contained in this library.

Returns
  • the list of types

public abstract int getUuid ()

public abstract int getVersion ()

Get the incremental version number of this type library.

Returns
  • the optional version number (0 if none)