public class net.bytebuddy.build.CachedReturnPlugin extends net.bytebuddy.build.Plugin$ForElementMatcher implements net.bytebuddy.build.Plugin$Factory
{
private static final java.lang.String NAME_INFIX;
private static final java.lang.String ADVICE_INFIX;
private static final net.bytebuddy.description.method.MethodDescription$InDefinedShape ENHANCE_VALUE;
private final boolean ignoreExistingFields;
private final net.bytebuddy.utility.RandomString randomString;
private final net.bytebuddy.dynamic.ClassFileLocator classFileLocator;
private final java.util.Map adviceByType;
public void <init>()
{
net.bytebuddy.build.CachedReturnPlugin v;
v := @this: net.bytebuddy.build.CachedReturnPlugin;
specialinvoke v.<net.bytebuddy.build.CachedReturnPlugin: void <init>(boolean)>(0);
return;
}
public void <init>(boolean)
{
net.bytebuddy.build.CachedReturnPlugin v;
java.util.HashMap v;
net.bytebuddy.utility.RandomString v;
net.bytebuddy.pool.TypePool v;
java.util.Map v;
int v, v;
java.lang.String v, v, v;
boolean v;
java.lang.Class[] v;
net.bytebuddy.dynamic.ClassFileLocator v, v;
net.bytebuddy.matcher.ElementMatcher$Junction v, v;
java.lang.Class v, v, v, v, v, v, v, v, v, v, v;
java.lang.ClassLoader v;
net.bytebuddy.description.type.TypeDescription v, v;
net.bytebuddy.pool.TypePool$Resolution v;
v := @this: net.bytebuddy.build.CachedReturnPlugin;
v := @parameter: boolean;
v = staticinvoke <net.bytebuddy.matcher.ElementMatchers: net.bytebuddy.matcher.ElementMatcher$Junction isAnnotatedWith(java.lang.Class)>(class "Lnet/bytebuddy/build/CachedReturnPlugin$Enhance;");
v = staticinvoke <net.bytebuddy.matcher.ElementMatchers: net.bytebuddy.matcher.ElementMatcher$Junction declaresMethod(net.bytebuddy.matcher.ElementMatcher)>(v);
specialinvoke v.<net.bytebuddy.build.Plugin$ForElementMatcher: void <init>(net.bytebuddy.matcher.ElementMatcher)>(v);
v.<net.bytebuddy.build.CachedReturnPlugin: boolean ignoreExistingFields> = v;
v = new net.bytebuddy.utility.RandomString;
specialinvoke v.<net.bytebuddy.utility.RandomString: void <init>()>();
v.<net.bytebuddy.build.CachedReturnPlugin: net.bytebuddy.utility.RandomString randomString> = v;
v = class "Lnet/bytebuddy/build/CachedReturnPlugin;";
v = virtualinvoke v.<java.lang.Class: java.lang.ClassLoader getClassLoader()>();
v = staticinvoke <net.bytebuddy.dynamic.ClassFileLocator$ForClassLoader: net.bytebuddy.dynamic.ClassFileLocator of(java.lang.ClassLoader)>(v);
v.<net.bytebuddy.build.CachedReturnPlugin: net.bytebuddy.dynamic.ClassFileLocator classFileLocator> = v;
v = v.<net.bytebuddy.build.CachedReturnPlugin: net.bytebuddy.dynamic.ClassFileLocator classFileLocator>;
v = staticinvoke <net.bytebuddy.pool.TypePool$Default: net.bytebuddy.pool.TypePool of(net.bytebuddy.dynamic.ClassFileLocator)>(v);
v = new java.util.HashMap;
specialinvoke v.<java.util.HashMap: void <init>()>();
v.<net.bytebuddy.build.CachedReturnPlugin: java.util.Map adviceByType> = v;
v = newarray (java.lang.Class)[9];
v = <java.lang.Boolean: java.lang.Class TYPE>;
v[0] = v;
v = <java.lang.Byte: java.lang.Class TYPE>;
v[1] = v;
v = <java.lang.Short: java.lang.Class TYPE>;
v[2] = v;
v = <java.lang.Character: java.lang.Class TYPE>;
v[3] = v;
v = <java.lang.Integer: java.lang.Class TYPE>;
v[4] = v;
v = <java.lang.Long: java.lang.Class TYPE>;
v[5] = v;
v = <java.lang.Float: java.lang.Class TYPE>;
v[6] = v;
v = <java.lang.Double: java.lang.Class TYPE>;
v[7] = v;
v[8] = class "Ljava/lang/Object;";
v = lengthof v;
v = 0;
label:
if v >= v goto label;
v = v[v];
v = v.<net.bytebuddy.build.CachedReturnPlugin: java.util.Map adviceByType>;
v = staticinvoke <net.bytebuddy.description.type.TypeDescription$ForLoadedType: net.bytebuddy.description.type.TypeDescription of(java.lang.Class)>(v);
v = class "Lnet/bytebuddy/build/CachedReturnPlugin;";
v = virtualinvoke v.<java.lang.Class: java.lang.String getName()>();
v = virtualinvoke v.<java.lang.Class: java.lang.String getSimpleName()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001$Advice$\u0001");
v = interfaceinvoke v.<net.bytebuddy.pool.TypePool: net.bytebuddy.pool.TypePool$Resolution describe(java.lang.String)>(v);
v = interfaceinvoke v.<net.bytebuddy.pool.TypePool$Resolution: net.bytebuddy.description.type.TypeDescription resolve()>();
interfaceinvoke v.<java.util.Map: java.lang.Object put(java.lang.Object,java.lang.Object)>(v, v);
v = v + 1;
goto label;
label:
return;
}
public net.bytebuddy.build.Plugin make()
{
net.bytebuddy.build.CachedReturnPlugin v;
v := @this: net.bytebuddy.build.CachedReturnPlugin;
return v;
}
public net.bytebuddy.dynamic.DynamicType$Builder apply(net.bytebuddy.dynamic.DynamicType$Builder, net.bytebuddy.description.type.TypeDescription, net.bytebuddy.dynamic.ClassFileLocator)
{
net.bytebuddy.description.modifier.SyntheticState v;
net.bytebuddy.description.modifier.ModifierContributor$ForField[] v;
java.util.Map v;
net.bytebuddy.description.'annotation'.AnnotationList v;
net.bytebuddy.description.method.MethodList v;
net.bytebuddy.description.'annotation'.AnnotationValue v;
net.bytebuddy.dynamic.DynamicType$Builder v, v;
net.bytebuddy.build.CachedReturnPlugin$CacheFieldOffsetMapping v;
net.bytebuddy.description.modifier.Visibility v;
net.bytebuddy.dynamic.ClassFileLocator v, v;
net.bytebuddy.description.field.FieldList v;
net.bytebuddy.utility.RandomString v;
net.bytebuddy.description.method.ParameterList v;
java.lang.String v, v, v, v, v, v;
net.bytebuddy.description.modifier.FieldPersistence v;
net.bytebuddy.description.method.MethodDescription$InDefinedShape v;
net.bytebuddy.asm.Advice$WithCustomMapping v, v;
net.bytebuddy.description.modifier.Ownership v;
net.bytebuddy.matcher.FilterableList v, v;
java.lang.IllegalStateException v, v, v;
net.bytebuddy.asm.Advice v;
boolean v, v, v, v, v, v, v, v, v;
net.bytebuddy.description.type.TypeDescription$Generic v, v, v, v;
net.bytebuddy.description.'annotation'.AnnotationDescription$Loadable v;
net.bytebuddy.matcher.ElementMatcher$Junction v, v, v, v, v, v;
net.bytebuddy.description.type.TypeDescription v, v, v;
net.bytebuddy.dynamic.DynamicType$Builder$FieldDefinition$Optional$Valuable v;
net.bytebuddy.build.CachedReturnPlugin v;
int v;
java.util.Iterator v;
net.bytebuddy.asm.AsmVisitorWrapper$ForDeclaredMethods v;
java.lang.Class v;
java.lang.Object v, v, v;
v := @this: net.bytebuddy.build.CachedReturnPlugin;
v := @parameter: net.bytebuddy.dynamic.DynamicType$Builder;
v := @parameter: net.bytebuddy.description.type.TypeDescription;
v := @parameter: net.bytebuddy.dynamic.ClassFileLocator;
v = interfaceinvoke v.<net.bytebuddy.description.type.TypeDescription: net.bytebuddy.description.method.MethodList getDeclaredMethods()>();
v = staticinvoke <net.bytebuddy.matcher.ElementMatchers: net.bytebuddy.matcher.ElementMatcher$Junction isBridge()>();
v = staticinvoke <net.bytebuddy.matcher.ElementMatchers: net.bytebuddy.matcher.ElementMatcher$Junction not(net.bytebuddy.matcher.ElementMatcher)>(v);
v = staticinvoke <net.bytebuddy.matcher.ElementMatchers: net.bytebuddy.matcher.ElementMatcher$Junction isAnnotatedWith(java.lang.Class)>(class "Lnet/bytebuddy/build/CachedReturnPlugin$Enhance;");
v = interfaceinvoke v.<net.bytebuddy.matcher.ElementMatcher$Junction: net.bytebuddy.matcher.ElementMatcher$Junction and(net.bytebuddy.matcher.ElementMatcher)>(v);
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodList: net.bytebuddy.matcher.FilterableList filter(net.bytebuddy.matcher.ElementMatcher)>(v);
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodList: java.util.Iterator iterator()>();
label:
v = interfaceinvoke v.<java.util.Iterator: boolean hasNext()>();
if v == 0 goto label;
v = interfaceinvoke v.<java.util.Iterator: java.lang.Object next()>();
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodDescription$InDefinedShape: boolean isAbstract()>();
if v == 0 goto label;
v = new java.lang.IllegalStateException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (net.bytebuddy.description.method.MethodDescription$InDefinedShape)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Cannot cache the value of an abstract method: \u0001");
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>(v);
throw v;
label:
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodDescription$InDefinedShape: net.bytebuddy.description.method.ParameterList getParameters()>();
v = interfaceinvoke v.<net.bytebuddy.description.method.ParameterList: boolean isEmpty()>();
if v != 0 goto label;
v = new java.lang.IllegalStateException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (net.bytebuddy.description.method.MethodDescription$InDefinedShape)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Cannot cache the value of a method with parameters: \u0001");
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>(v);
throw v;
label:
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodDescription$InDefinedShape: net.bytebuddy.description.type.TypeDescription$Generic getReturnType()>();
v = <java.lang.Void: java.lang.Class TYPE>;
v = interfaceinvoke v.<net.bytebuddy.description.type.TypeDescription$Generic: boolean represents(java.lang.reflect.Type)>(v);
if v == 0 goto label;
v = new java.lang.IllegalStateException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (net.bytebuddy.description.method.MethodDescription$InDefinedShape)>(v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("Cannot cache void result for \u0001");
specialinvoke v.<java.lang.IllegalStateException: void <init>(java.lang.String)>(v);
throw v;
label:
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodDescription$InDefinedShape: net.bytebuddy.description.'annotation'.AnnotationList getDeclaredAnnotations()>();
v = interfaceinvoke v.<net.bytebuddy.description.'annotation'.AnnotationList: net.bytebuddy.description.'annotation'.AnnotationDescription$Loadable ofType(java.lang.Class)>(class "Lnet/bytebuddy/build/CachedReturnPlugin$Enhance;");
v = <net.bytebuddy.build.CachedReturnPlugin: net.bytebuddy.description.method.MethodDescription$InDefinedShape ENHANCE_VALUE>;
v = interfaceinvoke v.<net.bytebuddy.description.'annotation'.AnnotationDescription$Loadable: net.bytebuddy.description.'annotation'.AnnotationValue getValue(net.bytebuddy.description.method.MethodDescription$InDefinedShape)>(v);
v = interfaceinvoke v.<net.bytebuddy.description.'annotation'.AnnotationValue: java.lang.Object resolve(java.lang.Class)>(class "Ljava/lang/String;");
v = virtualinvoke v.<java.lang.String: int length()>();
if v != 0 goto label;
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodDescription$InDefinedShape: java.lang.String getName()>();
v = v.<net.bytebuddy.build.CachedReturnPlugin: net.bytebuddy.utility.RandomString randomString>;
v = virtualinvoke v.<net.bytebuddy.utility.RandomString: java.lang.String nextString()>();
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.String,java.lang.String)>(v, v) <java.lang.invoke.StringConcatFactory: java.lang.invoke.CallSite makeConcatWithConstants(java.lang.invoke.MethodHandles$Lookup,java.lang.String,java.lang.invoke.MethodType,java.lang.String,java.lang.Object[])>("\u0001_\u0001");
goto label;
label:
v = v.<net.bytebuddy.build.CachedReturnPlugin: boolean ignoreExistingFields>;
if v == 0 goto label;
v = interfaceinvoke v.<net.bytebuddy.description.type.TypeDescription: net.bytebuddy.description.field.FieldList getDeclaredFields()>();
v = staticinvoke <net.bytebuddy.matcher.ElementMatchers: net.bytebuddy.matcher.ElementMatcher$Junction named(java.lang.String)>(v);
v = interfaceinvoke v.<net.bytebuddy.description.field.FieldList: net.bytebuddy.matcher.FilterableList filter(net.bytebuddy.matcher.ElementMatcher)>(v);
v = interfaceinvoke v.<net.bytebuddy.description.field.FieldList: boolean isEmpty()>();
if v != 0 goto label;
return v;
label:
v = v;
v = v;
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodDescription$InDefinedShape: net.bytebuddy.description.type.TypeDescription$Generic getReturnType()>();
v = interfaceinvoke v.<net.bytebuddy.description.type.TypeDescription$Generic: net.bytebuddy.description.type.TypeDescription asErasure()>();
v = newarray (net.bytebuddy.description.modifier.ModifierContributor$ForField)[4];
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodDescription$InDefinedShape: boolean isStatic()>();
if v == 0 goto label;
v = <net.bytebuddy.description.modifier.Ownership: net.bytebuddy.description.modifier.Ownership STATIC>;
goto label;
label:
v = <net.bytebuddy.description.modifier.Ownership: net.bytebuddy.description.modifier.Ownership MEMBER>;
label:
v[0] = v;
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodDescription$InDefinedShape: boolean isStatic()>();
if v == 0 goto label;
v = <net.bytebuddy.description.modifier.FieldPersistence: net.bytebuddy.description.modifier.FieldPersistence PLAIN>;
goto label;
label:
v = <net.bytebuddy.description.modifier.FieldPersistence: net.bytebuddy.description.modifier.FieldPersistence TRANSIENT>;
label:
v[1] = v;
v = <net.bytebuddy.description.modifier.Visibility: net.bytebuddy.description.modifier.Visibility PRIVATE>;
v[2] = v;
v = <net.bytebuddy.description.modifier.SyntheticState: net.bytebuddy.description.modifier.SyntheticState SYNTHETIC>;
v[3] = v;
v = interfaceinvoke v.<net.bytebuddy.dynamic.DynamicType$Builder: net.bytebuddy.dynamic.DynamicType$Builder$FieldDefinition$Optional$Valuable defineField(java.lang.String,net.bytebuddy.description.type.TypeDefinition,net.bytebuddy.description.modifier.ModifierContributor$ForField[])>(v, v, v);
v = staticinvoke <net.bytebuddy.asm.Advice: net.bytebuddy.asm.Advice$WithCustomMapping withCustomMapping()>();
v = new net.bytebuddy.build.CachedReturnPlugin$CacheFieldOffsetMapping;
specialinvoke v.<net.bytebuddy.build.CachedReturnPlugin$CacheFieldOffsetMapping: void <init>(java.lang.String)>(v);
v = virtualinvoke v.<net.bytebuddy.asm.Advice$WithCustomMapping: net.bytebuddy.asm.Advice$WithCustomMapping bind(java.lang.Class,net.bytebuddy.asm.Advice$OffsetMapping)>(class "Lnet/bytebuddy/build/CachedReturnPlugin$CacheField;", v);
v = v.<net.bytebuddy.build.CachedReturnPlugin: java.util.Map adviceByType>;
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodDescription$InDefinedShape: net.bytebuddy.description.type.TypeDescription$Generic getReturnType()>();
v = interfaceinvoke v.<net.bytebuddy.description.type.TypeDescription$Generic: boolean isPrimitive()>();
if v == 0 goto label;
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodDescription$InDefinedShape: net.bytebuddy.description.type.TypeDescription$Generic getReturnType()>();
v = interfaceinvoke v.<net.bytebuddy.description.type.TypeDescription$Generic: net.bytebuddy.description.type.TypeDescription asErasure()>();
goto label;
label:
v = staticinvoke <net.bytebuddy.description.type.TypeDescription$ForLoadedType: net.bytebuddy.description.type.TypeDescription of(java.lang.Class)>(class "Ljava/lang/Object;");
label:
v = interfaceinvoke v.<java.util.Map: java.lang.Object get(java.lang.Object)>(v);
v = v.<net.bytebuddy.build.CachedReturnPlugin: net.bytebuddy.dynamic.ClassFileLocator classFileLocator>;
v = virtualinvoke v.<net.bytebuddy.asm.Advice$WithCustomMapping: net.bytebuddy.asm.Advice 'to'(net.bytebuddy.description.type.TypeDescription,net.bytebuddy.dynamic.ClassFileLocator)>(v, v);
v = staticinvoke <net.bytebuddy.matcher.ElementMatchers: net.bytebuddy.matcher.ElementMatcher$Junction is(net.bytebuddy.description.method.MethodDescription$InDefinedShape)>(v);
v = virtualinvoke v.<net.bytebuddy.asm.Advice: net.bytebuddy.asm.AsmVisitorWrapper$ForDeclaredMethods on(net.bytebuddy.matcher.ElementMatcher)>(v);
v = interfaceinvoke v.<net.bytebuddy.dynamic.DynamicType$Builder$FieldDefinition$Optional$Valuable: net.bytebuddy.dynamic.DynamicType$Builder visit(net.bytebuddy.asm.AsmVisitorWrapper)>(v);
goto label;
label:
return v;
}
public void close()
{
net.bytebuddy.build.CachedReturnPlugin v;
v := @this: net.bytebuddy.build.CachedReturnPlugin;
return;
}
static void <clinit>()
{
net.bytebuddy.matcher.ElementMatcher$Junction v;
java.lang.Object v;
net.bytebuddy.matcher.FilterableList v;
net.bytebuddy.description.type.TypeDescription v;
net.bytebuddy.description.method.MethodList v;
v = staticinvoke <net.bytebuddy.description.type.TypeDescription$ForLoadedType: net.bytebuddy.description.type.TypeDescription of(java.lang.Class)>(class "Lnet/bytebuddy/build/CachedReturnPlugin$Enhance;");
v = interfaceinvoke v.<net.bytebuddy.description.type.TypeDescription: net.bytebuddy.description.method.MethodList getDeclaredMethods()>();
v = staticinvoke <net.bytebuddy.matcher.ElementMatchers: net.bytebuddy.matcher.ElementMatcher$Junction named(java.lang.String)>("value");
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodList: net.bytebuddy.matcher.FilterableList filter(net.bytebuddy.matcher.ElementMatcher)>(v);
v = interfaceinvoke v.<net.bytebuddy.description.method.MethodList: java.lang.Object getOnly()>();
<net.bytebuddy.build.CachedReturnPlugin: net.bytebuddy.description.method.MethodDescription$InDefinedShape ENHANCE_VALUE> = v;
return;
}
public boolean equals(java.lang.Object)
{
net.bytebuddy.build.CachedReturnPlugin v;
net.bytebuddy.dynamic.ClassFileLocator v, v;
java.lang.Class v, v;
java.lang.Object v;
boolean v, v, v, v;
v := @this: net.bytebuddy.build.CachedReturnPlugin;
v := @parameter: java.lang.Object;
v = specialinvoke v.<net.bytebuddy.build.Plugin$ForElementMatcher: boolean equals(java.lang.Object)>(v);
if v != 0 goto label;
return 0;
label:
if v != v goto label;
return 1;
label:
if v != null goto label;
return 0;
label:
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Object: java.lang.Class getClass()>();
if v == v goto label;
return 0;
label:
v = v.<net.bytebuddy.build.CachedReturnPlugin: boolean ignoreExistingFields>;
v = v.<net.bytebuddy.build.CachedReturnPlugin: boolean ignoreExistingFields>;
if v == v goto label;
return 0;
label:
v = v.<net.bytebuddy.build.CachedReturnPlugin: net.bytebuddy.dynamic.ClassFileLocator classFileLocator>;
v = v.<net.bytebuddy.build.CachedReturnPlugin: net.bytebuddy.dynamic.ClassFileLocator classFileLocator>;
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v != 0 goto label;
return 0;
label:
return 1;
}
public int hashCode()
{
net.bytebuddy.build.CachedReturnPlugin v;
net.bytebuddy.dynamic.ClassFileLocator v;
int v, v, v, v, v, v;
boolean v;
v := @this: net.bytebuddy.build.CachedReturnPlugin;
v = specialinvoke v.<net.bytebuddy.build.Plugin$ForElementMatcher: int hashCode()>();
v = v * 31;
v = v.<net.bytebuddy.build.CachedReturnPlugin: boolean ignoreExistingFields>;
v = v + v;
v = v * 31;
v = v.<net.bytebuddy.build.CachedReturnPlugin: net.bytebuddy.dynamic.ClassFileLocator classFileLocator>;
v = virtualinvoke v.<java.lang.Object: int hashCode()>();
v = v + v;
return v;
}
}