protected static class TypeProxy.SilentConstruction.Appender extends Object implements ByteCodeAppender
TypeProxy.SilentConstruction.ByteCodeAppender.Compound, ByteCodeAppender.Simple, ByteCodeAppender.Size| Modifier and Type | Field and Description |
|---|---|
static String |
GET_DECLARED_CONSTRUCTOR_METHOD_DESCRIPTOR
The descriptor of the
Class.getDeclaredClasses() method. |
static String |
GET_DECLARED_CONSTRUCTOR_METHOD_NAME
The internal name of the
Class.getDeclaredClasses() method. |
static String |
GET_REFLECTION_FACTORY_METHOD_DESCRIPTOR
The descriptor of the factory method for getting hold of an instance of the reflection factory class.
|
static String |
GET_REFLECTION_FACTORY_METHOD_NAME
The name of the factory method for getting hold of an instance of the reflection factory class.
|
static String |
JAVA_LANG_CLASS_INTERNAL_NAME
The internal name of the
Class class. |
static String |
JAVA_LANG_CONSTRUCTOR_INTERNAL_NAME
The internal name of the
Constructor class. |
static String |
JAVA_LANG_OBJECT_DESCRIPTOR
The descriptor of the
Object class. |
static String |
JAVA_LANG_OBJECT_INTERNAL_NAME
The internal name of the
Object class. |
static String |
NEW_CONSTRUCTOR_FOR_SERIALIZATION_METHOD_DESCRIPTOR
The descriptor of the method for creating a new serialization constructor.
|
static String |
NEW_CONSTRUCTOR_FOR_SERIALIZATION_METHOD_NAME
The name of the method for creating a new serialization constructor.
|
static String |
NEW_INSTANCE_METHOD_DESCRIPTOR
The descriptor of the
Constructor.newInstance(Object...) method. |
static String |
NEW_INSTANCE_METHOD_NAME
The internal name of the
Constructor.newInstance(Object...) method. |
static String |
REFLECTION_FACTORY_INTERNAL_NAME
The internal name of the reflection factory class.
|
| Modifier and Type | Method and Description |
|---|---|
ByteCodeAppender.Size |
apply(MethodVisitor methodVisitor,
Implementation.Context implementationContext,
MethodDescription instrumentedMethod)
Applies this byte code appender to a type creation process.
|
boolean |
equals(Object other) |
int |
hashCode() |
String |
toString() |
public static final String REFLECTION_FACTORY_INTERNAL_NAME
public static final String GET_REFLECTION_FACTORY_METHOD_NAME
public static final String GET_REFLECTION_FACTORY_METHOD_DESCRIPTOR
public static final String NEW_CONSTRUCTOR_FOR_SERIALIZATION_METHOD_NAME
public static final String NEW_CONSTRUCTOR_FOR_SERIALIZATION_METHOD_DESCRIPTOR
public static final String JAVA_LANG_OBJECT_DESCRIPTOR
Object class.public static final String JAVA_LANG_OBJECT_INTERNAL_NAME
Object class.public static final String JAVA_LANG_CONSTRUCTOR_INTERNAL_NAME
Constructor class.public static final String NEW_INSTANCE_METHOD_NAME
Constructor.newInstance(Object...) method.public static final String NEW_INSTANCE_METHOD_DESCRIPTOR
Constructor.newInstance(Object...) method.public static final String JAVA_LANG_CLASS_INTERNAL_NAME
Class class.public static final String GET_DECLARED_CONSTRUCTOR_METHOD_NAME
Class.getDeclaredClasses() method.public static final String GET_DECLARED_CONSTRUCTOR_METHOD_DESCRIPTOR
Class.getDeclaredClasses() method.public ByteCodeAppender.Size apply(MethodVisitor methodVisitor, Implementation.Context implementationContext, MethodDescription instrumentedMethod)
ByteCodeAppenderapply in interface ByteCodeAppendermethodVisitor - The method visitor to which the byte code appender writes its code to.implementationContext - The implementation context of the current type creation process.instrumentedMethod - The method that is the target of the instrumentation.Copyright © 2014–2016. All rights reserved.