com.devepos.adt.codesearch.model/src/com/devepos/adt/cst/model/codesearch/impl/CodeSearchPackage.java
/**
   * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon
   * which it depends.
   *
   * <p>
   * This method is used to initialize {@link ICodeSearchPackage#eINSTANCE} when that field is
   * accessed.
   * Clients should not invoke it directly. Instead, they should simply access that field to obtain
   * the package.
   * <!-- begin-user-doc -->
   * <!-- end-user-doc -->
   *
   * @see #eNS_URI
   * @see #createPackageContents()
   * @see #initializePackageContents()
   * @generated
   */
Creates, registers, and initializes the Package for this model, and for any others upon
which it depends.


This method is used to initialize  ICodeSearchPackage#eINSTANCE when that field is
accessed.
Clients should not invoke it directly. Instead, they should simply access that field to obtain
the package.


Creates registers and initializes the Package for this model and for any others upon which it depends . This method is used to initialize ICodeSearchPackage#eINSTANCE when that field is accessed . Clients should not invoke it directly . Instead they should simply access that field to obtain the package .
public static ICodeSearchPackage init() {
    if (isInited) {
      return (ICodeSearchPackage) EPackage.Registry.INSTANCE.getEPackage(
          ICodeSearchPackage.eNS_URI);
    }
    Object registeredCodeSearchPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
    CodeSearchPackage theCodeSearchPackage = registeredCodeSearchPackage instanceof CodeSearchPackage
        ? (CodeSearchPackage) registeredCodeSearchPackage
        : new CodeSearchPackage();
    isInited = true;
    IAdtBasePackage.eINSTANCE.eClass();
    IAdtCorePackage.eINSTANCE.eClass();
    IAtomPackage.eINSTANCE.eClass();
    XMLTypePackage.eINSTANCE.eClass();
    theCodeSearchPackage.createPackageContents();
    theCodeSearchPackage.initializePackageContents();
    theCodeSearchPackage.freeze();
    EPackage.Registry.INSTANCE.put(ICodeSearchPackage.eNS_URI, theCodeSearchPackage);
    return theCodeSearchPackage;
  }
public static ICodeSearchPackage init ( ) { if ( isInited ) { return ( ICodeSearchPackage ) EPackage . Registry . INSTANCE . getEPackage ( ICodeSearchPackage . eNS_URI ) ; } Object registeredCodeSearchPackage = EPackage . Registry . INSTANCE . get ( eNS_URI ) ; CodeSearchPackage theCodeSearchPackage = registeredCodeSearchPackage instanceof CodeSearchPackage ? ( CodeSearchPackage ) registeredCodeSearchPackage : new CodeSearchPackage ( ) ; isInited = true ; IAdtBasePackage . eINSTANCE . eClass ( ) ; IAdtCorePackage . eINSTANCE . eClass ( ) ; IAtomPackage . eINSTANCE . eClass ( ) ; XMLTypePackage . eINSTANCE . eClass ( ) ; theCodeSearchPackage . createPackageContents ( ) ; theCodeSearchPackage . initializePackageContents ( ) ; theCodeSearchPackage . freeze ( ) ; EPackage . Registry . INSTANCE . put ( ICodeSearchPackage . eNS_URI , theCodeSearchPackage ) ; return theCodeSearchPackage ; }
Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon
 which it depends.
Creates registers and initializes the <b > Package< / b > for this model and for any others upon which it depends .
// Obtain or create and register package // Initialize simple dependencies // Create package meta-data objects // Initialize created meta-data // Mark meta-data to indicate it can't be changed // Update the registry and return the package