public class net.bytebuddy.utility.ConstantValue$Simple extends java.lang.Object implements net.bytebuddy.utility.ConstantValue
{
private final net.bytebuddy.implementation.bytecode.StackManipulation stackManipulation;
private final net.bytebuddy.description.type.TypeDescription typeDescription;
protected void <init>(net.bytebuddy.implementation.bytecode.StackManipulation, net.bytebuddy.description.type.TypeDescription)
{
net.bytebuddy.implementation.bytecode.StackManipulation v;
net.bytebuddy.description.type.TypeDescription v;
net.bytebuddy.utility.ConstantValue$Simple v;
v := @this: net.bytebuddy.utility.ConstantValue$Simple;
v := @parameter: net.bytebuddy.implementation.bytecode.StackManipulation;
v := @parameter: net.bytebuddy.description.type.TypeDescription;
specialinvoke v.<java.lang.Object: void <init>()>();
v.<net.bytebuddy.utility.ConstantValue$Simple: net.bytebuddy.implementation.bytecode.StackManipulation stackManipulation> = v;
v.<net.bytebuddy.utility.ConstantValue$Simple: net.bytebuddy.description.type.TypeDescription typeDescription> = v;
return;
}
public static net.bytebuddy.utility.ConstantValue wrap(java.lang.Object)
{
net.bytebuddy.utility.ConstantValue v;
java.lang.Object v;
java.lang.String v;
java.lang.IllegalArgumentException v;
v := @parameter: java.lang.Object;
v = staticinvoke <net.bytebuddy.utility.ConstantValue$Simple: net.bytebuddy.utility.ConstantValue wrapOrNull(java.lang.Object)>(v);
if v != null goto label;
v = new java.lang.IllegalArgumentException;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (java.lang.Object)>(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[])>("Not a constant value: \u0001");
specialinvoke v.<java.lang.IllegalArgumentException: void <init>(java.lang.String)>(v);
throw v;
label:
return v;
}
public static net.bytebuddy.utility.ConstantValue wrapOrNull(java.lang.Object)
{
net.bytebuddy.utility.ConstantValue$Simple v, v, v, v, v, v, v, v;
byte v;
boolean v, v, v, v, v, v, v, v, v, v, v, v;
net.bytebuddy.description.enumeration.EnumerationDescription$ForLoadedEnumeration v;
net.bytebuddy.description.type.TypeDescription v, v, v, v, v, v, v, v, v, v;
short v;
net.bytebuddy.implementation.bytecode.StackManipulation v, v, v, v, v, v, v, v;
net.bytebuddy.utility.JavaConstant v;
char v;
net.bytebuddy.utility.ConstantValue v, v;
java.lang.Class v, v, v, v, v;
java.lang.Object v;
v := @parameter: java.lang.Object;
v = v instanceof net.bytebuddy.utility.ConstantValue;
if v == 0 goto label;
return v;
label:
v = v instanceof net.bytebuddy.description.type.TypeDescription;
if v == 0 goto label;
v = interfaceinvoke v.<net.bytebuddy.description.type.TypeDescription: boolean isPrimitive()>();
if v == 0 goto label;
v = new net.bytebuddy.utility.ConstantValue$Simple;
v = v;
v = staticinvoke <net.bytebuddy.implementation.bytecode.constant.ClassConstant: net.bytebuddy.implementation.bytecode.StackManipulation of(net.bytebuddy.description.type.TypeDescription)>(v);
v = staticinvoke <net.bytebuddy.description.type.TypeDescription$ForLoadedType: net.bytebuddy.description.type.TypeDescription of(java.lang.Class)>(class "Ljava/lang/Class;");
specialinvoke v.<net.bytebuddy.utility.ConstantValue$Simple: void <init>(net.bytebuddy.implementation.bytecode.StackManipulation,net.bytebuddy.description.type.TypeDescription)>(v, v);
goto label;
label:
v = staticinvoke <net.bytebuddy.utility.JavaConstant$Simple: net.bytebuddy.utility.JavaConstant of(net.bytebuddy.description.type.TypeDescription)>(v);
label:
return v;
label:
v = v instanceof net.bytebuddy.description.enumeration.EnumerationDescription;
if v == 0 goto label;
v = new net.bytebuddy.utility.ConstantValue$Simple;
v = staticinvoke <net.bytebuddy.implementation.bytecode.member.FieldAccess: net.bytebuddy.implementation.bytecode.StackManipulation forEnumeration(net.bytebuddy.description.enumeration.EnumerationDescription)>(v);
v = interfaceinvoke v.<net.bytebuddy.description.enumeration.EnumerationDescription: net.bytebuddy.description.type.TypeDescription getEnumerationType()>();
specialinvoke v.<net.bytebuddy.utility.ConstantValue$Simple: void <init>(net.bytebuddy.implementation.bytecode.StackManipulation,net.bytebuddy.description.type.TypeDescription)>(v, v);
return v;
label:
v = v instanceof java.lang.Boolean;
if v == 0 goto label;
v = new net.bytebuddy.utility.ConstantValue$Simple;
v = virtualinvoke v.<java.lang.Boolean: boolean booleanValue()>();
v = staticinvoke <net.bytebuddy.implementation.bytecode.constant.IntegerConstant: net.bytebuddy.implementation.bytecode.StackManipulation forValue(boolean)>(v);
v = <java.lang.Boolean: java.lang.Class TYPE>;
v = staticinvoke <net.bytebuddy.description.type.TypeDescription$ForLoadedType: net.bytebuddy.description.type.TypeDescription of(java.lang.Class)>(v);
specialinvoke v.<net.bytebuddy.utility.ConstantValue$Simple: void <init>(net.bytebuddy.implementation.bytecode.StackManipulation,net.bytebuddy.description.type.TypeDescription)>(v, v);
return v;
label:
v = v instanceof java.lang.Byte;
if v == 0 goto label;
v = new net.bytebuddy.utility.ConstantValue$Simple;
v = virtualinvoke v.<java.lang.Byte: byte byteValue()>();
v = staticinvoke <net.bytebuddy.implementation.bytecode.constant.IntegerConstant: net.bytebuddy.implementation.bytecode.StackManipulation forValue(int)>(v);
v = <java.lang.Byte: java.lang.Class TYPE>;
v = staticinvoke <net.bytebuddy.description.type.TypeDescription$ForLoadedType: net.bytebuddy.description.type.TypeDescription of(java.lang.Class)>(v);
specialinvoke v.<net.bytebuddy.utility.ConstantValue$Simple: void <init>(net.bytebuddy.implementation.bytecode.StackManipulation,net.bytebuddy.description.type.TypeDescription)>(v, v);
return v;
label:
v = v instanceof java.lang.Short;
if v == 0 goto label;
v = new net.bytebuddy.utility.ConstantValue$Simple;
v = virtualinvoke v.<java.lang.Short: short shortValue()>();
v = staticinvoke <net.bytebuddy.implementation.bytecode.constant.IntegerConstant: net.bytebuddy.implementation.bytecode.StackManipulation forValue(int)>(v);
v = <java.lang.Short: java.lang.Class TYPE>;
v = staticinvoke <net.bytebuddy.description.type.TypeDescription$ForLoadedType: net.bytebuddy.description.type.TypeDescription of(java.lang.Class)>(v);
specialinvoke v.<net.bytebuddy.utility.ConstantValue$Simple: void <init>(net.bytebuddy.implementation.bytecode.StackManipulation,net.bytebuddy.description.type.TypeDescription)>(v, v);
return v;
label:
v = v instanceof java.lang.Character;
if v == 0 goto label;
v = new net.bytebuddy.utility.ConstantValue$Simple;
v = virtualinvoke v.<java.lang.Character: char charValue()>();
v = staticinvoke <net.bytebuddy.implementation.bytecode.constant.IntegerConstant: net.bytebuddy.implementation.bytecode.StackManipulation forValue(int)>(v);
v = <java.lang.Character: java.lang.Class TYPE>;
v = staticinvoke <net.bytebuddy.description.type.TypeDescription$ForLoadedType: net.bytebuddy.description.type.TypeDescription of(java.lang.Class)>(v);
specialinvoke v.<net.bytebuddy.utility.ConstantValue$Simple: void <init>(net.bytebuddy.implementation.bytecode.StackManipulation,net.bytebuddy.description.type.TypeDescription)>(v, v);
return v;
label:
v = v instanceof java.lang.Class;
if v == 0 goto label;
v = virtualinvoke v.<java.lang.Class: boolean isPrimitive()>();
if v == 0 goto label;
v = new net.bytebuddy.utility.ConstantValue$Simple;
v = v;
v = staticinvoke <net.bytebuddy.description.type.TypeDescription$ForLoadedType: net.bytebuddy.description.type.TypeDescription of(java.lang.Class)>(v);
v = staticinvoke <net.bytebuddy.implementation.bytecode.constant.ClassConstant: net.bytebuddy.implementation.bytecode.StackManipulation of(net.bytebuddy.description.type.TypeDescription)>(v);
v = staticinvoke <net.bytebuddy.description.type.TypeDescription$ForLoadedType: net.bytebuddy.description.type.TypeDescription of(java.lang.Class)>(class "Ljava/lang/Class;");
specialinvoke v.<net.bytebuddy.utility.ConstantValue$Simple: void <init>(net.bytebuddy.implementation.bytecode.StackManipulation,net.bytebuddy.description.type.TypeDescription)>(v, v);
goto label;
label:
v = staticinvoke <net.bytebuddy.description.type.TypeDescription$ForLoadedType: net.bytebuddy.description.type.TypeDescription of(java.lang.Class)>(v);
v = staticinvoke <net.bytebuddy.utility.JavaConstant$Simple: net.bytebuddy.utility.JavaConstant of(net.bytebuddy.description.type.TypeDescription)>(v);
label:
return v;
label:
v = v instanceof java.lang.Enum;
if v == 0 goto label;
v = new net.bytebuddy.utility.ConstantValue$Simple;
v = new net.bytebuddy.description.enumeration.EnumerationDescription$ForLoadedEnumeration;
specialinvoke v.<net.bytebuddy.description.enumeration.EnumerationDescription$ForLoadedEnumeration: void <init>(java.lang.Enum)>(v);
v = staticinvoke <net.bytebuddy.implementation.bytecode.member.FieldAccess: net.bytebuddy.implementation.bytecode.StackManipulation forEnumeration(net.bytebuddy.description.enumeration.EnumerationDescription)>(v);
v = virtualinvoke v.<java.lang.Enum: java.lang.Class getDeclaringClass()>();
v = staticinvoke <net.bytebuddy.description.type.TypeDescription$ForLoadedType: net.bytebuddy.description.type.TypeDescription of(java.lang.Class)>(v);
specialinvoke v.<net.bytebuddy.utility.ConstantValue$Simple: void <init>(net.bytebuddy.implementation.bytecode.StackManipulation,net.bytebuddy.description.type.TypeDescription)>(v, v);
return v;
label:
v = staticinvoke <net.bytebuddy.utility.JavaConstant$Simple: net.bytebuddy.utility.JavaConstant ofLoadedOrNull(java.lang.Object)>(v);
return v;
}
public net.bytebuddy.description.type.TypeDescription getTypeDescription()
{
net.bytebuddy.description.type.TypeDescription v;
net.bytebuddy.utility.ConstantValue$Simple v;
v := @this: net.bytebuddy.utility.ConstantValue$Simple;
v = v.<net.bytebuddy.utility.ConstantValue$Simple: net.bytebuddy.description.type.TypeDescription typeDescription>;
return v;
}
public net.bytebuddy.implementation.bytecode.StackManipulation toStackManipulation()
{
net.bytebuddy.implementation.bytecode.StackManipulation v;
net.bytebuddy.utility.ConstantValue$Simple v;
v := @this: net.bytebuddy.utility.ConstantValue$Simple;
v = v.<net.bytebuddy.utility.ConstantValue$Simple: net.bytebuddy.implementation.bytecode.StackManipulation stackManipulation>;
return v;
}
public boolean equals(java.lang.Object)
{
net.bytebuddy.utility.ConstantValue$Simple v;
net.bytebuddy.implementation.bytecode.StackManipulation v, v;
java.lang.Class v, v;
java.lang.Object v;
net.bytebuddy.description.type.TypeDescription v, v;
boolean v, v;
v := @this: net.bytebuddy.utility.ConstantValue$Simple;
v := @parameter: java.lang.Object;
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.utility.ConstantValue$Simple: net.bytebuddy.implementation.bytecode.StackManipulation stackManipulation>;
v = v.<net.bytebuddy.utility.ConstantValue$Simple: net.bytebuddy.implementation.bytecode.StackManipulation stackManipulation>;
v = virtualinvoke v.<java.lang.Object: boolean equals(java.lang.Object)>(v);
if v != 0 goto label;
return 0;
label:
v = v.<net.bytebuddy.utility.ConstantValue$Simple: net.bytebuddy.description.type.TypeDescription typeDescription>;
v = v.<net.bytebuddy.utility.ConstantValue$Simple: net.bytebuddy.description.type.TypeDescription typeDescription>;
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.utility.ConstantValue$Simple v;
int v, v, v, v, v, v, v;
net.bytebuddy.implementation.bytecode.StackManipulation v;
java.lang.Class v;
net.bytebuddy.description.type.TypeDescription v;
v := @this: net.bytebuddy.utility.ConstantValue$Simple;
v = virtualinvoke v.<net.bytebuddy.utility.ConstantValue$Simple: java.lang.Class getClass()>();
v = virtualinvoke v.<java.lang.Class: int hashCode()>();
v = v * 31;
v = v.<net.bytebuddy.utility.ConstantValue$Simple: net.bytebuddy.implementation.bytecode.StackManipulation stackManipulation>;
v = virtualinvoke v.<java.lang.Object: int hashCode()>();
v = v + v;
v = v * 31;
v = v.<net.bytebuddy.utility.ConstantValue$Simple: net.bytebuddy.description.type.TypeDescription typeDescription>;
v = virtualinvoke v.<java.lang.Object: int hashCode()>();
v = v + v;
return v;
}
}