public class javax.naming.directory.ModificationItem implements java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: javax.naming.directory.ModificationItem
super_class: java.lang.Object
{
private int mod_op;
descriptor: I
flags: (0x0002) ACC_PRIVATE
private javax.naming.directory.Attribute attr;
descriptor: Ljavax/naming/directory/Attribute;
flags: (0x0002) ACC_PRIVATE
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 7573258562534746850
public void <init>(int, javax.naming.directory.Attribute);
descriptor: (ILjavax/naming/directory/Attribute;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: iload 1
tableswitch { // 1 - 3
1: 2
2: 2
3: 2
default: 7
}
2: StackMap locals: javax.naming.directory.ModificationItem int javax.naming.directory.Attribute
StackMap stack:
aload 2
ifnonnull 4
3: new java.lang.IllegalArgumentException
dup
ldc "Must specify non-null attribute for modification"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield javax.naming.directory.ModificationItem.mod_op:I
5: aload 0
aload 2
putfield javax.naming.directory.ModificationItem.attr:Ljavax/naming/directory/Attribute;
6: goto 8
7: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "Invalid modification code "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
iload 1
invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
8: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Ljavax/naming/directory/ModificationItem;
0 9 1 mod_op I
0 9 2 attr Ljavax/naming/directory/Attribute;
MethodParameters:
Name Flags
mod_op
attr
public int getModificationOp();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.naming.directory.ModificationItem.mod_op:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/naming/directory/ModificationItem;
public javax.naming.directory.Attribute getAttribute();
descriptor: ()Ljavax/naming/directory/Attribute;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.naming.directory.ModificationItem.attr:Ljavax/naming/directory/Attribute;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Ljavax/naming/directory/ModificationItem;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield javax.naming.directory.ModificationItem.mod_op:I
tableswitch { // 1 - 3
1: 1
2: 2
3: 3
default: 4
}
1: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Add attribute: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.naming.directory.ModificationItem.attr:Ljavax/naming/directory/Attribute;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Replace attribute: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.naming.directory.ModificationItem.attr:Ljavax/naming/directory/Attribute;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
3: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
ldc "Remove attribute: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield javax.naming.directory.ModificationItem.attr:Ljavax/naming/directory/Attribute;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
4: StackMap locals:
StackMap stack:
ldc ""
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Ljavax/naming/directory/ModificationItem;
}
SourceFile: "ModificationItem.java"