001package io.ebean.enhance.entity;
002
003import io.ebean.enhance.asm.MethodVisitor;
004
005/**
006 * Bytecode instructions that are held/deferred so that they can be removed
007 * entirely if desired (initialisation of OneToMany and ManyToMany properties).
008 */
009public interface DeferredCode {
010
011  /**
012   * Write the bytecode to the method visitor.
013   * <p>
014   * Called when it is deemed the instructions should not be removed.
015   * </p>
016   */
017  void write(MethodVisitor mv);
018
019}