gnu.bytecode

Class Label


public class Label
extends java.lang.Object

A Label represents a location in a Code attribute.

Constructor Summary

Label()
Label(CodeAttr code)
Label(int position)

Method Summary

void
define(CodeAttr code)
Define the value of a label as having the current location.
boolean
defined()

Constructor Details

Label

public Label()

Label

public Label(CodeAttr code)

Label

public Label(int position)

Method Details

define

public void define(CodeAttr code)
Define the value of a label as having the current location.
Parameters:
code - the "Code" attribute of the current method

defined

public final boolean defined()