# Interface: com.pnfsoftware.jeb.core.units.code.android.IJniEndpoint

Definition of a JNI endpoint. There are 2 kinds of JNI endpoints:  
  
- static endpoints: auto\-determined by JNI\-defined naming convention  
- dynamic endpoints: set\-up in code via JNI's `RegisterNatives`

## Abstract Method: getAddress
- return type: `java.lang.Long`

Description: Address of the endpoint in a particular [IUnit](com.pnfsoftware.jeb.core.units.IUnit.md). [#getUnit()](#getUnit()) must not return  null if this method does not return null. Note that address can be null for static endpoints.
return: the address of the endpoint in the [#getUnit()](#getUnit())

## Abstract Method: getMethodName
- return type: `java.lang.String`

Description: The method name, built from static convention name.
return: the method name

## Abstract Method: getUnit
- return type: `com.pnfsoftware.jeb.core.units.IUnit`

Description: [IUnit](com.pnfsoftware.jeb.core.units.IUnit.md) bound to this endpoint. Note that it can be null for static endpoints.
return: the container unit of native code \(expected an [IELFUnit](com.pnfsoftware.jeb.core.units.codeobject.IELFUnit.md) in most cases\)

## Abstract Method: isStatic
- return type: `boolean`

Description: Indicate the JNI endpoint type
return: true for static endpoints, false for dynamically loaded

