org.objectweb.asm

Class Label


public class Label
extends Object

A label represents a position in the bytecode of a method. Labels are used for jump, goto, and switch instructions, and for try catch blocks.
Author:
Eric Bruneton

Constructor Summary

Label()
Constructs a new label.

Method Summary

int
getOffset()
Returns the offset corresponding to this label.
String
toString()
Returns a string representation of this label.

Constructor Details

Label

public Label()
Constructs a new label.

Method Details

getOffset

public int getOffset()
Returns:
the offset corresponding to this label.

toString

public String toString()
Returns a string representation of this label.
Returns:
a string representation of this label.