Package: org.codehaus.groovy.macro.runtime

## [Java] Enum MacroStub

- org.codehaus.groovy.macro.runtime.MacroStub

-     public enum MacroStub

  Stub for macro calls.

  Since:
    2.5.0

- - ### Enum Constants Summary

    Enum constants classes
    Enum constant | Description
    --- | ---
    `INSTANCE` | Shared macro stub instance.

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `<T>` | `public T` | `macroMethod(T obj)` Returns the transformed macro value at runtime.

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class Object` | `equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Enum Constant Detail

    - #### MacroStub INSTANCE

      Shared macro stub instance.

  - ### Method Detail

    - #### <T> public T macroMethod(T obj)

      Returns the transformed macro value at runtime.

      Parameters:
        `obj` - the macro result
      Type Parameters:
        `T` - the macro result type
      Returns:
        `obj`