public class org.jboss.resteasy.core.registry.MethodExpression extends org.jboss.resteasy.core.registry.Expression
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.jboss.resteasy.core.registry.MethodExpression
super_class: org.jboss.resteasy.core.registry.Expression
{
protected org.jboss.resteasy.core.registry.SegmentNode parent;
descriptor: Lorg/jboss/resteasy/core/registry/SegmentNode;
flags: (0x0004) ACC_PROTECTED
protected org.jboss.resteasy.core.ResourceInvoker invoker;
descriptor: Lorg/jboss/resteasy/core/ResourceInvoker;
flags: (0x0004) ACC_PROTECTED
public int compareTo(org.jboss.resteasy.core.registry.Expression);
descriptor: (Lorg/jboss/resteasy/core/registry/Expression;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=4, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokespecial org.jboss.resteasy.core.registry.Expression.compareTo:(Lorg/jboss/resteasy/core/registry/Expression;)I
istore 2
start local 2 1: iload 2
ifeq 2
iload 2
ireturn
2: StackMap locals: int
StackMap stack:
aload 1
checkcast org.jboss.resteasy.core.registry.MethodExpression
astore 3
start local 3 3: aload 0
getfield org.jboss.resteasy.core.registry.MethodExpression.invoker:Lorg/jboss/resteasy/core/ResourceInvoker;
instanceof org.jboss.resteasy.core.ResourceMethodInvoker
ifeq 5
aload 3
getfield org.jboss.resteasy.core.registry.MethodExpression.invoker:Lorg/jboss/resteasy/core/ResourceInvoker;
instanceof org.jboss.resteasy.core.ResourceLocatorInvoker
ifeq 5
4: iconst_m1
ireturn
5: StackMap locals: org.jboss.resteasy.core.registry.MethodExpression
StackMap stack:
aload 0
getfield org.jboss.resteasy.core.registry.MethodExpression.invoker:Lorg/jboss/resteasy/core/ResourceInvoker;
instanceof org.jboss.resteasy.core.ResourceLocatorInvoker
ifeq 7
aload 3
getfield org.jboss.resteasy.core.registry.MethodExpression.invoker:Lorg/jboss/resteasy/core/ResourceInvoker;
instanceof org.jboss.resteasy.core.ResourceMethodInvoker
ifeq 7
6: iconst_1
ireturn
7: StackMap locals:
StackMap stack:
iconst_0
ireturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 this Lorg/jboss/resteasy/core/registry/MethodExpression;
0 8 1 expression Lorg/jboss/resteasy/core/registry/Expression;
1 8 2 s I
3 8 3 me Lorg/jboss/resteasy/core/registry/MethodExpression;
MethodParameters:
Name Flags
expression
public void <init>(org.jboss.resteasy.core.registry.SegmentNode, java.lang.String, org.jboss.resteasy.core.ResourceInvoker);
descriptor: (Lorg/jboss/resteasy/core/registry/SegmentNode;Ljava/lang/String;Lorg/jboss/resteasy/core/ResourceInvoker;)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 1
aload 2
aload 3
aconst_null
invokespecial org.jboss.resteasy.core.registry.MethodExpression.<init>:(Lorg/jboss/resteasy/core/registry/SegmentNode;Ljava/lang/String;Lorg/jboss/resteasy/core/ResourceInvoker;Ljava/lang/String;)V
1: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/jboss/resteasy/core/registry/MethodExpression;
0 2 1 parent Lorg/jboss/resteasy/core/registry/SegmentNode;
0 2 2 segment Ljava/lang/String;
0 2 3 invoker Lorg/jboss/resteasy/core/ResourceInvoker;
MethodParameters:
Name Flags
parent
segment
invoker
public void <init>(org.jboss.resteasy.core.registry.SegmentNode, java.lang.String, org.jboss.resteasy.core.ResourceInvoker, java.lang.String);
descriptor: (Lorg/jboss/resteasy/core/registry/SegmentNode;Ljava/lang/String;Lorg/jboss/resteasy/core/ResourceInvoker;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 2
aload 4
invokespecial org.jboss.resteasy.core.registry.Expression.<init>:(Ljava/lang/String;Ljava/lang/String;)V
1: aload 0
aload 1
putfield org.jboss.resteasy.core.registry.MethodExpression.parent:Lorg/jboss/resteasy/core/registry/SegmentNode;
2: aload 0
aload 3
putfield org.jboss.resteasy.core.registry.MethodExpression.invoker:Lorg/jboss/resteasy/core/ResourceInvoker;
3: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/jboss/resteasy/core/registry/MethodExpression;
0 4 1 parent Lorg/jboss/resteasy/core/registry/SegmentNode;
0 4 2 segment Ljava/lang/String;
0 4 3 invoker Lorg/jboss/resteasy/core/ResourceInvoker;
0 4 4 additionalRegex Ljava/lang/String;
MethodParameters:
Name Flags
parent
segment
invoker
additionalRegex
public void populatePathParams(org.jboss.resteasy.spi.HttpRequest, java.util.regex.Matcher, java.lang.String);
descriptor: (Lorg/jboss/resteasy/spi/HttpRequest;Ljava/util/regex/Matcher;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=15, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getUri:()Lorg/jboss/resteasy/spi/ResteasyUriInfo;
astore 4
start local 4 1: aload 0
getfield org.jboss.resteasy.core.registry.MethodExpression.groups:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 6
goto 35
StackMap locals: org.jboss.resteasy.core.registry.MethodExpression org.jboss.resteasy.spi.HttpRequest java.util.regex.Matcher java.lang.String org.jboss.resteasy.spi.ResteasyUriInfo top java.util.Iterator
StackMap stack:
2: aload 6
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.jboss.resteasy.core.registry.Expression$Group
astore 5
start local 5 3: aload 2
aload 5
getfield org.jboss.resteasy.core.registry.Expression$Group.group:I
invokevirtual java.util.regex.Matcher.group:(I)Ljava/lang/String;
astore 7
start local 7 4: aload 4
aload 5
getfield org.jboss.resteasy.core.registry.Expression$Group.name:Ljava/lang/String;
aload 7
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.addEncodedPathParameter:(Ljava/lang/String;Ljava/lang/String;)V
5: aload 2
aload 5
getfield org.jboss.resteasy.core.registry.Expression$Group.group:I
invokevirtual java.util.regex.Matcher.start:(I)I
istore 8
start local 8 6: iconst_0
istore 9
start local 9 7: aload 3
iconst_0
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 8
iinc 9 1
8: StackMap locals: org.jboss.resteasy.core.registry.MethodExpression org.jboss.resteasy.spi.HttpRequest java.util.regex.Matcher java.lang.String org.jboss.resteasy.spi.ResteasyUriInfo org.jboss.resteasy.core.registry.Expression$Group java.util.Iterator java.lang.String int int
StackMap stack:
iconst_0
istore 10
start local 10 9: iload 9
aload 3
invokevirtual java.lang.String.length:()I
if_icmpge 17
10: iconst_0
istore 11
start local 11 11: iload 9
istore 12
start local 12 12: goto 15
13: StackMap locals: int int int
StackMap stack:
aload 3
iload 12
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 14
iinc 11 1
14: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
15: iload 12
iload 8
if_icmpge 16
iload 12
aload 3
invokevirtual java.lang.String.length:()I
if_icmplt 13
end local 12 16: StackMap locals:
StackMap stack:
iload 11
istore 10
end local 11 17: StackMap locals:
StackMap stack:
iconst_1
istore 11
start local 11 18: iconst_0
istore 12
start local 12 19: goto 22
20: StackMap locals: int int
StackMap stack:
aload 7
iload 12
invokevirtual java.lang.String.charAt:(I)C
bipush 47
if_icmpne 21
iinc 11 1
21: StackMap locals:
StackMap stack:
iinc 12 1
StackMap locals:
StackMap stack:
22: iload 12
aload 7
invokevirtual java.lang.String.length:()I
if_icmplt 20
end local 12 23: iload 10
iload 11
iadd
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getUri:()Lorg/jboss/resteasy/spi/ResteasyUriInfo;
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.getPathSegments:()Ljava/util/List;
invokeinterface java.util.List.size:()I
if_icmple 25
24: new javax.ws.rs.BadRequestException
dup
getstatic org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.MESSAGES:Lorg/jboss/resteasy/resteasy_jaxrs/i18n/Messages;
invokeinterface org.jboss.resteasy.resteasy_jaxrs.i18n.Messages.numberOfMatchedSegments:()Ljava/lang/String;
invokespecial javax.ws.rs.BadRequestException.<init>:(Ljava/lang/String;)V
athrow
25: StackMap locals:
StackMap stack:
iload 11
anewarray javax.ws.rs.core.PathSegment
astore 12
start local 12 26: iload 11
anewarray javax.ws.rs.core.PathSegment
astore 13
start local 13 27: iconst_0
istore 14
start local 14 28: goto 32
29: StackMap locals: javax.ws.rs.core.PathSegment[] javax.ws.rs.core.PathSegment[] int
StackMap stack:
aload 13
iload 14
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getUri:()Lorg/jboss/resteasy/spi/ResteasyUriInfo;
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.getPathSegments:()Ljava/util/List;
iload 10
iload 14
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.ws.rs.core.PathSegment
aastore
30: aload 12
iload 14
aload 1
invokeinterface org.jboss.resteasy.spi.HttpRequest.getUri:()Lorg/jboss/resteasy/spi/ResteasyUriInfo;
iconst_0
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.getPathSegments:(Z)Ljava/util/List;
iload 10
iload 14
iadd
invokeinterface java.util.List.get:(I)Ljava/lang/Object;
checkcast javax.ws.rs.core.PathSegment
aastore
31: iinc 14 1
StackMap locals:
StackMap stack:
32: iload 14
iload 11
if_icmplt 29
end local 14 33: aload 4
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.getEncodedPathParameterPathSegments:()Ljavax/ws/rs/core/MultivaluedMap;
aload 5
getfield org.jboss.resteasy.core.registry.Expression$Group.name:Ljava/lang/String;
aload 12
invokeinterface javax.ws.rs.core.MultivaluedMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
34: aload 4
invokevirtual org.jboss.resteasy.spi.ResteasyUriInfo.getPathParameterPathSegments:()Ljavax/ws/rs/core/MultivaluedMap;
aload 5
getfield org.jboss.resteasy.core.registry.Expression$Group.name:Ljava/lang/String;
aload 13
invokeinterface javax.ws.rs.core.MultivaluedMap.add:(Ljava/lang/Object;Ljava/lang/Object;)V
end local 13 end local 12 end local 11 end local 10 end local 9 end local 8 end local 7 end local 5 35: StackMap locals: org.jboss.resteasy.core.registry.MethodExpression org.jboss.resteasy.spi.HttpRequest java.util.regex.Matcher java.lang.String org.jboss.resteasy.spi.ResteasyUriInfo top java.util.Iterator
StackMap stack:
aload 6
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
36: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 37 0 this Lorg/jboss/resteasy/core/registry/MethodExpression;
0 37 1 request Lorg/jboss/resteasy/spi/HttpRequest;
0 37 2 matcher Ljava/util/regex/Matcher;
0 37 3 path Ljava/lang/String;
1 37 4 uriInfo Lorg/jboss/resteasy/spi/ResteasyUriInfo;
3 35 5 group Lorg/jboss/resteasy/core/registry/Expression$Group;
4 35 7 value Ljava/lang/String;
6 35 8 index I
7 35 9 start I
9 35 10 segmentIndex I
11 17 11 count I
12 16 12 i I
18 35 11 numSegments I
19 23 12 i I
26 35 12 encodedSegments [Ljavax/ws/rs/core/PathSegment;
27 35 13 decodedSegments [Ljavax/ws/rs/core/PathSegment;
28 33 14 i I
MethodParameters:
Name Flags
request
matcher
path
public boolean isLocator();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.registry.MethodExpression.invoker:Lorg/jboss/resteasy/core/ResourceInvoker;
instanceof org.jboss.resteasy.core.ResourceLocatorInvoker
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/registry/MethodExpression;
public org.jboss.resteasy.core.ResourceInvoker getInvoker();
descriptor: ()Lorg/jboss/resteasy/core/ResourceInvoker;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.jboss.resteasy.core.registry.MethodExpression.invoker:Lorg/jboss/resteasy/core/ResourceInvoker;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/jboss/resteasy/core/registry/MethodExpression;
}
SourceFile: "MethodExpression.java"
InnerClasses:
protected Group = org.jboss.resteasy.core.registry.Expression$Group of org.jboss.resteasy.core.registry.Expression