[Bug] Issue when the class from a custom namespace has been declared as an array type.
Open
- Dominant language
- Java
- Stars
- 2k
- Forks
- 392
- Avg merge
- 11h 24m
- Merged PRs (30d)
- 36
Description
The namespace from the original source code is getting replaced with some invalid namespace when we declare the class as an array type.
Input:
```com.ibm.ws.webservices.engine.description.ParameterDesc[] _params0 = new com.ibm.ws.webservices.engine.description.ParameterDesc[] {};```
Actual:
```_class_pkgname_ _params0 = new org.jboss.axis.description.ParameterDesc[] {};```
Expected:
```com.ibm.ws.webservices.engine.description.ParameterDesc[] _params0 = new org.jboss.axis.description.ParameterDesc[] {};```
Note:
We are using snipper pretty printer from spoon.
* OS: Windows 10
* JDK: 11
* Spoon version: 10.0.1
Contributor guide
Assessment
This issue has not been assessed yet.