# Interface: com.pnfsoftware.jeb.core.units.code.java.IJavaLabelFactory

A manager of [IJavaLabel](IJavaLabel). Each [IJavaMethod](IJavaMethod) has its own label factory.

## Method: checkEquivalence
- parameter: `label1`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaLabel`
- parameter: `label2`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaLabel`
- return type: `boolean`


## Method: create
- parameter: `offset`, type: `int`
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaLabel`

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

## Method: create
- parameter: `offset`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaLabel`

Description: 
parameter: offset: 
return: 

## Method: create
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaLabel`

Description: 
return: 

## Method: getLabels
- return type: `java.util.List<com.pnfsoftware.jeb.core.units.code.java.IJavaLabel>`

Description: Get the list of labels defined by the factory.
return: 

## Method: recordTrampoline
- parameter: `trampoAddr`, type: `int`
- parameter: `targetAddr`, type: `int`


