public interface

IJavaAnnotationElement

implements IJavaElement
com.pnfsoftware.jeb.core.units.code.java.IJavaAnnotationElement

Class Overview

Java AST interface to represent a Java annotation element.

Example:

 @SomeAnnotation(name = "foo")
                 ^^^^^^^^^^^^
 

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement
Public Methods
abstract IJavaAnnotationElement duplicate()
Duplicate this element.
abstract IJavaConstant getName()
Get the element name.
abstract IJavaExpression getValue()
Get the element value.
abstract void setName(IJavaConstant name)
abstract void setValue(IJavaExpression value)
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement

Public Methods

public abstract IJavaAnnotationElement duplicate ()

Duplicate this element.

Returns
  • a (possibly) duplicated object of the same type

public abstract IJavaConstant getName ()

Get the element name.

Returns
  • a constant string

public abstract IJavaExpression getValue ()

Get the element value.

public abstract void setName (IJavaConstant name)

public abstract void setValue (IJavaExpression value)