Package org.apache.tapestry5.plastic

## Interface PlasticClassTransformation<T>

- Type Parameters:
    `T` - the type being generated.
  All Known Subinterfaces:
    `InternalPlasticClassTransformation`
  All Known Implementing Classes:
    `PlasticClassImpl`

      public interface PlasticClassTransformation<T>

  A wrapper around a `PlasticClass` that allows the class to be converted into a concrete class, once all transformations are complete.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ClassInstantiator<T>` | `createInstantiator()` | Terminates the class transformation process, finishes any final bookkeeping, and returns an object used to instantiate the transformed class.
    `PlasticClass` | `getPlasticClass()` | Returns the PlasticClass being transformed.

- - ### Method Detail

    - #### getPlasticClass

          PlasticClass getPlasticClass()

      Returns the PlasticClass being transformed.
      Returns:
        PlasticClass instance

    - #### createInstantiator

          ClassInstantiator<T> createInstantiator()

      Terminates the class transformation process, finishes any final bookkeeping, and returns an object used to instantiate the transformed class. Once this method is invoked, no other methods of the `PlasticClass` (or related objects) can be invoked. The returned ClassInstantiator has an empty `InstanceContext` map. Use `ClassInstantiator.with(Class, Object)` to create a new ClassInstantiator with new InstanceContext entries.