public final enum class org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory extends java.lang.Enum
{
public static final enum org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory OpenSource;
public static final enum org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Consulting;
public static final enum org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Education;
public static final enum org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Marketing;
public static final enum org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Shopping;
public static final enum org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Housework;
public static final enum org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Garden;
public static final enum org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Chores;
public static final enum org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Other;
private static final org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory[] $VALUES;
public static org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory[] values()
{
java.lang.Object v;
org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory[] v;
v = <org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory[] $VALUES>;
v = virtualinvoke v.<java.lang.Object: java.lang.Object clone()>();
return v;
}
public static org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory valueOf(java.lang.String)
{
java.lang.String v;
java.lang.Enum v;
v := @parameter: java.lang.String;
v = staticinvoke <java.lang.Enum: java.lang.Enum valueOf(java.lang.Class,java.lang.String)>(class "Lorg/apache/isis/subdomains/excel/fixtures/demoapp/todomodule/dom/Subcategory;", v);
return v;
}
private void <init>(java.lang.String, int)
{
int v;
java.lang.String v;
org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory v;
v := @this: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory;
v := @parameter: java.lang.String;
v := @parameter: int;
specialinvoke v.<java.lang.Enum: void <init>(java.lang.String,int)>(v, v);
return;
}
public static java.util.List listFor(org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Category)
{
java.util.List v;
org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Category v;
v := @parameter: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Category;
if v == null goto label;
v = virtualinvoke v.<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Category: java.util.List subcategories()>();
goto label;
label:
v = staticinvoke <java.util.Collections: java.util.List emptyList()>();
label:
return v;
}
public static java.lang.String validate(org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Category, org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory)
{
java.util.List v;
java.lang.String v;
org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Category v;
org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory v;
boolean v;
v := @parameter: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Category;
v := @parameter: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory;
if v != null goto label;
return "Enter category first";
label:
v = virtualinvoke v.<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Category: java.util.List subcategories()>();
v = interfaceinvoke v.<java.util.List: boolean contains(java.lang.Object)>(v);
if v != 0 goto label;
v = dynamicinvoke "makeConcatWithConstants" <java.lang.String (org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Category)>(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[])>("Invalid subcategory for category \'\u0001\'");
goto label;
label:
v = null;
label:
return v;
}
public static java.util.function.Predicate thoseFor(org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Category)
{
org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Category v;
java.util.function.Predicate v;
v := @parameter: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Category;
v = staticinvoke <org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory$lambda_thoseFor_0__12: java.util.function.Predicate bootstrap$(org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Category)>(v);
return v;
}
private static org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory[] $values()
{
org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory v, v, v, v, v, v, v, v, v;
org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory[] v;
v = newarray (org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory)[9];
v = <org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory OpenSource>;
v[0] = v;
v = <org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Consulting>;
v[1] = v;
v = <org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Education>;
v[2] = v;
v = <org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Marketing>;
v[3] = v;
v = <org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Shopping>;
v[4] = v;
v = <org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Housework>;
v[5] = v;
v = <org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Garden>;
v[6] = v;
v = <org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Chores>;
v[7] = v;
v = <org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Other>;
v[8] = v;
return v;
}
static void <clinit>()
{
org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory v, v, v, v, v, v, v, v, v;
org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory[] v;
v = new org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory;
specialinvoke v.<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: void <init>(java.lang.String,int)>("OpenSource", 0);
<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory OpenSource> = v;
v = new org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory;
specialinvoke v.<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: void <init>(java.lang.String,int)>("Consulting", 1);
<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Consulting> = v;
v = new org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory;
specialinvoke v.<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: void <init>(java.lang.String,int)>("Education", 2);
<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Education> = v;
v = new org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory;
specialinvoke v.<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: void <init>(java.lang.String,int)>("Marketing", 3);
<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Marketing> = v;
v = new org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory;
specialinvoke v.<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: void <init>(java.lang.String,int)>("Shopping", 4);
<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Shopping> = v;
v = new org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory;
specialinvoke v.<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: void <init>(java.lang.String,int)>("Housework", 5);
<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Housework> = v;
v = new org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory;
specialinvoke v.<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: void <init>(java.lang.String,int)>("Garden", 6);
<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Garden> = v;
v = new org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory;
specialinvoke v.<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: void <init>(java.lang.String,int)>("Chores", 7);
<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Chores> = v;
v = new org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory;
specialinvoke v.<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: void <init>(java.lang.String,int)>("Other", 8);
<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory Other> = v;
v = staticinvoke <org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory[] $values()>();
<org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory: org.apache.isis.subdomains.excel.fixtures.demoapp.todomodule.dom.Subcategory[] $VALUES> = v;
return;
}
}