Interface IDEmuClass
public interface IDEmuClass
An emulated class, represent the type of an emulated object. Every object registered with a
dexdec
state has an associated emulated class (similarly to every Java Object
having a object representing its type).-
Method Summary
Modifier and TypeMethodDescriptionGet the type signature.boolean
Determine if the type was initialized.boolean
Determine whether this object represents an internal type (e.g.
-
Method Details
-
isInternal
boolean isInternal()Determine whether this object represents an internal type (e.g. defined in the dex file) or an external type (e.g. a library type).- Returns:
-
getFullName
String getFullName()Get the type signature.- Returns:
- a type signature, e.g.
La/b/C;
-
isInitialized
boolean isInitialized()Determine if the type was initialized.A type may be loaded but not initialized (e.g. when invoking
Class.forName(name, false, ...)
). The initialization of a type takes place when one of its static fields is accessed, one its method is invoked, or a new instance of the type is constructed. Refer to the JLS for the exact scenarios in which a type must be initialized.- Returns:
- true if the type was initialized, that is, its static fields were initialized and the
static initializer (
<clinit>
method), if any, was run
-