public interface

IJavaField

implements INonStatement
com.pnfsoftware.jeb.core.units.code.java.IJavaField

Class Overview

Java AST interface to represent Java fields.

Summary

Public Methods
abstract List<? extends IJavaAnnotation> getAnnotations()
abstract IJavaExpression getInitialValue()
Get the static initialization value, if any.
abstract String getName()
Get the original field name.
abstract String getSignature()
Get the field signature.
abstract IJavaType getType()
Get the field type.
abstract boolean isStatic()
Determine whether or not this field is static.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement

Public Methods

public abstract List<? extends IJavaAnnotation> getAnnotations ()

public abstract IJavaExpression getInitialValue ()

Get the static initialization value, if any. Only for static fields.

Returns
  • the initial value, or null if none

public abstract String getName ()

Get the original field name.

Returns
  • the name

public abstract String getSignature ()

Get the field signature. Convenience routine.

Format: classSignature->fieldName:type

Returns
  • the field signature, or null for the pseudo-fields "[].length" and "Class.class"

public abstract IJavaType getType ()

Get the field type.

Returns
  • the type string

public abstract boolean isStatic ()

Determine whether or not this field is static.

Returns
  • true if static