# 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`

## Method: getAddress
- return type: `java.lang.Long`

Description: Address of the endpoint in a particular [IUnit](IUnit). [#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())

## Method: getMethodName
- return type: `java.lang.String`

Description: The method name, built from static convention name.
return: the method name

## Method: getUnit
- return type: `com.pnfsoftware.jeb.core.units.IUnit`

Description: [IUnit](IUnit) bound to this endpoint. Note that it can be null for static endpoints.
return: the container unit of native code \(expected an [IELFUnit](IELFUnit) in most cases\)

## Method: isStatic
- return type: `boolean`

Description: Indicate the JNI endpoint type
return: true for static endpoints, false for dynamically loaded

