public class org.apache.lucene.spatial.query.SpatialArgsParser
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.apache.lucene.spatial.query.SpatialArgsParser
super_class: java.lang.Object
{
public static final java.lang.String DIST_ERR_PCT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "distErrPct"
public static final java.lang.String DIST_ERR;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "distErr"
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/query/SpatialArgsParser;
static java.lang.String writeSpatialArgs(org.apache.lucene.spatial.query.SpatialArgs);
descriptor: (Lorg/apache/lucene/spatial/query/SpatialArgs;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=10, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getOperation:()Lorg/apache/lucene/spatial/query/SpatialOperation;
invokevirtual org.apache.lucene.spatial.query.SpatialOperation.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
bipush 40
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
3: aload 1
aload 0
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getShape:()Lorg/locationtech/spatial4j/shape/Shape;
invokevirtual java.lang.Object.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
4: aload 0
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getDistErrPct:()Ljava/lang/Double;
ifnull 6
5: aload 1
ldc " distErrPct="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
getstatic java.util.Locale.ROOT:Ljava/util/Locale;
ldc "%.2f%%"
iconst_1
anewarray java.lang.Object
dup
iconst_0
aload 0
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getDistErrPct:()Ljava/lang/Double;
invokevirtual java.lang.Double.doubleValue:()D
ldc 100.0
dmul
invokestatic java.lang.Double.valueOf:(D)Ljava/lang/Double;
aastore
invokestatic java.lang.String.format:(Ljava/util/Locale;Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 0
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getDistErr:()Ljava/lang/Double;
ifnull 8
7: aload 1
ldc " distErr="
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 0
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.getDistErr:()Ljava/lang/Double;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
pop
8: StackMap locals:
StackMap stack:
aload 1
bipush 41
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
9: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 args Lorg/apache/lucene/spatial/query/SpatialArgs;
1 10 1 str Ljava/lang/StringBuilder;
MethodParameters:
Name Flags
args
public org.apache.lucene.spatial.query.SpatialArgs parse(java.lang.String, org.locationtech.spatial4j.context.SpatialContext);
descriptor: (Ljava/lang/String;Lorg/locationtech/spatial4j/context/SpatialContext;)Lorg/apache/lucene/spatial/query/SpatialArgs;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=10, args_size=3
start local 0 start local 1 start local 2 0: aload 1
bipush 40
invokevirtual java.lang.String.indexOf:(I)I
istore 3
start local 3 1: aload 1
bipush 41
invokevirtual java.lang.String.lastIndexOf:(I)I
istore 4
start local 4 2: iload 3
iflt 3
iload 3
iload 4
if_icmple 4
3: StackMap locals: int int
StackMap stack:
new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "missing parens: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iconst_m1
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
4: StackMap locals:
StackMap stack:
aload 1
iconst_0
iload 3
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
invokestatic org.apache.lucene.spatial.query.SpatialOperation.get:(Ljava/lang/String;)Lorg/apache/lucene/spatial/query/SpatialOperation;
astore 5
start local 5 5: aload 1
iload 3
iconst_1
iadd
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 6
start local 6 6: aload 6
invokevirtual java.lang.String.length:()I
iconst_1
if_icmpge 8
7: new java.text.ParseException
dup
new java.lang.StringBuilder
dup
ldc "missing body : "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
iload 3
iconst_1
iadd
invokespecial java.text.ParseException.<init>:(Ljava/lang/String;I)V
athrow
8: StackMap locals: org.apache.lucene.spatial.query.SpatialOperation java.lang.String
StackMap stack:
aload 0
aload 6
aload 2
invokevirtual org.apache.lucene.spatial.query.SpatialArgsParser.parseShape:(Ljava/lang/String;Lorg/locationtech/spatial4j/context/SpatialContext;)Lorg/locationtech/spatial4j/shape/Shape;
astore 7
start local 7 9: aload 0
aload 5
aload 7
invokevirtual org.apache.lucene.spatial.query.SpatialArgsParser.newSpatialArgs:(Lorg/apache/lucene/spatial/query/SpatialOperation;Lorg/locationtech/spatial4j/shape/Shape;)Lorg/apache/lucene/spatial/query/SpatialArgs;
astore 8
start local 8 10: aload 1
invokevirtual java.lang.String.length:()I
iload 4
iconst_1
iadd
if_icmple 17
11: aload 1
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
astore 6
12: aload 6
invokevirtual java.lang.String.length:()I
ifle 17
13: aload 6
invokestatic org.apache.lucene.spatial.query.SpatialArgsParser.parseMap:(Ljava/lang/String;)Ljava/util/Map;
astore 9
start local 9 14: aload 0
aload 8
aload 9
invokevirtual org.apache.lucene.spatial.query.SpatialArgsParser.readNameValuePairs:(Lorg/apache/lucene/spatial/query/SpatialArgs;Ljava/util/Map;)V
15: aload 9
invokeinterface java.util.Map.isEmpty:()Z
ifne 17
16: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "unused parameters: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 9
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 9 17: StackMap locals: org.locationtech.spatial4j.shape.Shape org.apache.lucene.spatial.query.SpatialArgs
StackMap stack:
aload 8
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.validate:()V
18: aload 8
areturn
end local 8 end local 7 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 19 0 this Lorg/apache/lucene/spatial/query/SpatialArgsParser;
0 19 1 v Ljava/lang/String;
0 19 2 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
1 19 3 idx I
2 19 4 edx I
5 19 5 op Lorg/apache/lucene/spatial/query/SpatialOperation;
6 19 6 body Ljava/lang/String;
9 19 7 shape Lorg/locationtech/spatial4j/shape/Shape;
10 19 8 args Lorg/apache/lucene/spatial/query/SpatialArgs;
14 17 9 aa Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Exceptions:
throws java.text.ParseException, org.locationtech.spatial4j.exception.InvalidShapeException
MethodParameters:
Name Flags
v
ctx
protected org.apache.lucene.spatial.query.SpatialArgs newSpatialArgs(org.apache.lucene.spatial.query.SpatialOperation, org.locationtech.spatial4j.shape.Shape);
descriptor: (Lorg/apache/lucene/spatial/query/SpatialOperation;Lorg/locationtech/spatial4j/shape/Shape;)Lorg/apache/lucene/spatial/query/SpatialArgs;
flags: (0x0004) ACC_PROTECTED
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: new org.apache.lucene.spatial.query.SpatialArgs
dup
aload 1
aload 2
invokespecial org.apache.lucene.spatial.query.SpatialArgs.<init>:(Lorg/apache/lucene/spatial/query/SpatialOperation;Lorg/locationtech/spatial4j/shape/Shape;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/query/SpatialArgsParser;
0 1 1 op Lorg/apache/lucene/spatial/query/SpatialOperation;
0 1 2 shape Lorg/locationtech/spatial4j/shape/Shape;
MethodParameters:
Name Flags
op
shape
protected void readNameValuePairs(org.apache.lucene.spatial.query.SpatialArgs, java.util.Map<java.lang.String, java.lang.String>);
descriptor: (Lorg/apache/lucene/spatial/query/SpatialArgs;Ljava/util/Map;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 1
aload 2
ldc "distErrPct"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.apache.lucene.spatial.query.SpatialArgsParser.readDouble:(Ljava/lang/String;)Ljava/lang/Double;
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.setDistErrPct:(Ljava/lang/Double;)V
1: aload 1
aload 2
ldc "distErr"
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast java.lang.String
invokestatic org.apache.lucene.spatial.query.SpatialArgsParser.readDouble:(Ljava/lang/String;)Ljava/lang/Double;
invokevirtual org.apache.lucene.spatial.query.SpatialArgs.setDistErr:(Ljava/lang/Double;)V
2: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/spatial/query/SpatialArgsParser;
0 3 1 args Lorg/apache/lucene/spatial/query/SpatialArgs;
0 3 2 nameValPairs Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
Signature: (Lorg/apache/lucene/spatial/query/SpatialArgs;Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;)V
MethodParameters:
Name Flags
args
nameValPairs
protected org.locationtech.spatial4j.shape.Shape parseShape(java.lang.String, org.locationtech.spatial4j.context.SpatialContext);
descriptor: (Ljava/lang/String;Lorg/locationtech/spatial4j/context/SpatialContext;)Lorg/locationtech/spatial4j/shape/Shape;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 2
aload 1
invokevirtual org.locationtech.spatial4j.context.SpatialContext.readShapeFromWkt:(Ljava/lang/String;)Lorg/locationtech/spatial4j/shape/Shape;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/spatial/query/SpatialArgsParser;
0 1 1 str Ljava/lang/String;
0 1 2 ctx Lorg/locationtech/spatial4j/context/SpatialContext;
Exceptions:
throws java.text.ParseException
MethodParameters:
Name Flags
str
ctx
protected static java.lang.Double readDouble(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Double;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 1
aconst_null
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokestatic java.lang.Double.valueOf:(Ljava/lang/String;)Ljava/lang/Double;
StackMap locals:
StackMap stack: java.lang.Double
2: areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 v Ljava/lang/String;
MethodParameters:
Name Flags
v
protected static boolean readBool(java.lang.String, boolean);
descriptor: (Ljava/lang/String;Z)Z
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=1, locals=2, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 1
iload 1
goto 2
StackMap locals:
StackMap stack:
1: aload 0
invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
StackMap locals:
StackMap stack: int
2: ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 v Ljava/lang/String;
0 3 1 defaultValue Z
MethodParameters:
Name Flags
v
defaultValue
protected static java.util.Map<java.lang.String, java.lang.String> parseMap(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/util/Map;
flags: (0x000c) ACC_PROTECTED, ACC_STATIC
Code:
stack=4, locals=7, args_size=1
start local 0 0: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
astore 1
start local 1 1: new java.util.StringTokenizer
dup
aload 0
ldc " \n\t"
invokespecial java.util.StringTokenizer.<init>:(Ljava/lang/String;Ljava/lang/String;)V
astore 2
start local 2 2: goto 11
3: StackMap locals: java.util.Map java.util.StringTokenizer
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.nextToken:()Ljava/lang/String;
astore 3
start local 3 4: aload 3
bipush 61
invokevirtual java.lang.String.indexOf:(I)I
istore 4
start local 4 5: iload 4
ifle 10
6: aload 3
iconst_0
iload 4
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 5
start local 5 7: aload 3
iload 4
iconst_1
iadd
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
astore 6
start local 6 8: aload 1
aload 5
aload 6
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 6 end local 5 9: goto 11
10: StackMap locals: java.lang.String int
StackMap stack:
aload 1
aload 3
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 4 end local 3 11: StackMap locals:
StackMap stack:
aload 2
invokevirtual java.util.StringTokenizer.hasMoreTokens:()Z
ifne 3
12: aload 1
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 body Ljava/lang/String;
1 13 1 map Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
2 13 2 st Ljava/util/StringTokenizer;
4 11 3 a Ljava/lang/String;
5 11 4 idx I
7 9 5 k Ljava/lang/String;
8 9 6 v Ljava/lang/String;
Signature: (Ljava/lang/String;)Ljava/util/Map<Ljava/lang/String;Ljava/lang/String;>;
MethodParameters:
Name Flags
body
}
SourceFile: "SpatialArgsParser.java"