org.apache.tapestry5.internal.plastic

## Class StaticContext

- java.lang.Object
- - org.apache.tapestry5.internal.plastic.StaticContext

-     public class StaticContext
      extends Object

  Stores static context information needed by a transformed PlasticClass; this includes data such as injections.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `StaticContext()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `StaticContext` | `dupe()` Duplicates this StaticContext, which is used when creating a subclass of a transformed class.
    `Object` | `get(int index)`
    `int` | `store(Object value)` Store a context value and return its index.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### StaticContext

          public StaticContext()

  - ### Method Detail

    - #### dupe

          public StaticContext dupe()

      Duplicates this StaticContext, which is used when creating a subclass of a transformed class.
      Returns:
        new StaticContext with the same values

    - #### store

          public int store(Object value)

      Store a context value and return its index.

    - #### get

          public Object get(int index)

${project.version} - Copyright © 2003-2015 The Apache Software Foundation.