Package | Description |
---|---|
net.bytebuddy.implementation |
The implementation package contains any logic for intercepting method calls.
|
Modifier and Type | Method and Description |
---|---|
static MethodAccessorFactory.AccessType |
MethodAccessorFactory.AccessType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MethodAccessorFactory.AccessType[] |
MethodAccessorFactory.AccessType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
MethodDescription.InDefinedShape |
MethodAccessorFactory.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation,
MethodAccessorFactory.AccessType accessType)
Registers an accessor method for a
Implementation.SpecialMethodInvocation which cannot itself be
triggered invoked directly from outside a type. |
MethodDescription.InDefinedShape |
MethodAccessorFactory.Illegal.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation,
MethodAccessorFactory.AccessType accessType)
Registers an accessor method for a
Implementation.SpecialMethodInvocation which cannot itself be
triggered invoked directly from outside a type. |
MethodDescription.InDefinedShape |
Implementation.Context.Disabled.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation,
MethodAccessorFactory.AccessType accessType)
Registers an accessor method for a
Implementation.SpecialMethodInvocation which cannot itself be
triggered invoked directly from outside a type. |
MethodDescription.InDefinedShape |
Implementation.Context.Default.registerAccessorFor(Implementation.SpecialMethodInvocation specialMethodInvocation,
MethodAccessorFactory.AccessType accessType)
Registers an accessor method for a
Implementation.SpecialMethodInvocation which cannot itself be
triggered invoked directly from outside a type. |
MethodDescription.InDefinedShape |
MethodAccessorFactory.registerGetterFor(FieldDescription fieldDescription,
MethodAccessorFactory.AccessType accessType)
Registers a getter for the given
FieldDescription which might
itself not be accessible from outside the class. |
MethodDescription.InDefinedShape |
MethodAccessorFactory.Illegal.registerGetterFor(FieldDescription fieldDescription,
MethodAccessorFactory.AccessType accessType)
Registers a getter for the given
FieldDescription which might
itself not be accessible from outside the class. |
MethodDescription.InDefinedShape |
Implementation.Context.Disabled.registerGetterFor(FieldDescription fieldDescription,
MethodAccessorFactory.AccessType accessType)
Registers a getter for the given
FieldDescription which might
itself not be accessible from outside the class. |
MethodDescription.InDefinedShape |
Implementation.Context.Default.registerGetterFor(FieldDescription fieldDescription,
MethodAccessorFactory.AccessType accessType)
Registers a getter for the given
FieldDescription which might
itself not be accessible from outside the class. |
MethodDescription.InDefinedShape |
MethodAccessorFactory.registerSetterFor(FieldDescription fieldDescription,
MethodAccessorFactory.AccessType accessType)
Registers a setter for the given
FieldDescription which might
itself not be accessible from outside the class. |
MethodDescription.InDefinedShape |
MethodAccessorFactory.Illegal.registerSetterFor(FieldDescription fieldDescription,
MethodAccessorFactory.AccessType accessType)
Registers a setter for the given
FieldDescription which might
itself not be accessible from outside the class. |
MethodDescription.InDefinedShape |
Implementation.Context.Disabled.registerSetterFor(FieldDescription fieldDescription,
MethodAccessorFactory.AccessType accessType)
Registers a setter for the given
FieldDescription which might
itself not be accessible from outside the class. |
MethodDescription.InDefinedShape |
Implementation.Context.Default.registerSetterFor(FieldDescription fieldDescription,
MethodAccessorFactory.AccessType accessType)
Registers a setter for the given
FieldDescription which might
itself not be accessible from outside the class. |
protected abstract Implementation.Context.Default.DelegationRecord |
Implementation.Context.Default.DelegationRecord.with(MethodAccessorFactory.AccessType accessType)
Returns this delegation record with the minimal visibility represented by the supplied access type.
|
protected Implementation.Context.Default.DelegationRecord |
Implementation.Context.Default.AccessorMethodDelegation.with(MethodAccessorFactory.AccessType accessType) |
protected Implementation.Context.Default.DelegationRecord |
Implementation.Context.Default.FieldGetterDelegation.with(MethodAccessorFactory.AccessType accessType) |
protected Implementation.Context.Default.DelegationRecord |
Implementation.Context.Default.FieldSetterDelegation.with(MethodAccessorFactory.AccessType accessType) |
Constructor and Description |
---|
AccessorMethodDelegation(TypeDescription instrumentedType,
String suffix,
MethodAccessorFactory.AccessType accessType,
Implementation.SpecialMethodInvocation specialMethodInvocation)
Creates a delegation to an accessor method.
|
FieldGetterDelegation(TypeDescription instrumentedType,
String suffix,
MethodAccessorFactory.AccessType accessType,
FieldDescription fieldDescription)
Creates a new field getter implementation.
|
FieldSetterDelegation(TypeDescription instrumentedType,
String suffix,
MethodAccessorFactory.AccessType accessType,
FieldDescription fieldDescription)
Creates a new field setter implementation.
|
Copyright © 2014–2020. All rights reserved.