Fix element type of scanned child annotations
This commit is contained in:
parent
5e554530ac
commit
bdd0af5280
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ public class ModAnnotation
|
|||
}
|
||||
public ModAnnotation addChildAnnotation(String name, String desc)
|
||||
{
|
||||
ModAnnotation child = new ModAnnotation(ElementType.PARAMETER, Type.getType(desc), this);
|
||||
ModAnnotation child = new ModAnnotation(type, Type.getType(desc), this);
|
||||
addProperty(name, child.getValues());
|
||||
return child;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue