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

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

 Example:  

```

 x = new SomeObject(...);
     ^^^^^^^^^^^^^^^^^^^
 
```

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


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

Description: Get the constructor arguments.
return: the list of arguments

## Method: getConstructor
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaMethod`

Description: Get the constructor method used in this new statement.
return: the constructor method

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

Description: Get the original constructor simple name.
return: 

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

Description: Get the original constructor jvm name \(fully qualified canonical name\).
return: 

## Method: getGeneratedAnonymousClass
- parameter: `out`, type: `com.pnfsoftware.jeb.core.units.code.java.JavaOutputSink`
- parameter: `aAnonArgStart`, type: `int[]`
- return type: `com.pnfsoftware.jeb.core.units.code.java.IJavaClass`

Description: Reserved for internal use.
parameter: out: 
parameter: aAnonArgStart: 
return: 

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

Description: Get the type of object being instantiated.
return: the type string

