| Modifier and Type | Field and Description |
|---|---|
protected org.hibernate.bytecode.enhance.internal.bytebuddy.ByteBuddyEnhancementContext |
enhancementContext |
| Constructor and Description |
|---|
EnhancerImpl(EnhancementContext enhancementContext)
Constructs the Enhancer, using the given context.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
enhance(java.lang.String className,
byte[] originalBytes)
Performs the enhancement.
|
protected final org.hibernate.bytecode.enhance.internal.bytebuddy.ByteBuddyEnhancementContext enhancementContext
public EnhancerImpl(EnhancementContext enhancementContext)
enhancementContext - Describes the context in which enhancement will occur so as to give access
to contextual/environmental information.public byte[] enhance(java.lang.String className,
byte[] originalBytes)
throws EnhancementException
enhance in interface EnhancerclassName - The name of the class whose bytecode is being enhanced.originalBytes - The class's original (pre-enhancement) byte codeEnhancementException - Indicates a problem performing the enhancementCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.