2010 FRC Java API


com.sun.squawk
Class ScopedLocalVariable

java.lang.Object
  extended by com.sun.squawk.ScopedLocalVariable

public final class ScopedLocalVariable
extends Object

An instance of ScopedLocalVariable encapsulates the symbolic information for a local variable that has a limited scope in a Squawk bytecode method.


Field Summary
 int length
          The offset from 'start' at which the scope of the local variable ends.
 String name
          The name of the local variable.
 int slot
          The logical slot index of the local variable.
 int start
          The address at which the scope of the local variable starts.
 Class type
          The type of the local variable.
 
Constructor Summary
ScopedLocalVariable(String name, Class type, int slot, int start, int length)
          Creates a ScopedLocalVariable instance representing the symbolic information for a local variable in a Squawk bytecode method.
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

length

public final int length
The offset from 'start' at which the scope of the local variable ends.

See Also:
Constant Field Values

name

public final String name
The name of the local variable.


slot

public final int slot
The logical slot index of the local variable.

See Also:
Constant Field Values

start

public final int start
The address at which the scope of the local variable starts.

See Also:
Constant Field Values

type

public final Class type
The type of the local variable.

Constructor Detail

ScopedLocalVariable

public ScopedLocalVariable(String name,
                           Class type,
                           int slot,
                           int start,
                           int length)
Creates a ScopedLocalVariable instance representing the symbolic information for a local variable in a Squawk bytecode method.

Parameters:
name - the local variable's name
type - the local variable's type
slot - the local variable's logical slot index
start - the address at which the scope of the local variable starts
length - the offset from start at which the scope of the local variable ends

2010 FRC Java API


Copyright © 2006-2009 Sun Microsystems, Inc. All Rights Reserved.