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

Java AST interface to represent a Java field.

## Method: duplicate
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaField`


## Method: generateName
- parameter: `out`, type: `com.pnfsoftware.jeb.core.units.code.java.JavaOutputSink`
- parameter: `definition`, type: `boolean`

Description: 
parameter: out: 
parameter: definition: 

## Method: generateName
- parameter: `out`, type: `com.pnfsoftware.jeb.core.units.code.java.JavaOutputSink`
- parameter: `definition`, type: `boolean`
- parameter: `alternateName`, type: `java.lang.String`
- parameter: `generated`, type: `boolean`

Description: 
parameter: out: 
parameter: definition: 
parameter: alternateName: alternate name \(AST only, dynamically provided by the caller, not            persisted\) to be used if and only if the DCM cannot provide a better name \(eg, the            field was renamed at the DEX level\)
parameter: generated: true to render the field name with            [ItemClassIdentifiers#FIELD_NAME_GENERATED](ItemClassIdentifiers#FIELD_NAME_GENERATED) instead of            [ItemClassIdentifiers#FIELD_NAME](ItemClassIdentifiers#FIELD_NAME)

## Method: getAccessFlags
- return type: `int`

Description: 
return: 

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

Description: 
return: 

## Method: getClassType
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaType`

Description: 
return: 

## Method: getInitialValue
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaExpression`

Description: Get the static initialization value, if any. Only for static fields.
return: the initial value, or null if none

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

Description: Get the original field name.
return: the name

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

Description: Get the field signature. Convenience routine. 

 Format: `classSignature-\>fieldName:type`
return: the field signature, or null for the pseudo\-fields "\[\].length" and "Class.class"

## Method: getType
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaType`

Description: Get the field type.
return: the type string

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

Description: Determine whether or not this field is static.
return: true if static

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

Description: 
return: 

