Top Description Fields Constructors Methods
org.droidparts.dexmaker

public final Class Local<T>

extends Object
Class Inheritance
Imports
org.droidparts.dexmaker.dx.rop.code.RegisterSpec

A temporary variable that holds a single value of a known type.

Field Summary

Modifier and TypeField and Description
private final Code
private int
private RegisterSpec
pack-priv final TypeId<T>

Constructor Summary

AccessConstructor and Description
private
Local(Code code, TypeId<T> type)

Method Summary

Modifier and TypeMethod and Description
pack-priv static <T> Local<T>
get(Code code, TypeId<T> type)

public TypeId<T>
pack-priv int

Returns:

the number of registers required.
initialize
(int nextAvailableRegister)

Assigns registers to this local.

pack-priv int
size()

Returns the number of registered required to hold this local.

pack-priv RegisterSpec
spec()

public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

codeback to summary
private final Code code
regback to summary
private int reg
specback to summary
private RegisterSpec spec
typeback to summary
pack-priv final TypeId<T> type

Constructor Detail

Localback to summary
private Local(Code code, TypeId<T> type)

Method Detail

getback to summary
pack-priv static <T> Local<T> get(Code code, TypeId<T> type)
getTypeback to summary
public TypeId<T> getType()
initializeback to summary
pack-priv int initialize(int nextAvailableRegister)

Assigns registers to this local.

Returns:int

the number of registers required.

sizeback to summary
pack-priv int size()

Returns the number of registered required to hold this local.

specback to summary
pack-priv RegisterSpec spec()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object

Annotations
@Override