public class com.sun.tools.internal.xjc.generator.bean.field.IsSetField extends com.sun.tools.internal.xjc.generator.bean.field.AbstractField
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.tools.internal.xjc.generator.bean.field.IsSetField
super_class: com.sun.tools.internal.xjc.generator.bean.field.AbstractField
{
private final com.sun.tools.internal.xjc.outline.FieldOutline core;
descriptor: Lcom/sun/tools/internal/xjc/outline/FieldOutline;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean generateUnSetMethod;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean generateIsSetMethod;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
protected void <init>(com.sun.tools.internal.xjc.generator.bean.ClassOutlineImpl, com.sun.tools.internal.xjc.model.CPropertyInfo, com.sun.tools.internal.xjc.outline.FieldOutline, boolean, boolean);
descriptor: (Lcom/sun/tools/internal/xjc/generator/bean/ClassOutlineImpl;Lcom/sun/tools/internal/xjc/model/CPropertyInfo;Lcom/sun/tools/internal/xjc/outline/FieldOutline;ZZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
invokespecial com.sun.tools.internal.xjc.generator.bean.field.AbstractField.<init>:(Lcom/sun/tools/internal/xjc/generator/bean/ClassOutlineImpl;Lcom/sun/tools/internal/xjc/model/CPropertyInfo;)V
1: aload 0
aload 3
putfield com.sun.tools.internal.xjc.generator.bean.field.IsSetField.core:Lcom/sun/tools/internal/xjc/outline/FieldOutline;
2: aload 0
iload 5
putfield com.sun.tools.internal.xjc.generator.bean.field.IsSetField.generateIsSetMethod:Z
3: aload 0
iload 4
putfield com.sun.tools.internal.xjc.generator.bean.field.IsSetField.generateUnSetMethod:Z
4: aload 0
aload 1
aload 2
invokevirtual com.sun.tools.internal.xjc.generator.bean.field.IsSetField.generate:(Lcom/sun/tools/internal/xjc/generator/bean/ClassOutlineImpl;Lcom/sun/tools/internal/xjc/model/CPropertyInfo;)V
5: return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/tools/internal/xjc/generator/bean/field/IsSetField;
0 6 1 outline Lcom/sun/tools/internal/xjc/generator/bean/ClassOutlineImpl;
0 6 2 prop Lcom/sun/tools/internal/xjc/model/CPropertyInfo;
0 6 3 core Lcom/sun/tools/internal/xjc/outline/FieldOutline;
0 6 4 unsetMethod Z
0 6 5 issetMethod Z
MethodParameters:
Name Flags
outline
prop
core
unsetMethod
issetMethod
private void generate(com.sun.tools.internal.xjc.generator.bean.ClassOutlineImpl, com.sun.tools.internal.xjc.model.CPropertyInfo);
descriptor: (Lcom/sun/tools/internal/xjc/generator/bean/ClassOutlineImpl;Lcom/sun/tools/internal/xjc/model/CPropertyInfo;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=7, args_size=3
start local 0 start local 1 start local 2 0: aload 1
invokevirtual com.sun.tools.internal.xjc.generator.bean.ClassOutlineImpl.createMethodWriter:()Lcom/sun/tools/internal/xjc/generator/bean/MethodWriter;
astore 3
start local 3 1: aload 1
invokevirtual com.sun.tools.internal.xjc.generator.bean.ClassOutlineImpl.parent:()Lcom/sun/tools/internal/xjc/generator/bean/BeanGenerator;
invokevirtual com.sun.tools.internal.xjc.generator.bean.BeanGenerator.getCodeModel:()Lcom/sun/codemodel/internal/JCodeModel;
astore 4
start local 4 2: aload 0
getfield com.sun.tools.internal.xjc.generator.bean.field.IsSetField.core:Lcom/sun/tools/internal/xjc/outline/FieldOutline;
invokestatic com.sun.codemodel.internal.JExpr._this:()Lcom/sun/codemodel/internal/JExpression;
invokeinterface com.sun.tools.internal.xjc.outline.FieldOutline.create:(Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/tools/internal/xjc/outline/FieldAccessor;
astore 5
start local 5 3: aload 0
getfield com.sun.tools.internal.xjc.generator.bean.field.IsSetField.generateIsSetMethod:Z
ifeq 9
4: aload 5
invokeinterface com.sun.tools.internal.xjc.outline.FieldAccessor.hasSetValue:()Lcom/sun/codemodel/internal/JExpression;
astore 6
start local 6 5: aload 6
ifnonnull 7
6: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
7: StackMap locals: com.sun.tools.internal.xjc.generator.bean.field.IsSetField com.sun.tools.internal.xjc.generator.bean.ClassOutlineImpl com.sun.tools.internal.xjc.model.CPropertyInfo com.sun.tools.internal.xjc.generator.bean.MethodWriter com.sun.codemodel.internal.JCodeModel com.sun.tools.internal.xjc.outline.FieldAccessor com.sun.codemodel.internal.JExpression
StackMap stack:
aload 3
aload 4
getfield com.sun.codemodel.internal.JCodeModel.BOOLEAN:Lcom/sun/codemodel/internal/JPrimitiveType;
new java.lang.StringBuilder
dup
ldc "isSet"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.internal.xjc.generator.bean.field.IsSetField.prop:Lcom/sun/tools/internal/xjc/model/CPropertyInfo;
iconst_1
invokevirtual com.sun.tools.internal.xjc.model.CPropertyInfo.getName:(Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.generator.bean.MethodWriter.declareMethod:(Lcom/sun/codemodel/internal/JType;Ljava/lang/String;)Lcom/sun/codemodel/internal/JMethod;
8: invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
aload 6
invokevirtual com.sun.codemodel.internal.JBlock._return:(Lcom/sun/codemodel/internal/JExpression;)V
end local 6 9: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.tools.internal.xjc.generator.bean.field.IsSetField.generateUnSetMethod:Z
ifeq 13
10: aload 5
11: aload 3
aload 4
getfield com.sun.codemodel.internal.JCodeModel.VOID:Lcom/sun/codemodel/internal/JPrimitiveType;
new java.lang.StringBuilder
dup
ldc "unset"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield com.sun.tools.internal.xjc.generator.bean.field.IsSetField.prop:Lcom/sun/tools/internal/xjc/model/CPropertyInfo;
iconst_1
invokevirtual com.sun.tools.internal.xjc.model.CPropertyInfo.getName:(Z)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual com.sun.tools.internal.xjc.generator.bean.MethodWriter.declareMethod:(Lcom/sun/codemodel/internal/JType;Ljava/lang/String;)Lcom/sun/codemodel/internal/JMethod;
invokevirtual com.sun.codemodel.internal.JMethod.body:()Lcom/sun/codemodel/internal/JBlock;
12: invokeinterface com.sun.tools.internal.xjc.outline.FieldAccessor.unsetValues:(Lcom/sun/codemodel/internal/JBlock;)V
13: StackMap locals:
StackMap stack:
return
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 this Lcom/sun/tools/internal/xjc/generator/bean/field/IsSetField;
0 14 1 outline Lcom/sun/tools/internal/xjc/generator/bean/ClassOutlineImpl;
0 14 2 prop Lcom/sun/tools/internal/xjc/model/CPropertyInfo;
1 14 3 writer Lcom/sun/tools/internal/xjc/generator/bean/MethodWriter;
2 14 4 codeModel Lcom/sun/codemodel/internal/JCodeModel;
3 14 5 acc Lcom/sun/tools/internal/xjc/outline/FieldAccessor;
5 9 6 hasSetValue Lcom/sun/codemodel/internal/JExpression;
MethodParameters:
Name Flags
outline
prop
public com.sun.codemodel.internal.JType getRawType();
descriptor: ()Lcom/sun/codemodel/internal/JType;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.tools.internal.xjc.generator.bean.field.IsSetField.core:Lcom/sun/tools/internal/xjc/outline/FieldOutline;
invokeinterface com.sun.tools.internal.xjc.outline.FieldOutline.getRawType:()Lcom/sun/codemodel/internal/JType;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/generator/bean/field/IsSetField;
public com.sun.tools.internal.xjc.outline.FieldAccessor create(com.sun.codemodel.internal.JExpression);
descriptor: (Lcom/sun/codemodel/internal/JExpression;)Lcom/sun/tools/internal/xjc/outline/FieldAccessor;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new com.sun.tools.internal.xjc.generator.bean.field.IsSetField$Accessor
dup
aload 0
aload 1
invokespecial com.sun.tools.internal.xjc.generator.bean.field.IsSetField$Accessor.<init>:(Lcom/sun/tools/internal/xjc/generator/bean/field/IsSetField;Lcom/sun/codemodel/internal/JExpression;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/tools/internal/xjc/generator/bean/field/IsSetField;
0 1 1 targetObject Lcom/sun/codemodel/internal/JExpression;
MethodParameters:
Name Flags
targetObject
}
SourceFile: "IsSetField.java"
NestMembers:
com.sun.tools.internal.xjc.generator.bean.field.IsSetField$Accessor
InnerClasses:
private Accessor = com.sun.tools.internal.xjc.generator.bean.field.IsSetField$Accessor of com.sun.tools.internal.xjc.generator.bean.field.IsSetField