| Modifier and Type | Class and Description |
|---|---|
| public static class | ConstructorCallStackManipulation.
To be used when a reference to java.lang.reflect.Constructor needs to be invoked |
| public static class | |
| public abstract static class | ConstructorCallStackManipulation.
To be used when we need to call a constructor of the instrumented type |
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public StackManipulation. | apply(MethodVisitor methodVisitor, Implementation.
Implements net. Applies the stack manipulation that is described by this instance. |
| public abstract MethodDescription. | |
| public abstract TypeDescription | |
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public int | |
| public boolean | isValid()
Implements net. Determines if this stack manipulation is valid. |
| constructorArgumentLoadingOperations | back to summary |
|---|---|
| private final List<StackManipulation> constructorArgumentLoadingOperations | |
| ConstructorCallStackManipulation | back to summary |
|---|---|
| public ConstructorCallStackManipulation() | |
| ConstructorCallStackManipulation | back to summary |
|---|---|
| public ConstructorCallStackManipulation(StackManipulation... constructorArgumentLoadingOperations) | |
| ConstructorCallStackManipulation | back to summary |
|---|---|
| public ConstructorCallStackManipulation(List<StackManipulation> constructorArgumentLoadingOperations) | |
| apply | back to summary |
|---|---|
| public StackManipulation. Implements net. Doc from net. Applies the stack manipulation that is described by this instance.
| |
| determineConstructor | back to summary |
|---|---|
| public abstract MethodDescription. | |
| determineTypeDescription | back to summary |
|---|---|
| public abstract TypeDescription determineTypeDescription(Implementation. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| isValid | back to summary |
|---|---|
| public boolean isValid() Implements net. Doc from net. Determines if this stack manipulation is valid.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Constructor | |
| private final TypeDescription |
| Access | Constructor and Description |
|---|---|
| public | |
| public | KnownConstructorOfExistingType(Constructor<?> ctor, StackManipulation... constructorArgumentLoadingOperations)
|
| public | KnownConstructorOfExistingType(Constructor<?> ctor, List<StackManipulation> constructorArgumentLoadingOperations)
|
| Modifier and Type | Method and Description |
|---|---|
| public MethodDescription. | |
| public TypeDescription | determineTypeDescription(Implementation.
Implements abstract tools.
|
| public boolean | equals(Object o)
Overrides tools. Indicates whether some other object is "equal to" this one. |
| public int | hashCode()
Overrides tools. Returns a hash code value for this object. |
| ctor | back to summary |
|---|---|
| private final Constructor<?> ctor | |
| typeDescription | back to summary |
|---|---|
| private final TypeDescription typeDescription | |
| KnownConstructorOfExistingType | back to summary |
|---|---|
| public KnownConstructorOfExistingType(Constructor<?> ctor) | |
| KnownConstructorOfExistingType | back to summary |
|---|---|
| public KnownConstructorOfExistingType(Constructor<?> ctor, StackManipulation... constructorArgumentLoadingOperations) | |
| KnownConstructorOfExistingType | back to summary |
|---|---|
| public KnownConstructorOfExistingType(Constructor<?> ctor, List<StackManipulation> constructorArgumentLoadingOperations) | |
| determineConstructor | back to summary |
|---|---|
| public MethodDescription. Implements abstract tools.
| |
| determineTypeDescription | back to summary |
|---|---|
| public TypeDescription determineTypeDescription(Implementation. Implements abstract tools.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides tools. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides tools. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| Modifier and Type | Field and Description |
|---|---|
| private final MethodDescription. | |
| private final TypeDescription |
| Access | Constructor and Description |
|---|---|
| public | |
| public | KnownInDefinedShapeOfExistingType(MethodDescription.
|
| public | KnownInDefinedShapeOfExistingType(MethodDescription.
|
| Modifier and Type | Method and Description |
|---|---|
| public MethodDescription. | |
| public TypeDescription | determineTypeDescription(Implementation.
Implements abstract tools.
|
| public boolean | equals(Object o)
Overrides tools. Indicates whether some other object is "equal to" this one. |
| public int | hashCode()
Overrides tools. Returns a hash code value for this object. |
| ctor | back to summary |
|---|---|
| private final MethodDescription. | |
| typeDescription | back to summary |
|---|---|
| private final TypeDescription typeDescription | |
| KnownInDefinedShapeOfExistingType | back to summary |
|---|---|
| public KnownInDefinedShapeOfExistingType(MethodDescription. | |
| KnownInDefinedShapeOfExistingType | back to summary |
|---|---|
| public KnownInDefinedShapeOfExistingType(MethodDescription. | |
| KnownInDefinedShapeOfExistingType | back to summary |
|---|---|
| public KnownInDefinedShapeOfExistingType(MethodDescription. | |
| determineConstructor | back to summary |
|---|---|
| public MethodDescription. Implements abstract tools.
| |
| determineTypeDescription | back to summary |
|---|---|
| public TypeDescription determineTypeDescription(Implementation. Implements abstract tools.
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides tools. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides tools. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| Modifier and Type | Class and Description |
|---|---|
| public static class | ConstructorCallStackManipulation.
To be used when we need to call the only constructor of the instrumented type that takes a single argument |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public MethodDescription. | determineConstructor(TypeDescription typeDescription)
Implements abstract tools.
|
| public TypeDescription | determineTypeDescription(Implementation.
Implements abstract tools.
|
| pack-priv abstract MethodDescription. |
| OfInstrumentedType | back to summary |
|---|---|
| public OfInstrumentedType() | |
| OfInstrumentedType | back to summary |
|---|---|
| public OfInstrumentedType(StackManipulation... constructorArgumentLoadingOperations) | |
| OfInstrumentedType | back to summary |
|---|---|
| public OfInstrumentedType(List<StackManipulation> constructorArgumentLoadingOperations) | |
| determineConstructor | back to summary |
|---|---|
| public MethodDescription. Implements abstract tools.
| |
| determineTypeDescription | back to summary |
|---|---|
| public TypeDescription determineTypeDescription(Implementation. Implements abstract tools.
| |
| pickConstructor | back to summary |
|---|---|
| pack-priv abstract MethodDescription. | |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv MethodDescription. |
| OneArg | back to summary |
|---|---|
| public OneArg() | |
| OneArg | back to summary |
|---|---|
| public OneArg(StackManipulation... constructorArgumentLoadingOperations) | |
| OneArg | back to summary |
|---|---|
| public OneArg(List<StackManipulation> constructorArgumentLoadingOperations) | |
| pickConstructor | back to summary |
|---|---|
| pack-priv MethodDescription. Implements abstract tools.
| |