Description
From Jon;
In JavacElements, round about line 175, why do you use getSimpleName? If you're comparing against the flatname, don't you want the full name of the class?
In JavacElements:
String annoTypeName = annoType.getSimpleName();
String containerTypeName = containerType.getSimpleName();
Later we have:
if (annoTypeName.equals(rawAttributes[i].type.tsym.flatName().toString())) {
and:
containerTypeName.equals(rawAttributes[i].type.tsym.flatName().toString())) {
In JavacElements, round about line 175, why do you use getSimpleName? If you're comparing against the flatname, don't you want the full name of the class?
In JavacElements:
String annoTypeName = annoType.getSimpleName();
String containerTypeName = containerType.getSimpleName();
Later we have:
if (annoTypeName.equals(rawAttributes[i].type.tsym.flatName().toString())) {
and:
containerTypeName.equals(rawAttributes[i].type.tsym.flatName().toString())) {
Attachments
Issue Links
- relates to
-
JDK-7193719 Support repeating annotations in javax.lang.model
- Closed