public abstract class org.apache.tomcat.util.buf.AbstractChunk implements java.lang.Cloneable, java.io.Serializable
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.tomcat.util.buf.AbstractChunk
super_class: java.lang.Object
{
private static final long serialVersionUID;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: 1
protected static final org.apache.tomcat.util.res.StringManager sm;
descriptor: Lorg/apache/tomcat/util/res/StringManager;
flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL
public static final int ARRAY_MAX_SIZE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2147483639
private int hashCode;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected boolean hasHashCode;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
protected boolean isSet;
descriptor: Z
flags: (0x0004) ACC_PROTECTED
private int limit;
descriptor: I
flags: (0x0002) ACC_PRIVATE
protected int start;
descriptor: I
flags: (0x0004) ACC_PROTECTED
protected int end;
descriptor: I
flags: (0x0004) ACC_PROTECTED
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/tomcat/util/buf/AbstractChunk;
invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/Class;)Lorg/apache/tomcat/util/res/StringManager;
putstatic org.apache.tomcat.util.buf.AbstractChunk.sm:Lorg/apache/tomcat/util/res/StringManager;
1: return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.AbstractChunk.hashCode:I
2: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.AbstractChunk.hasHashCode:Z
3: aload 0
iconst_m1
putfield org.apache.tomcat.util.buf.AbstractChunk.limit:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
public void setLimit(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.tomcat.util.buf.AbstractChunk.limit:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
0 2 1 limit I
MethodParameters:
Name Flags
limit
public int getLimit();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.limit:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
protected int getLimitInternal();
descriptor: ()I
flags: (0x0004) ACC_PROTECTED
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.limit:I
ifle 2
1: aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.limit:I
ireturn
2: StackMap locals:
StackMap stack:
ldc 2147483639
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
public int getStart();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.start:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
public int getEnd();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.end:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
public void setEnd(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.apache.tomcat.util.buf.AbstractChunk.end:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
0 2 1 i I
MethodParameters:
Name Flags
i
public int getOffset();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.start:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
public void setOffset(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.end:I
iload 1
if_icmpge 2
1: aload 0
iload 1
putfield org.apache.tomcat.util.buf.AbstractChunk.end:I
2: StackMap locals:
StackMap stack:
aload 0
iload 1
putfield org.apache.tomcat.util.buf.AbstractChunk.start:I
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
0 4 1 off I
MethodParameters:
Name Flags
off
public int getLength();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.end:I
aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.start:I
isub
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
public boolean isNull();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.end:I
ifle 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.isSet:Z
ifeq 3
iconst_0
goto 4
StackMap locals:
StackMap stack:
3: iconst_1
StackMap locals:
StackMap stack: int
4: ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
public int indexOf(java.lang.String, int, int, int);
descriptor: (Ljava/lang/String;III)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=10, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 1
iload 2
invokevirtual java.lang.String.charAt:(I)C
istore 5
start local 5 1: iload 2
iload 3
iadd
istore 6
start local 6 2: iload 4
aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.start:I
iadd
istore 7
start local 7 3: goto 14
4: StackMap locals: int int int
StackMap stack:
aload 0
iload 7
invokevirtual org.apache.tomcat.util.buf.AbstractChunk.getBufferElement:(I)I
iload 5
if_icmpeq 6
5: goto 13
6: StackMap locals:
StackMap stack:
iload 7
iconst_1
iadd
istore 8
start local 8 7: iload 2
iconst_1
iadd
istore 9
start local 9 8: goto 11
9: StackMap locals: int int
StackMap stack:
aload 0
iload 8
iinc 8 1
invokevirtual org.apache.tomcat.util.buf.AbstractChunk.getBufferElement:(I)I
aload 1
iload 9
iinc 9 1
invokevirtual java.lang.String.charAt:(I)C
if_icmpeq 11
10: goto 13
11: StackMap locals:
StackMap stack:
iload 9
iload 6
if_icmplt 9
end local 9 12: iload 7
aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.start:I
isub
ireturn
end local 8 13: StackMap locals:
StackMap stack:
iinc 7 1
StackMap locals:
StackMap stack:
14: iload 7
aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.end:I
iload 3
isub
if_icmple 4
end local 7 15: iconst_m1
ireturn
end local 6 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 16 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
0 16 1 src Ljava/lang/String;
0 16 2 srcOff I
0 16 3 srcLen I
0 16 4 myOff I
1 16 5 first C
2 16 6 srcEnd I
3 15 7 i I
7 13 8 myPos I
8 12 9 srcPos I
MethodParameters:
Name Flags
src
srcOff
srcLen
myOff
public void recycle();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.AbstractChunk.hasHashCode:Z
1: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.AbstractChunk.isSet:Z
2: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.AbstractChunk.start:I
3: aload 0
iconst_0
putfield org.apache.tomcat.util.buf.AbstractChunk.end:I
4: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.hasHashCode:Z
ifeq 2
1: aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.hashCode:I
ireturn
2: StackMap locals:
StackMap stack:
iconst_0
istore 1
start local 1 3: aload 0
invokevirtual org.apache.tomcat.util.buf.AbstractChunk.hash:()I
istore 1
4: aload 0
iload 1
putfield org.apache.tomcat.util.buf.AbstractChunk.hashCode:I
5: aload 0
iconst_1
putfield org.apache.tomcat.util.buf.AbstractChunk.hasHashCode:Z
6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
3 7 1 code I
public int hash();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=1
start local 0 0: iconst_0
istore 1
start local 1 1: aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.start:I
istore 2
start local 2 2: goto 5
3: StackMap locals: int int
StackMap stack:
iload 1
bipush 37
imul
aload 0
iload 2
invokevirtual org.apache.tomcat.util.buf.AbstractChunk.getBufferElement:(I)I
iadd
istore 1
4: iinc 2 1
StackMap locals:
StackMap stack:
5: iload 2
aload 0
getfield org.apache.tomcat.util.buf.AbstractChunk.end:I
if_icmplt 3
end local 2 6: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/apache/tomcat/util/buf/AbstractChunk;
1 7 1 code I
2 6 2 i I
protected abstract int getBufferElement(int);
descriptor: (I)I
flags: (0x0404) ACC_PROTECTED, ACC_ABSTRACT
MethodParameters:
Name Flags
index
}
SourceFile: "AbstractChunk.java"