| Modifier and Type | Method and Description |
|---|---|
| public void | discoverTypes(String
The name of the class whose bytecode is being analyzed for type discovery. className, byte[] The class's original (pre-enhancement) byte code originalBytes)Discovers types prior to enhancement. |
| public byte[] |
| discoverTypes | back to summary |
|---|---|
| public void discoverTypes(String className, byte[] originalBytes) throws EnhancementException Discovers types prior to enhancement. It is possible to invoke this method concurrently.
| |
| enhance | back to summary |
|---|---|
| public byte[] enhance(String className, byte[] originalBytes) throws EnhancementException Performs the enhancement. It is possible to invoke this method concurrently, but when doing so make sure no two enhancement tasks are invoked on the same class in parallel: the Enhancer implementations are not required to guard against this.
| |