cpw.mods.fml.common

## Interface IASMHook

-     public interface IASMHook

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ClassNode[]` | `inject(ClassNode modClassNode)` Inject the `Mod` class node into this instance.
    `void` | `modifyClass(String className, ClassNode node)` Allow mods to manipulate classes loaded from this `Mod`'s jar file.

- - ### Method Detail

    - #### inject

          ClassNode[] inject(ClassNode modClassNode)

      Inject the `Mod` class node into this instance. This allows retrieval from custom attributes or other artifacts in your mod class
      Parameters:
        `modClassNode` - The mod class
      Returns:
        optionally some code generated classes that will be injected into the classloader

    - #### modifyClass

          void modifyClass(String className,
                         ClassNode node)

      Allow mods to manipulate classes loaded from this `Mod`'s jar file. The `Mod` class is always guaranteed to be called first. The node state should be changed in place.
      Parameters:
        `node` - The class being loaded