code: private <D extends Descriptor> void pushDesriptor(Class<D> type, D descriptor) {
          if (descriptor != null) {
              scannerContext.push(type, descriptor);
              scannerContext.setCurrentDescriptor(descriptor);
          }
      }
docs: Push the given descriptor with all it's types to the context.
  
  @param descriptor
  The descriptor.
  @param <D>
  The descriptor type.