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

`dexdec` global context for AST generation. This interface contains references to objects necessary to access and manipulate ASTs generated by the decompiler.

## Method: createMasterOptimizer
- parameter: `elt`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaDecompilableElement`
- parameter: `registerBuiltinOptimizers`, type: `boolean`
- parameter: `initializeWithDexdecSettings`, type: `boolean`
- parameter: `registerExternalOptimizers`, type: `boolean`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJMasterOptimizer`

Description: Create a master optimizer targeting the provided AST element.
parameter: elt: a method or class
parameter: registerBuiltinOptimizers: 
parameter: initializeWithDexdecSettings: 
parameter: registerExternalOptimizers: 
return: 

## Method: createMasterOptimizer
- parameter: `elt`, type: `com.pnfsoftware.jeb.core.units.code.java.IJavaDecompilableElement`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJMasterOptimizer`

Description: Create a pre\-initialized master optimizer targeting the provided AST element. This convenience method is equivalent to [createMasterOptimizer\(elt, true, true, true\)](#createMasterOptimizer(IJavaDecompilableElement, boolean, boolean, boolean)).
parameter: elt: 
return: 

## Method: getClassFactory
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaClassFactory`


## Method: getConstantFactory
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstantFactory`


## Method: getDecompiler
- return type: `com.pnfsoftware.jeb.core.units.code.android.IDexDecompilerUnit`


## Method: getFieldFactory
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaFieldFactory`


## Method: getMethodFactory
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaMethodFactory`


## Method: getOperatorFactory
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaOperatorFactory`


## Method: getTypeFactory
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaTypeFactory`


