| Package | Description |
|---|---|
| com.avaje.ebean.enhance.agent |
Used to weave Entity beans
|
| com.avaje.ebean.enhance.asm |
Provides a small and fast bytecode manipulation framework.
|
| com.avaje.ebean.enhance.asm.commons |
Provides some useful class and method adapters.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ClassAdapterEntity
ClassAdapter for enhancing entities.
|
class |
ClassAdapterTransactional
ClassAdapter used to add transactional support.
|
class |
ClassMetaReaderVisitor
Used by ClassMetaReader to read information about a class.
|
class |
CLAwareClassWriter
ClassWriter that uses a specific ClassLoader.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DefaultConstructor.add(ClassVisitor cw,
ClassMeta classMeta)
Adds a default constructor.
|
static void |
InterceptField.addField(ClassVisitor cv,
boolean transientInternalFields)
Add the _ebean_intercept field.
|
static String |
MarkerField.addField(ClassVisitor cv,
String className)
Add the _EBEAN_MARKER field.
|
void |
ClassMeta.addFieldGetSetMethods(ClassVisitor cv)
Add field level get set methods for each field.
|
static void |
MarkerField.addGetMarker(ClassVisitor cv,
String className)
Generate the _ebean_getMarker() method.
|
static void |
IndexFieldWeaver.addGetPropertyName(ClassVisitor cv,
ClassMeta classMeta) |
static void |
IndexFieldWeaver.addGetPropertyNames(ClassVisitor cv,
ClassMeta classMeta) |
void |
FieldMeta.addGetSetMethods(ClassVisitor cv,
ClassMeta classMeta)
Add get and set methods for field access/interception.
|
static void |
InterceptField.addGetterSetter(ClassVisitor cv,
String className)
Generate the _ebean_getIntercept() method.
|
static void |
MethodEquals.addIdentityField(ClassVisitor cv)
The identity field used for implementing equals via the
_ebean_getIdentity() method.
|
static void |
MethodIsEmbeddedNewOrDirty.addMethod(ClassVisitor cv,
ClassMeta classMeta)
Generate the _ebean_isEmbeddedNewOrDirty() method.
|
static void |
MethodPropertyChangeListener.addMethod(ClassVisitor cv,
ClassMeta classMeta)
Add the addPropertyChangeListener and removePropertyChangeListener methods.
|
static void |
MethodNewInstance.addMethod(ClassVisitor cv,
ClassMeta classMeta)
Add the _ebean_newInstance() method.
|
static void |
MethodSetEmbeddedLoaded.addMethod(ClassVisitor cv,
ClassMeta classMeta)
Generate the _ebean_setEmbeddedLoaded() method.
|
static void |
IndexFieldWeaver.addMethods(ClassVisitor cv,
ClassMeta classMeta) |
static void |
MethodEquals.addMethods(ClassVisitor cv,
ClassMeta meta,
int idFieldIndex,
FieldMeta idFieldMeta)
Adds equals(), hashCode() and _ebean_getIdentity() methods.
|
static void |
IndexFieldWeaver.addPropertiesField(ClassVisitor cv) |
static void |
IndexFieldWeaver.addPropertiesInit(ClassVisitor cv,
ClassMeta classMeta) |
| Constructor and Description |
|---|
ClassAdapterEntity(ClassVisitor cv,
ClassLoader classLoader,
EnhanceContext context) |
ClassAdapterTransactional(ClassVisitor cv,
ClassLoader classLoader,
EnhanceContext context) |
| Modifier and Type | Class and Description |
|---|---|
class |
ClassWriter
A
ClassVisitor that generates classes in bytecode form. |
| Modifier and Type | Field and Description |
|---|---|
protected ClassVisitor |
ClassVisitor.cv
The class visitor to which this visitor must delegate method calls.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ClassReader.accept(ClassVisitor classVisitor,
Attribute[] attrs,
int flags)
Makes the given visitor visit the Java class of this
org.objectweb.asm.ClassReader. |
void |
ClassReader.accept(ClassVisitor classVisitor,
int flags)
Makes the given visitor visit the Java class of this
org.objectweb.asm.ClassReader
. |
| Constructor and Description |
|---|
ClassVisitor(int api,
ClassVisitor cv)
Constructs a new
org.objectweb.asm.ClassVisitor. |
| Constructor and Description |
|---|
GeneratorAdapter(int access,
Method method,
String signature,
Type[] exceptions,
ClassVisitor cv)
Creates a new
GeneratorAdapter. |
Copyright © 2016. All rights reserved.