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

Field Summary

Object
info
Field used to associate user information to a label.

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.

Field Details

info

public Object info

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.