| Package | Description | 
|---|---|
| net.bytebuddy.implementation | The implementation package contains any logic for intercepting method calls. | 
| Modifier and Type | Class and Description | 
|---|---|
| static class  | MethodCall.WithoutSpecifiedTargetRepresents a  MethodCallthat invokes a method without specifying
 an invocation method. | 
| Modifier and Type | Method and Description | 
|---|---|
| static MethodCall | MethodCall. construct(Constructor<?> constructor)Invokes the given constructor in order to create an instance. | 
| static MethodCall | MethodCall. construct(MethodDescription methodDescription)Invokes the given constructor in order to create an instance. | 
| static MethodCall | MethodCall. invokeSuper()Invokes the method that is instrumented by the returned instance by a super method invocation. | 
| MethodCall | MethodCall.WithoutSpecifiedTarget. on(Object target)Invokes the specified method on the given instance. | 
| MethodCall | MethodCall.WithoutSpecifiedTarget. onArgument(int index)Invokes the specified method on the instrumented method's argument of the given index. | 
| MethodCall | MethodCall.WithoutSpecifiedTarget. onDefault()Invokes the given method by a Java 8default method invocation on the instance of the instrumented type. | 
| MethodCall | MethodCall.WithoutSpecifiedTarget. onInstanceField(TypeDescription.Generic typeDescription,
               String fieldName)Invokes the given method on an instance that is stored in an instance field. | 
| MethodCall | MethodCall.WithoutSpecifiedTarget. onInstanceField(Type type,
               String fieldName)Invokes the given method on an instance that is stored in an instance field. | 
| MethodCall | MethodCall.WithoutSpecifiedTarget. onSuper()Invokes the given method by a super method invocation on the instance of the instrumented type. | 
| MethodCall | MethodCall. with(EnumerationDescription... enumerationDescription)Defines the given enumeration values to be provided as arguments to the invoked method where the values
 are read from the enumeration class on demand. | 
| MethodCall | MethodCall. with(JavaConstant... javaConstant)Defines the given Java instances to be provided as arguments to the invoked method where the given
 instances are stored in the generated class's constant pool. | 
| MethodCall | MethodCall. with(Object... argument)Defines a number of arguments to be handed to the method that is being invoked by this implementation. | 
| MethodCall | MethodCall. with(TypeDescription... typeDescription)Defines the given types to be provided as arguments to the invoked method where the represented types
 are stored in the generated class's constant pool. | 
| MethodCall | MethodCall. withAllArguments()Adds all arguments of the instrumented method as arguments to the invoked method to this method call. | 
| MethodCall | MethodCall. withArgument(int... index)Defines a number of arguments of the instrumented method by their parameter indices to be handed
 to the invoked method as an argument. | 
| MethodCall | MethodCall. withAssigner(Assigner assigner,
            Assigner.Typing typing)Defines an assigner to be used for assigning values to the parameters of the invoked method. | 
| MethodCall | MethodCall. withField(String... fieldName)Defines a method call which fetches a value from an existing field. | 
| MethodCall | MethodCall. withInstanceField(TypeDefinition typeDefinition,
                 String name)Defines a method call which fetches a value from an instance field. | 
| MethodCall | MethodCall. withInstanceField(Type type,
                 String name)Defines a method call which fetches a value from an instance field. | 
| MethodCall | MethodCall. withOwnType()Assigns the  Classvalue of the instrumented type. | 
| MethodCall | MethodCall. withReference(Object... argument)Defines a number of arguments to be handed to the method that is being invoked by this implementation. | 
| MethodCall | MethodCall. withThis()Assigns the  thisreference to the next parameter. | 
Copyright © 2014–2016. All rights reserved.