class org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder implements org.springframework.web.util.UriComponentsBuilder$PathComponentBuilder
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder
super_class: java.lang.Object
{
private final java.util.List<java.lang.String> pathSegments;
descriptor: Ljava/util/List;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/util/List<Ljava/lang/String;>;
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder.pathSegments:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/util/UriComponentsBuilder$PathSegmentComponentBuilder;
public void append(java.lang.String[]);
descriptor: ([Ljava/lang/String;)V
flags: (0x0081) ACC_PUBLIC, ACC_VARARGS
Code:
stack=2, locals=6, args_size=2
start local 0 start local 1 0: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 5
StackMap locals: org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder java.lang.String[] top int int java.lang.String[]
StackMap stack:
1: aload 5
iload 3
aaload
astore 2
start local 2 2: aload 2
invokestatic org.springframework.util.StringUtils.hasText:(Ljava/lang/String;)Z
ifeq 4
3: aload 0
getfield org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder.pathSegments:Ljava/util/List;
aload 2
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
iinc 3 1
StackMap locals:
StackMap stack:
5: iload 3
iload 4
if_icmplt 1
6: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lorg/springframework/web/util/UriComponentsBuilder$PathSegmentComponentBuilder;
0 7 1 pathSegments [Ljava/lang/String;
2 4 2 pathSegment Ljava/lang/String;
MethodParameters:
Name Flags
pathSegments
public org.springframework.web.util.HierarchicalUriComponents$PathComponent build();
descriptor: ()Lorg/springframework/web/util/HierarchicalUriComponents$PathComponent;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
getfield org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder.pathSegments:Ljava/util/List;
invokeinterface java.util.List.isEmpty:()Z
ifeq 1
aconst_null
goto 2
1: StackMap locals:
StackMap stack:
new org.springframework.web.util.HierarchicalUriComponents$PathSegmentComponent
dup
aload 0
getfield org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder.pathSegments:Ljava/util/List;
invokespecial org.springframework.web.util.HierarchicalUriComponents$PathSegmentComponent.<init>:(Ljava/util/List;)V
2: StackMap locals:
StackMap stack: org.springframework.web.util.HierarchicalUriComponents$PathSegmentComponent
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/util/UriComponentsBuilder$PathSegmentComponentBuilder;
public org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder cloneBuilder();
descriptor: ()Lorg/springframework/web/util/UriComponentsBuilder$PathSegmentComponentBuilder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder
dup
invokespecial org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder.<init>:()V
astore 1
start local 1 1: aload 1
getfield org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder.pathSegments:Ljava/util/List;
aload 0
getfield org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder.pathSegments:Ljava/util/List;
invokeinterface java.util.List.addAll:(Ljava/util/Collection;)Z
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/springframework/web/util/UriComponentsBuilder$PathSegmentComponentBuilder;
1 3 1 builder Lorg/springframework/web/util/UriComponentsBuilder$PathSegmentComponentBuilder;
public org.springframework.web.util.UriComponentsBuilder$PathComponentBuilder cloneBuilder();
descriptor: ()Lorg/springframework/web/util/UriComponentsBuilder$PathComponentBuilder;
flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
Code:
stack=1, locals=1, args_size=1
0: aload 0
invokevirtual org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder.cloneBuilder:()Lorg/springframework/web/util/UriComponentsBuilder$PathSegmentComponentBuilder;
areturn
LocalVariableTable:
Start End Slot Name Signature
}
SourceFile: "UriComponentsBuilder.java"
NestHost: org.springframework.web.util.UriComponentsBuilder
InnerClasses:
abstract PathComponent = org.springframework.web.util.HierarchicalUriComponents$PathComponent of org.springframework.web.util.HierarchicalUriComponents
final PathSegmentComponent = org.springframework.web.util.HierarchicalUriComponents$PathSegmentComponent of org.springframework.web.util.HierarchicalUriComponents
private abstract PathComponentBuilder = org.springframework.web.util.UriComponentsBuilder$PathComponentBuilder of org.springframework.web.util.UriComponentsBuilder
private PathSegmentComponentBuilder = org.springframework.web.util.UriComponentsBuilder$PathSegmentComponentBuilder of org.springframework.web.util.UriComponentsBuilder