# Interface: com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICLabelFactory

A manager of [ICLabel](com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICLabel.md). Each [ICMethod](com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICMethod.md) has its own label factory.

## Abstract Method: create
- parameter: `offset`, type: `long`
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICLabel`

Description: Create a named label.
parameter: offset: a client\-defined offset, that may or may not represent a valid location within             the instruction sequence used to build this AST. In practice, this offset should             be an IR instruction one.
parameter: name: mandatory label name, should be unique, or the method will throw an exception.
return: the newly created label

## Abstract Method: create
- parameter: `offset`, type: `long`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICLabel`

Description: Create a named label. The label will be auto\-generated from the provided address.
parameter: offset: a client\-defined offset, that may or may not represent a valid location within             the instruction sequence used to build this AST. In practice, this offset should             be an IR instruction one.
return: 

## Abstract Method: create
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICLabel`

Description: Create a label.
return: 

## Abstract Method: get
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICLabel`

Description: Retrieve an existing label by name.
parameter: name: label name
return: the label or null

## Abstract Method: get
- parameter: `offset`, type: `long`
- return type: `com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICLabel`

Description: Retrieve an existing label by offset.
parameter: offset: label offset
return: the label or null

## Abstract Method: getLabels
- return type: `java.util.Collection<com.pnfsoftware.jeb.core.units.code.asm.decompiler.ast.ICLabel>`

Description: Retrieve a read\-only collection of labels defined by the factory.
return: 

