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 getMethod()
Get the constructor method used in this new statement.
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 getMethod ()

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