| Modifier and Type | Class and Description |
|---|---|
| protected static class | TypeReferenceAdjustment.TypeReferenceClassVisitor
A class visitor that collects all type references and all inner class references. |
| Modifier and Type | Field and Description |
|---|---|
| private final ElementMatcher. | filter
A filter for excluding types from type reference analysis. |
| private final boolean | strict
|
| Access | Constructor and Description |
|---|---|
| protected | TypeReferenceAdjustment(boolean
true if the visitor should throw an exception if a type reference cannot be located.A filter for excluding types from type reference analysis. filterCreates a type reference adjustment. |
| Modifier and Type | Method and Description |
|---|---|
| public TypeReferenceAdjustment | Returns: A new type reference adjustment that uses the supplied filter for excluding types.A filter for excluding types from the attribute generation. filter)Excludes all matched types from being added as an attribute. |
| public static TypeReferenceAdjustment | Returns: A relaxed type reference adjustment.Creates a strict type reference adjustment that ignores type references that cannot be resolved in the supplied type pool. |
| public static TypeReferenceAdjustment | Returns: A strict type reference adjustment.Creates a strict type reference adjustment that throws an exception if a type reference cannot be resolved in the supplied type pool. |
| public ClassVisitor | wrap(TypeDescription
The instrumented type. instrumentedType, ClassVisitor A classVisitor, Implementation.ClassVisitor to become the new primary class visitor to which the created
net. is written to.The implementation context of the current instrumentation. implementationContext,The type pool that was provided for the class creation. typePool, FieldList<FieldDescription.The instrumented type's fields. fields,The instrumented type's methods non-ignored declared and virtually inherited methods. methods, int The ASM writerFlags, int net. flags to consider.The ASM readerFlags)net. flags to consider.Implements net. ClassVisitorWrapper to the creation of a net..
|