All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.reprezen.genflow.openapi3.doc.Activation Maven / Gradle / Ivy

package com.reprezen.genflow.openapi3.doc;

import com.reprezen.genflow.openapi3.doc.RecursionHelper;

@SuppressWarnings("all")
public class Activation implements AutoCloseable {
  private final RecursionHelper helper;
  
  private final Object obj;
  
  public Activation(final Object obj, final RecursionHelper helper) {
    this.helper = helper;
    this.obj = obj;
    helper.activate(obj);
  }
  
  @Override
  public void close() {
    this.helper.deactivate(this.obj);
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy