Top Inners Constructors Methods
tools.jackson.module.mrbean

pack-priv final Class ByteBuddyBuilderUtil

extends Object
Class Inheritance
Imports
net.bytebuddy.dynamic.DynamicType, net.bytebuddy.implementation.MethodDelegation, net.bytebuddy.implementation.bind.annotation.Argument, .This, java.lang.reflect.Field, java.util.HashMap, .Random

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
ByteBuddyBuilderUtil.EqualsTarget

Used as ByteBuddy target for the 'equals' method Uses the declared Fields of the two objects to dynamically determine equality.

private static class
public static class
ByteBuddyBuilderUtil.HashCodeTarget

Used as ByteBuddy target for the 'hashCode' method Uses the declared Fields of the object to dynamically determine the hashCode value.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static DynamicType.Builder<?>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

ByteBuddyBuilderUtilback to summary
private ByteBuddyBuilderUtil()

Method Detail

createEqualsAndHashCodeback to summary
pack-priv static DynamicType.Builder<?> createEqualsAndHashCode(DynamicType.Builder<?> builder)
tools.jackson.module.mrbean back to summary

public Class ByteBuddyBuilderUtil.EqualsTarget

extends Object
Class Inheritance
  • java.lang.Object
  • tools.jackson.module.mrbean.ByteBuddyBuilderUtil.EqualsTarget

Used as ByteBuddy target for the 'equals' method Uses the declared Fields of the two objects to dynamically determine equality. Needs to be public since it will be accessed by the generated class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static boolean
intercept(Object self, Object other)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

EqualsTargetback to summary
public EqualsTarget()

Method Detail

interceptback to summary
public static boolean intercept(Object self, Object other)
tools.jackson.module.mrbean back to summary

private Class ByteBuddyBuilderUtil.FieldUtil

extends Object
Class Inheritance

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
pack-priv static HashMap<String, Object>
toMap(Object o, Field[] fields)

Create a map with the field name as the map key and the field value as the map value

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

FieldUtilback to summary
private FieldUtil()

Method Detail

toMapback to summary
pack-priv static HashMap<String, Object> toMap(Object o, Field[] fields) throws IllegalAccessException

Create a map with the field name as the map key and the field value as the map value

tools.jackson.module.mrbean back to summary

public Class ByteBuddyBuilderUtil.HashCodeTarget

extends Object
Class Inheritance
  • java.lang.Object
  • tools.jackson.module.mrbean.ByteBuddyBuilderUtil.HashCodeTarget

Used as ByteBuddy target for the 'hashCode' method Uses the declared Fields of the object to dynamically determine the hashCode value. Needs to be public since it will be accessed by the generated class

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static int
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

HashCodeTargetback to summary
public HashCodeTarget()

Method Detail

interceptback to summary
public static int intercept(Object self)