class io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger
super_class: java.lang.Object
{
private final java.lang.String rootPath;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.lang.Class<?> klass;
descriptor: Ljava/lang/Class;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
Signature: Ljava/lang/Class<*>;
void <init>(java.lang.String, java.lang.String, java.lang.Class<?>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)V
flags: (0x0000)
Code:
stack=4, locals=6, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
ldc "/*"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 2
aload 2
iconst_0
aload 2
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
goto 3
StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger java.lang.String java.lang.String java.lang.Class
StackMap stack:
2: aload 2
StackMap locals:
StackMap stack: java.lang.String
3: astore 4
start local 4 4: aload 1
invokevirtual java.lang.String.isEmpty:()Z
ifne 5
aload 1
ldc "/"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 6
StackMap locals: java.lang.String
StackMap stack:
5: ldc ""
goto 8
6: StackMap locals:
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 7
aload 1
goto 8
StackMap locals:
StackMap stack:
7: new java.lang.StringBuilder
dup
ldc "/"
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;
8: StackMap locals:
StackMap stack: java.lang.String
astore 5
start local 5 9: aload 0
new java.lang.StringBuilder
dup
aload 5
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
putfield io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger.rootPath:Ljava/lang/String;
10: aload 0
aload 3
putfield io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger.klass:Ljava/lang/Class;
11: return
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 12 0 this Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogger;
0 12 1 contextPath Ljava/lang/String;
0 12 2 urlPattern Ljava/lang/String;
0 12 3 klass Ljava/lang/Class<*>;
4 12 4 rootPattern Ljava/lang/String;
9 12 5 normalizedContextPath Ljava/lang/String;
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class<*>;)V
MethodParameters:
Name Flags
contextPath
urlPattern
klass
public void populate(java.util.Set<io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine>);
descriptor: (Ljava/util/Set;)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 io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger.rootPath:Ljava/lang/String;
aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger.klass:Ljava/lang/Class;
iconst_0
aload 1
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger.populate:(Ljava/lang/String;Ljava/lang/Class;ZLjava/util/Set;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogger;
0 2 1 endpointLogLines Ljava/util/Set<Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogLine;>;
Signature: (Ljava/util/Set<Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogLine;>;)V
MethodParameters:
Name Flags
endpointLogLines
private void populate(java.lang.String, java.lang.Class<?>, boolean, java.util.Set<io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;ZLjava/util/Set;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
aload 1
aload 2
iload 3
aload 2
invokestatic org.glassfish.jersey.server.model.Resource.from:(Ljava/lang/Class;)Lorg/glassfish/jersey/server/model/Resource;
aload 4
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger.populate:(Ljava/lang/String;Ljava/lang/Class;ZLorg/glassfish/jersey/server/model/Resource;Ljava/util/Set;)V
1: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogger;
0 2 1 basePath Ljava/lang/String;
0 2 2 klass Ljava/lang/Class<*>;
0 2 3 isLocator Z
0 2 4 endpointLogLines Ljava/util/Set<Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogLine;>;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;ZLjava/util/Set<Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogLine;>;)V
MethodParameters:
Name Flags
basePath
klass
isLocator
endpointLogLines
private void populate(java.lang.String, java.lang.Class<?>, boolean, org.glassfish.jersey.server.model.Resource, java.util.Set<io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine>);
descriptor: (Ljava/lang/String;Ljava/lang/Class;ZLorg/glassfish/jersey/server/model/Resource;Ljava/util/Set;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=6, locals=13, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: iload 3
ifne 2
1: aload 1
aload 4
invokevirtual org.glassfish.jersey.server.model.Resource.getPath:()Ljava/lang/String;
invokestatic io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger.normalizePath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 1
2: StackMap locals:
StackMap stack:
aload 4
invokevirtual org.glassfish.jersey.server.model.Resource.getResourceMethods:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 5
StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger java.lang.String java.lang.Class int org.glassfish.jersey.server.model.Resource java.util.Set top java.util.Iterator
StackMap stack:
3: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.ResourceMethod
astore 6
start local 6 4: aload 5
new io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine
dup
aload 6
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getHttpMethod:()Ljava/lang/String;
aload 1
aload 2
invokespecial io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 6 5: StackMap locals:
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 3
6: aload 4
invokevirtual org.glassfish.jersey.server.model.Resource.getChildResources:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 7
goto 28
StackMap locals:
StackMap stack:
7: aload 7
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.Resource
astore 6
start local 6 8: aload 6
invokevirtual org.glassfish.jersey.server.model.Resource.getAllMethods:()Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 9
goto 27
StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger java.lang.String java.lang.Class int org.glassfish.jersey.server.model.Resource java.util.Set org.glassfish.jersey.server.model.Resource java.util.Iterator top java.util.Iterator
StackMap stack:
9: aload 9
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast org.glassfish.jersey.server.model.ResourceMethod
astore 8
start local 8 10: aload 8
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getType:()Lorg/glassfish/jersey/server/model/ResourceMethod$JaxrsType;
getstatic org.glassfish.jersey.server.model.ResourceMethod$JaxrsType.RESOURCE_METHOD:Lorg/glassfish/jersey/server/model/ResourceMethod$JaxrsType;
if_acmpne 14
11: aload 1
aload 6
invokevirtual org.glassfish.jersey.server.model.Resource.getPath:()Ljava/lang/String;
invokestatic io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger.normalizePath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 12: aload 5
new io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine
dup
aload 8
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getHttpMethod:()Ljava/lang/String;
aload 10
aload 2
invokespecial io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 10 13: goto 27
StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger java.lang.String java.lang.Class int org.glassfish.jersey.server.model.Resource java.util.Set org.glassfish.jersey.server.model.Resource java.util.Iterator org.glassfish.jersey.server.model.ResourceMethod java.util.Iterator
StackMap stack:
14: aload 8
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getType:()Lorg/glassfish/jersey/server/model/ResourceMethod$JaxrsType;
getstatic org.glassfish.jersey.server.model.ResourceMethod$JaxrsType.SUB_RESOURCE_LOCATOR:Lorg/glassfish/jersey/server/model/ResourceMethod$JaxrsType;
if_acmpne 27
15: aload 1
aload 6
invokevirtual org.glassfish.jersey.server.model.Resource.getPath:()Ljava/lang/String;
invokestatic io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger.normalizePath:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
astore 10
start local 10 16: getstatic io.dropwizard.jersey.DropwizardResourceConfig.TYPE_RESOLVER:Lcom/fasterxml/classmate/TypeResolver;
17: aload 8
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getInvocable:()Lorg/glassfish/jersey/server/model/Invocable;
invokevirtual org.glassfish.jersey.server.model.Invocable.getResponseType:()Ljava/lang/reflect/Type;
iconst_0
anewarray java.lang.reflect.Type
invokevirtual com.fasterxml.classmate.TypeResolver.resolve:(Ljava/lang/reflect/Type;[Ljava/lang/reflect/Type;)Lcom/fasterxml/classmate/ResolvedType;
18: astore 11
start local 11 19: aload 11
invokevirtual com.fasterxml.classmate.ResolvedType.getTypeBindings:()Lcom/fasterxml/classmate/TypeBindings;
invokevirtual com.fasterxml.classmate.TypeBindings.isEmpty:()Z
ifne 21
20: aload 11
invokevirtual com.fasterxml.classmate.ResolvedType.getTypeBindings:()Lcom/fasterxml/classmate/TypeBindings;
iconst_0
invokevirtual com.fasterxml.classmate.TypeBindings.getBoundType:(I)Lcom/fasterxml/classmate/ResolvedType;
invokevirtual com.fasterxml.classmate.ResolvedType.getErasedType:()Ljava/lang/Class;
goto 22
21: StackMap locals: java.lang.String com.fasterxml.classmate.ResolvedType
StackMap stack:
aload 11
invokevirtual com.fasterxml.classmate.ResolvedType.getErasedType:()Ljava/lang/Class;
22: StackMap locals:
StackMap stack: java.lang.Class
astore 12
start local 12 23: aload 12
invokestatic org.glassfish.jersey.server.model.Resource.from:(Ljava/lang/Class;)Lorg/glassfish/jersey/server/model/Resource;
ifnonnull 26
24: aload 5
new io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine
dup
aload 8
invokevirtual org.glassfish.jersey.server.model.ResourceMethod.getHttpMethod:()Ljava/lang/String;
aload 10
aload 12
invokespecial io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine.<init>:(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Class;)V
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
25: goto 27
26: StackMap locals: java.lang.Class
StackMap stack:
aload 0
aload 10
aload 12
iconst_1
aload 5
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger.populate:(Ljava/lang/String;Ljava/lang/Class;ZLjava/util/Set;)V
end local 12 end local 11 end local 10 end local 8 27: StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger java.lang.String java.lang.Class int org.glassfish.jersey.server.model.Resource java.util.Set org.glassfish.jersey.server.model.Resource java.util.Iterator top java.util.Iterator
StackMap stack:
aload 9
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 6 28: StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger java.lang.String java.lang.Class int org.glassfish.jersey.server.model.Resource java.util.Set top java.util.Iterator
StackMap stack:
aload 7
invokeinterface java.util.Iterator.hasNext:()Z
ifne 7
29: return
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 30 0 this Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogger;
0 30 1 basePath Ljava/lang/String;
0 30 2 klass Ljava/lang/Class<*>;
0 30 3 isLocator Z
0 30 4 resource Lorg/glassfish/jersey/server/model/Resource;
0 30 5 endpointLogLines Ljava/util/Set<Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogLine;>;
4 5 6 method Lorg/glassfish/jersey/server/model/ResourceMethod;
8 28 6 childResource Lorg/glassfish/jersey/server/model/Resource;
10 27 8 method Lorg/glassfish/jersey/server/model/ResourceMethod;
12 13 10 path Ljava/lang/String;
16 27 10 path Ljava/lang/String;
19 27 11 responseType Lcom/fasterxml/classmate/ResolvedType;
23 27 12 erasedType Ljava/lang/Class<*>;
Signature: (Ljava/lang/String;Ljava/lang/Class<*>;ZLorg/glassfish/jersey/server/model/Resource;Ljava/util/Set<Lio/dropwizard/jersey/DropwizardResourceConfig$EndpointLogLine;>;)V
MethodParameters:
Name Flags
basePath
klass
isLocator
resource
endpointLogLines
private static java.lang.String normalizePath(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 1
ifnonnull 2
1: aload 0
areturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 6
3: aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 4
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
iconst_1
invokevirtual java.lang.String.substring:(I)Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
goto 5
StackMap locals:
StackMap stack:
4: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
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;
StackMap locals:
StackMap stack: java.lang.String
5: areturn
6: StackMap locals:
StackMap stack:
aload 1
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 7
new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
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;
goto 8
StackMap locals:
StackMap stack:
7: new java.lang.StringBuilder
dup
aload 0
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
ldc "/"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
StackMap locals:
StackMap stack: java.lang.String
8: areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 basePath Ljava/lang/String;
0 9 1 path Ljava/lang/String;
MethodParameters:
Name Flags
basePath
path
}
SourceFile: "DropwizardResourceConfig.java"
NestHost: io.dropwizard.jersey.DropwizardResourceConfig
InnerClasses:
private EndpointLogLine = io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine of io.dropwizard.jersey.DropwizardResourceConfig
private EndpointLogger = io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogger of io.dropwizard.jersey.DropwizardResourceConfig
public abstract JaxrsType = org.glassfish.jersey.server.model.ResourceMethod$JaxrsType of org.glassfish.jersey.server.model.ResourceMethod