How i can add @Override
annotation to my method using codeModel?
JMethod update = classe.method(JMod.PUBLIC, void.class,"update");
update.annotate(?);
i didn't find the @Override
Class.
How i can add @Override
annotation to my method using codeModel?
JMethod update = classe.method(JMod.PUBLIC, void.class,"update");
update.annotate(?);
i didn't find the @Override
Class.
This is how I annotate override annotation on an overridden method using code model.
PS: : a late reply, may help other who find the same problem.