public class

JvmFieldSig

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.code.android.JvmFieldSig

Class Overview

Representation of JVM internal field signature. Example: Lcom/abc/Foo;->name:Ljava/lang/String;

Summary

Fields
public String csig
public String fname
public String ftype
Public Constructors
JvmFieldSig()
Public Methods
static JvmFieldSig parse(String fsig)
Explode the internal signature (full) of a field.
static JvmFieldSig parse(String fsig, boolean optionalType)
Explode the internal signature (full) of a field.
static JvmFieldSig parseSafe(String fsig, boolean optionalType)
Explode the internal signature (full) of a field.
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public String csig

public String fname

public String ftype

Public Constructors

public JvmFieldSig ()

Public Methods

public static JvmFieldSig parse (String fsig)

Explode the internal signature (full) of a field.

Parameters
fsig a binary field signature, eg Lcom/abc/Foo;->val:I

public static JvmFieldSig parse (String fsig, boolean optionalType)

Explode the internal signature (full) of a field. This method throws on error.

Parameters
fsig a binary field signature, eg Lcom/abc/Foo;->val:I
optionalType if true, the field's type descriptor may be left out
Returns
  • parsed object; throws on error

public static JvmFieldSig parseSafe (String fsig, boolean optionalType)

Explode the internal signature (full) of a field. This method does not throw on error.

Parameters
fsig a binary field signature, eg Lcom/abc/Foo;->val:I
optionalType if true, the field's type descriptor may be left out
Returns
  • null on error