@Override
public void process(ClassContext context, Resource annotation, HandlerChain chain)
{
if (context instanceof FieldContext) {
FieldContext fieldContext = (FieldContext) context;
elements.add(fieldContext.getJavaField().getName());
}
else if (context instanceof ClassContext) {
ClassContext classContext = (ClassContext) context;
elements.add(classContext.getJavaClass().getSimpleName());