public interface

IJavaNew

implements IJavaExpression IStatement
com.pnfsoftware.jeb.core.units.code.java.IJavaNew

Class Overview

Java AST interface to represent the instantiation of a new non-array object.

Summary

Public Methods
abstract List<? extends IJavaExpression> getArguments()
Get the constructor arguments.
abstract IJavaMethod getConstructor()
Get the constructor method used in this new statement.
abstract String getConstructorName()
Get the original constructor simple name.
abstract String getConstructorSignature()
Get the original constructor jvm name (fully qualified canonical name).
abstract IJavaMethod getMethod()
This method is deprecated. use getConstructor()
abstract IJavaType getType()
Get the type of object being instantiated.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement

Public Methods

public abstract List<? extends IJavaExpression> getArguments ()

Get the constructor arguments.

Returns
  • the list of arguments

public abstract IJavaMethod getConstructor ()

Get the constructor method used in this new statement.

Returns
  • the constructor method

public abstract String getConstructorName ()

Get the original constructor simple name.

public abstract String getConstructorSignature ()

Get the original constructor jvm name (fully qualified canonical name).

public abstract IJavaMethod getMethod ()

This method is deprecated.
use getConstructor()

Get the constructor method used in this new statement.

Returns
  • the constructor method

public abstract IJavaType getType ()

Get the type of object being instantiated.

Returns
  • the type string