public class org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier implements org.eclipse.text.edits.ISourceModifier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier
super_class: java.lang.Object
{
private final java.lang.String destinationIndent;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int sourceIndentLevel;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int tabWidth;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final int indentWidth;
descriptor: I
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
public void <init>(int, java.lang.String, int, int);
descriptor: (ILjava/lang/String;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier.destinationIndent:Ljava/lang/String;
2: aload 0
iload 1
putfield org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier.sourceIndentLevel:I
3: aload 0
iload 3
putfield org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier.tabWidth:I
4: aload 0
iload 4
putfield org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier.indentWidth:I
5: return
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 Lorg/eclipse/jdt/internal/core/dom/rewrite/SourceModifier;
0 6 1 sourceIndentLevel I
0 6 2 destinationIndent Ljava/lang/String;
0 6 3 tabWidth I
0 6 4 indentWidth I
MethodParameters:
Name Flags
sourceIndentLevel
destinationIndent
tabWidth
indentWidth
public org.eclipse.text.edits.ISourceModifier copy();
descriptor: ()Lorg/eclipse/text/edits/ISourceModifier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/jdt/internal/core/dom/rewrite/SourceModifier;
public org.eclipse.text.edits.ReplaceEdit[] getModifications(java.lang.String);
descriptor: (Ljava/lang/String;)[Lorg/eclipse/text/edits/ReplaceEdit;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=2
start local 0 start local 1 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 2
start local 2 1: aload 0
getfield org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier.destinationIndent:Ljava/lang/String;
aload 0
getfield org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier.tabWidth:I
aload 0
getfield org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier.indentWidth:I
invokestatic org.eclipse.jdt.core.formatter.IndentManipulation.measureIndentUnits:(Ljava/lang/CharSequence;II)I
istore 3
start local 3 2: iload 3
aload 0
getfield org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier.sourceIndentLevel:I
if_icmpne 4
3: aload 2
aload 2
invokeinterface java.util.List.size:()I
anewarray org.eclipse.text.edits.ReplaceEdit
invokeinterface java.util.List.toArray:([Ljava/lang/Object;)[Ljava/lang/Object;
checkcast org.eclipse.text.edits.ReplaceEdit[]
areturn
4: StackMap locals: java.util.List int
StackMap stack:
aload 1
aload 0
getfield org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier.sourceIndentLevel:I
aload 0
getfield org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier.tabWidth:I
aload 0
getfield org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier.indentWidth:I
aload 0
getfield org.eclipse.jdt.internal.core.dom.rewrite.SourceModifier.destinationIndent:Ljava/lang/String;
invokestatic org.eclipse.jdt.core.formatter.IndentManipulation.getChangeIndentEdits:(Ljava/lang/String;IIILjava/lang/String;)[Lorg/eclipse/text/edits/ReplaceEdit;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/eclipse/jdt/internal/core/dom/rewrite/SourceModifier;
0 5 1 source Ljava/lang/String;
1 5 2 result Ljava/util/List;
2 5 3 destIndentLevel I
MethodParameters:
Name Flags
source
}
SourceFile: "SourceModifier.java"