FieldContext fieldContext = (FieldContext) context;
elements.add(fieldContext.getJavaField().getName());
}
else if (context instanceof ClassContext) {
ClassContext classContext = (ClassContext) context;
elements.add(classContext.getJavaClass().getSimpleName());
// trigger creation of a RuleBuilder
context.getRuleBuilder();
}