public class

Actions

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.actions.Actions

Class Overview

This class defines well-known actions.

Summary

Constants
int AUTO_RENAME_ALL Auto-rename all identifiers.
int COMMENT Create a comment.
int CONVERT Perform a conversion.
int CREATE_PACKAGE Code specific: Create a package.
int DELETE Delete action.
int MOVE_TO Move a source item "to" another (destination) item.
int MOVE_TO_PACKAGE Code specific: Move code items to a package.
int NOOP No operation.
int PROVIDE_TYPE_HINT Code specific: Provide a type hint for a code item.
int QUERY_OVERRIDES Code specific: Query code overrides.
int QUERY_TYPE_HIER Code specific: Query types hierarchies.
int QUERY_XREFS Query cross-references.
int RENAME Rename an item.
int REPLACE Perform a replacement.
Public Constructors
Actions()
Public Methods
static String idToName(int id)
Convert an action to a human-readable, camel-case name.
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final int AUTO_RENAME_ALL

Auto-rename all identifiers.

Constant Value: 14 (0x0000000e)

public static final int COMMENT

Create a comment.

Constant Value: 3 (0x00000003)

public static final int CONVERT

Perform a conversion.

Constant Value: 5 (0x00000005)

public static final int CREATE_PACKAGE

Code specific: Create a package.

Constant Value: 10 (0x0000000a)

public static final int DELETE

Delete action.

Constant Value: 1 (0x00000001)

public static final int MOVE_TO

Move a source item "to" another (destination) item. A generic version of MOVE_TO_PACKAGE.

Constant Value: 16 (0x00000010)

public static final int MOVE_TO_PACKAGE

Code specific: Move code items to a package.

This action has been superseded by MOVE_TO; it is left here for legacy reasons. Parsers implementing it should maintain support to avoid breaking extensions (scripts/plugins) relying on it.

Constant Value: 11 (0x0000000b)

public static final int NOOP

No operation.

Constant Value: 0 (0x00000000)

public static final int PROVIDE_TYPE_HINT

Code specific: Provide a type hint for a code item.

Constant Value: 15 (0x0000000f)

public static final int QUERY_OVERRIDES

Code specific: Query code overrides.

Constant Value: 13 (0x0000000d)

public static final int QUERY_TYPE_HIER

Code specific: Query types hierarchies.

Constant Value: 12 (0x0000000c)

public static final int QUERY_XREFS

Query cross-references.

Constant Value: 4 (0x00000004)

public static final int RENAME

Rename an item.

Constant Value: 2 (0x00000002)

public static final int REPLACE

Perform a replacement.

Constant Value: 6 (0x00000006)

Public Constructors

public Actions ()

Public Methods

public static String idToName (int id)

Convert an action to a human-readable, camel-case name.

Parameters
id the action id
Returns
  • the action name, or UnknownAction{id} on error