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

Builder for Java AST constants.

## Method: createBoolean
- parameter: `v`, type: `boolean`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`


## Method: createBoolean
- parameter: `v`, type: `boolean`
- parameter: `originInfo`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`

Description: Create an AST `boolean` value.
parameter: v: 
parameter: originInfo: optional
return: 

## Method: createByte
- parameter: `v`, type: `byte`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`


## Method: createByte
- parameter: `v`, type: `byte`
- parameter: `originInfo`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`

Description: Create an AST `byte` value.
parameter: v: 
parameter: originInfo: optional
return: 

## Method: createChar
- parameter: `v`, type: `char`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`


## Method: createChar
- parameter: `v`, type: `char`
- parameter: `originInfo`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`

Description: Create an AST `char` value.
parameter: v: 
parameter: originInfo: optional
return: 

## Method: createDouble
- parameter: `v`, type: `double`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`


## Method: createDouble
- parameter: `v`, type: `double`
- parameter: `originInfo`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`

Description: Create an AST `double` value.
parameter: v: 
parameter: originInfo: optional
return: 

## Method: createFloat
- parameter: `v`, type: `float`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`


## Method: createFloat
- parameter: `v`, type: `float`
- parameter: `originInfo`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`

Description: Create an AST `float` value.
parameter: v: 
parameter: originInfo: optional
return: 

## Method: createInt
- parameter: `v`, type: `int`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`


## Method: createInt
- parameter: `v`, type: `int`
- parameter: `originInfo`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`

Description: Create an AST `int` value.
parameter: v: 
parameter: originInfo: optional
return: 

## Method: createLong
- parameter: `v`, type: `long`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`


## Method: createLong
- parameter: `v`, type: `long`
- parameter: `originInfo`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`

Description: Create an AST `long` value.
parameter: v: 
parameter: originInfo: optional
return: 

## Method: createNull
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`

Description: Retrieve the AST `null` value.
return: 

## Method: createShort
- parameter: `v`, type: `short`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`


## Method: createShort
- parameter: `v`, type: `short`
- parameter: `originInfo`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`

Description: Create an AST `short` value.
parameter: v: 
parameter: originInfo: optional
return: 

## Method: createString
- parameter: `v`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`


## Method: createString
- parameter: `v`, type: `java.lang.String`
- parameter: `originInfo`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaConstant`

Description: Create an AST String object. Note that the created object is not necessarily backed by a lower\-level \(dex\) string item. If the user needs to ensure that an AST String object is backed by a dex item, the existence of a matching dex string must be verified, or a new dex string be created. Refer to [IDexUnit#addString(String)](IDexUnit#addString(String)).
parameter: v: string value
parameter: originInfo: optional metadata information indicating the origin of the string; leave            null if not necessary
return: 

