M201370367 / javaparser

Automatically exported from code.google.com/p/javaparser
0 stars 0 forks source link

Annotation parameters parsing failed when having nested/reoccurring patterns #62

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

The following annotation will produce erratic parsing output:

@JoinTable(name = "TABLE1", joinColumns = 
  @JoinColumn(name = "ID1"), inverseJoinColumns = 
  @JoinColumn(name = "ID2"))
private Set<IbnrMethodWeightDO> methodWeights = new 
HashSet<IbnrMethodWeightDO>();

What is the expected output? What do you see instead?
The annotation "JoinTable" contains the correct key/value pairs. but they 
don't. It seems that the parser doesn't like nested or reoccurring patterns in 
the parameter list.

What version of the product are you using? On what operating system?
1.0.9

Please provide any additional information below.
n/a

Original issue reported on code.google.com by bernd.go...@gmail.com on 29 May 2013 at 4:21

GoogleCodeExporter commented 9 years ago
Could you provide a test reproducing this problem?
I did a simple test here and it is working just fine with the example you have 
provided.

Original comment by jges...@gmail.com on 31 May 2013 at 1:19

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I just now found the issue in our own code. Sorry for the confusion and the 
inconvenience. Not an issue.

Original comment by bernd.go...@gmail.com on 1 Jun 2013 at 11:57

GoogleCodeExporter commented 9 years ago
All right bernd.goetz.

Issue closed!

Original comment by jges...@gmail.com on 2 Jun 2013 at 1:58