public class org.apache.lucene.util.BytesRefBuilder
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.util.BytesRefBuilder
super_class: java.lang.Object
{
private final org.apache.lucene.util.BytesRef ref;
descriptor: Lorg/apache/lucene/util/BytesRef;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static final boolean $assertionsDisabled;
descriptor: Z
flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: ldc Lorg/apache/lucene/util/BytesRefBuilder;
invokevirtual java.lang.Class.desiredAssertionStatus:()Z
ifne 1
iconst_1
goto 2
StackMap locals:
StackMap stack:
1: iconst_0
StackMap locals:
StackMap stack: int
2: putstatic org.apache.lucene.util.BytesRefBuilder.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.apache.lucene.util.BytesRef
dup
invokespecial org.apache.lucene.util.BytesRef.<init>:()V
putfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/BytesRefBuilder;
public byte[] bytes();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.bytes:[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/BytesRefBuilder;
public int length();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.length:I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/BytesRefBuilder;
public void setLength(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.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
iload 1
putfield org.apache.lucene.util.BytesRef.length:I
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 2 1 length I
MethodParameters:
Name Flags
length
public byte byteAt(int);
descriptor: (I)B
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.bytes:[B
iload 1
baload
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 1 1 offset I
MethodParameters:
Name Flags
offset
public void setByteAt(int, byte);
descriptor: (IB)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.bytes:[B
iload 1
iload 2
bastore
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 2 1 offset I
0 2 2 b B
MethodParameters:
Name Flags
offset
b
public void grow(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.bytes:[B
iload 1
invokestatic org.apache.lucene.util.ArrayUtil.grow:([BI)[B
putfield org.apache.lucene.util.BytesRef.bytes:[B
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 2 1 capacity I
MethodParameters:
Name Flags
capacity
public void append(byte);
descriptor: (B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.length:I
iconst_1
iadd
invokevirtual org.apache.lucene.util.BytesRefBuilder.grow:(I)V
1: aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
dup
getfield org.apache.lucene.util.BytesRef.length:I
dup_x1
iconst_1
iadd
putfield org.apache.lucene.util.BytesRef.length:I
iload 1
bastore
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 3 1 b B
MethodParameters:
Name Flags
b
public void append(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.length:I
iload 3
iadd
invokevirtual org.apache.lucene.util.BytesRefBuilder.grow:(I)V
1: aload 1
iload 2
aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.length:I
iload 3
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
dup
getfield org.apache.lucene.util.BytesRef.length:I
iload 3
iadd
putfield org.apache.lucene.util.BytesRef.length:I
3: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 4 1 b [B
0 4 2 off I
0 4 3 len I
MethodParameters:
Name Flags
b
off
len
public void append(org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/BytesRef;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
getfield org.apache.lucene.util.BytesRef.bytes:[B
aload 1
getfield org.apache.lucene.util.BytesRef.offset:I
aload 1
getfield org.apache.lucene.util.BytesRef.length:I
invokevirtual org.apache.lucene.util.BytesRefBuilder.append:([BII)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 2 1 ref Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
ref
public void append(org.apache.lucene.util.BytesRefBuilder);
descriptor: (Lorg/apache/lucene/util/BytesRefBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.util.BytesRefBuilder.get:()Lorg/apache/lucene/util/BytesRef;
invokevirtual org.apache.lucene.util.BytesRefBuilder.append:(Lorg/apache/lucene/util/BytesRef;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 2 1 builder Lorg/apache/lucene/util/BytesRefBuilder;
MethodParameters:
Name Flags
builder
public void clear();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
invokevirtual org.apache.lucene.util.BytesRefBuilder.setLength:(I)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/BytesRefBuilder;
public void copyBytes(byte[], int, int);
descriptor: ([BII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokevirtual org.apache.lucene.util.BytesRefBuilder.clear:()V
1: aload 0
aload 1
iload 2
iload 3
invokevirtual org.apache.lucene.util.BytesRefBuilder.append:([BII)V
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 3 1 b [B
0 3 2 off I
0 3 3 len I
MethodParameters:
Name Flags
b
off
len
public void copyBytes(org.apache.lucene.util.BytesRef);
descriptor: (Lorg/apache/lucene/util/BytesRef;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.lucene.util.BytesRefBuilder.clear:()V
1: aload 0
aload 1
invokevirtual org.apache.lucene.util.BytesRefBuilder.append:(Lorg/apache/lucene/util/BytesRef;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 3 1 ref Lorg/apache/lucene/util/BytesRef;
MethodParameters:
Name Flags
ref
public void copyBytes(org.apache.lucene.util.BytesRefBuilder);
descriptor: (Lorg/apache/lucene/util/BytesRefBuilder;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokevirtual org.apache.lucene.util.BytesRefBuilder.clear:()V
1: aload 0
aload 1
invokevirtual org.apache.lucene.util.BytesRefBuilder.append:(Lorg/apache/lucene/util/BytesRefBuilder;)V
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 3 1 builder Lorg/apache/lucene/util/BytesRefBuilder;
MethodParameters:
Name Flags
builder
public void copyChars(java.lang.CharSequence);
descriptor: (Ljava/lang/CharSequence;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
iconst_0
aload 1
invokeinterface java.lang.CharSequence.length:()I
invokevirtual org.apache.lucene.util.BytesRefBuilder.copyChars:(Ljava/lang/CharSequence;II)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 2 1 text Ljava/lang/CharSequence;
MethodParameters:
Name Flags
text
public void copyChars(java.lang.CharSequence, int, int);
descriptor: (Ljava/lang/CharSequence;II)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
invokestatic org.apache.lucene.util.UnicodeUtil.maxUTF8Length:(I)I
invokevirtual org.apache.lucene.util.BytesRefBuilder.grow:(I)V
1: aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
aload 1
iload 2
iload 3
aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.bytes:[B
invokestatic org.apache.lucene.util.UnicodeUtil.UTF16toUTF8:(Ljava/lang/CharSequence;II[B)I
putfield org.apache.lucene.util.BytesRef.length:I
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 3 1 text Ljava/lang/CharSequence;
0 3 2 off I
0 3 3 len I
MethodParameters:
Name Flags
text
off
len
public void copyChars(char[], int, int);
descriptor: ([CII)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
iload 3
invokestatic org.apache.lucene.util.UnicodeUtil.maxUTF8Length:(I)I
invokevirtual org.apache.lucene.util.BytesRefBuilder.grow:(I)V
1: aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
aload 1
iload 2
iload 3
aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.bytes:[B
invokestatic org.apache.lucene.util.UnicodeUtil.UTF16toUTF8:([CII[B)I
putfield org.apache.lucene.util.BytesRef.length:I
2: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 3 1 text [C
0 3 2 off I
0 3 3 len I
MethodParameters:
Name Flags
text
off
len
public org.apache.lucene.util.BytesRef get();
descriptor: ()Lorg/apache/lucene/util/BytesRef;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.util.BytesRefBuilder.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.offset:I
ifeq 1
new java.lang.AssertionError
dup
ldc "Modifying the offset of the returned ref is illegal"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/util/BytesRefBuilder;
public org.apache.lucene.util.BytesRef toBytesRef();
descriptor: ()Lorg/apache/lucene/util/BytesRef;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: new org.apache.lucene.util.BytesRef
dup
aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.bytes:[B
iconst_0
aload 0
getfield org.apache.lucene.util.BytesRefBuilder.ref:Lorg/apache/lucene/util/BytesRef;
getfield org.apache.lucene.util.BytesRef.length:I
invokestatic org.apache.lucene.util.ArrayUtil.copyOfSubArray:([BII)[B
invokespecial org.apache.lucene.util.BytesRef.<init>:([B)V
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/BytesRefBuilder;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/BytesRefBuilder;
0 1 1 obj Ljava/lang/Object;
MethodParameters:
Name Flags
obj
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: new java.lang.UnsupportedOperationException
dup
invokespecial java.lang.UnsupportedOperationException.<init>:()V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/util/BytesRefBuilder;
}
SourceFile: "BytesRefBuilder.java"