public class io.dropwizard.jersey.DropwizardResourceConfig extends org.glassfish.jersey.server.ResourceConfig
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: io.dropwizard.jersey.DropwizardResourceConfig
super_class: org.glassfish.jersey.server.ResourceConfig
{
private static final org.slf4j.Logger LOGGER;
descriptor: Lorg/slf4j/Logger;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.lang.String NEWLINE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final com.fasterxml.classmate.TypeResolver TYPE_RESOLVER;
descriptor: Lcom/fasterxml/classmate/TypeResolver;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.regex.Pattern PATH_DIRTY_SLASHES;
descriptor: Ljava/util/regex/Pattern;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private java.lang.String urlPattern;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private java.lang.String contextPath;
descriptor: Ljava/lang/String;
flags: (0x0002) ACC_PRIVATE
private final io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener loggingListener;
descriptor: Lio/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: ldc Lio/dropwizard/jersey/DropwizardResourceConfig;
invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
putstatic io.dropwizard.jersey.DropwizardResourceConfig.LOGGER:Lorg/slf4j/Logger;
1: ldc "%n"
iconst_0
anewarray java.lang.Object
invokestatic java.lang.String.format:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
putstatic io.dropwizard.jersey.DropwizardResourceConfig.NEWLINE:Ljava/lang/String;
2: new com.fasterxml.classmate.TypeResolver
dup
invokespecial com.fasterxml.classmate.TypeResolver.<init>:()V
putstatic io.dropwizard.jersey.DropwizardResourceConfig.TYPE_RESOLVER:Lcom/fasterxml/classmate/TypeResolver;
3: ldc "\\s*/\\s*/+\\s*"
invokestatic java.util.regex.Pattern.compile:(Ljava/lang/String;)Ljava/util/regex/Pattern;
putstatic io.dropwizard.jersey.DropwizardResourceConfig.PATH_DIRTY_SLASHES:Ljava/util/regex/Pattern;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokespecial io.dropwizard.jersey.DropwizardResourceConfig.<init>:(Lcom/codahale/metrics/MetricRegistry;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/DropwizardResourceConfig;
public void <init>(com.codahale.metrics.MetricRegistry);
descriptor: (Lcom/codahale/metrics/MetricRegistry;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial org.glassfish.jersey.server.ResourceConfig.<init>:()V
1: aload 0
ldc "/*"
putfield io.dropwizard.jersey.DropwizardResourceConfig.urlPattern:Ljava/lang/String;
2: aload 0
ldc "/"
putfield io.dropwizard.jersey.DropwizardResourceConfig.contextPath:Ljava/lang/String;
3: aload 0
new io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener
dup
aload 0
invokespecial io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.<init>:(Lio/dropwizard/jersey/DropwizardResourceConfig;)V
putfield io.dropwizard.jersey.DropwizardResourceConfig.loggingListener:Lio/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener;
4: aload 1
ifnonnull 6
5: new com.codahale.metrics.MetricRegistry
dup
invokespecial com.codahale.metrics.MetricRegistry.<init>:()V
astore 1
6: StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig com.codahale.metrics.MetricRegistry
StackMap stack:
aload 0
ldc "jersey.config.server.wadl.disableWadl"
getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.property:(Ljava/lang/String;Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
7: aload 0
aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig.loggingListener:Lio/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
8: aload 0
new io.dropwizard.jersey.DropwizardResourceConfig$MetricRegistryBinder
dup
aload 1
invokespecial io.dropwizard.jersey.DropwizardResourceConfig$MetricRegistryBinder.<init>:(Lcom/codahale/metrics/MetricRegistry;)V
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
9: aload 0
new com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener
dup
aload 1
invokestatic com.codahale.metrics.Clock.defaultClock:()Lcom/codahale/metrics/Clock;
iconst_1
invokespecial com.codahale.metrics.jersey2.InstrumentedResourceMethodApplicationListener.<init>:(Lcom/codahale/metrics/MetricRegistry;Lcom/codahale/metrics/Clock;Z)V
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
10: aload 0
ldc Lio/dropwizard/jersey/caching/CacheControlledResponseFeature;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Class;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
11: aload 0
ldc Lio/dropwizard/jersey/guava/OptionalMessageBodyWriter;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Class;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
12: aload 0
new io.dropwizard.jersey.guava.OptionalParamBinder
dup
invokespecial io.dropwizard.jersey.guava.OptionalParamBinder.<init>:()V
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
13: aload 0
ldc Lio/dropwizard/jersey/optional/OptionalMessageBodyWriter;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Class;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
14: aload 0
ldc Lio/dropwizard/jersey/optional/OptionalDoubleMessageBodyWriter;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Class;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
15: aload 0
ldc Lio/dropwizard/jersey/optional/OptionalIntMessageBodyWriter;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Class;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
16: aload 0
ldc Lio/dropwizard/jersey/optional/OptionalLongMessageBodyWriter;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Class;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
17: aload 0
new io.dropwizard.jersey.optional.OptionalParamBinder
dup
invokespecial io.dropwizard.jersey.optional.OptionalParamBinder.<init>:()V
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
18: aload 0
ldc Lio/dropwizard/jersey/params/AbstractParamConverterProvider;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Class;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
19: aload 0
new io.dropwizard.jersey.validation.FuzzyEnumParamConverterProvider
dup
invokespecial io.dropwizard.jersey.validation.FuzzyEnumParamConverterProvider.<init>:()V
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
20: aload 0
new io.dropwizard.jersey.sessions.SessionFactoryProvider$Binder
dup
invokespecial io.dropwizard.jersey.sessions.SessionFactoryProvider$Binder.<init>:()V
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.register:(Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
21: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 22 0 this Lio/dropwizard/jersey/DropwizardResourceConfig;
0 22 1 metricRegistry Lcom/codahale/metrics/MetricRegistry;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
javax.annotation.Nullable()
MethodParameters:
Name Flags
metricRegistry
public static io.dropwizard.jersey.DropwizardResourceConfig forTesting();
descriptor: ()Lio/dropwizard/jersey/DropwizardResourceConfig;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: aconst_null
invokestatic io.dropwizard.jersey.DropwizardResourceConfig.forTesting:(Lcom/codahale/metrics/MetricRegistry;)Lio/dropwizard/jersey/DropwizardResourceConfig;
areturn
LocalVariableTable:
Start End Slot Name Signature
public static io.dropwizard.jersey.DropwizardResourceConfig forTesting(com.codahale.metrics.MetricRegistry);
descriptor: (Lcom/codahale/metrics/MetricRegistry;)Lio/dropwizard/jersey/DropwizardResourceConfig;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: new io.dropwizard.jersey.DropwizardResourceConfig
dup
aload 0
invokespecial io.dropwizard.jersey.DropwizardResourceConfig.<init>:(Lcom/codahale/metrics/MetricRegistry;)V
astore 1
start local 1 1: aload 1
ldc "jersey.config.test.container.port"
ldc "0"
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.property:(Ljava/lang/String;Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 metricRegistry Lcom/codahale/metrics/MetricRegistry;
1 3 1 config Lio/dropwizard/jersey/DropwizardResourceConfig;
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.annotation.Nullable()
RuntimeVisibleParameterAnnotations:
0:
javax.annotation.Nullable()
MethodParameters:
Name Flags
metricRegistry
public java.lang.String getUrlPattern();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig.urlPattern:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/DropwizardResourceConfig;
public void setUrlPattern(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.dropwizard.jersey.DropwizardResourceConfig.urlPattern:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/DropwizardResourceConfig;
0 2 1 urlPattern Ljava/lang/String;
MethodParameters:
Name Flags
urlPattern
public java.lang.String getContextPath();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig.contextPath:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/DropwizardResourceConfig;
public void setContextPath(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield io.dropwizard.jersey.DropwizardResourceConfig.contextPath:Ljava/lang/String;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lio/dropwizard/jersey/DropwizardResourceConfig;
0 2 1 contextPath Ljava/lang/String;
MethodParameters:
Name Flags
contextPath
public java.lang.String getEndpointsInfo();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield io.dropwizard.jersey.DropwizardResourceConfig.loggingListener:Lio/dropwizard/jersey/DropwizardResourceConfig$ComponentLoggingListener;
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener.getEndpointsInfo:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lio/dropwizard/jersey/DropwizardResourceConfig;
java.util.Set<java.lang.Class<?>> allClasses();
descriptor: ()Ljava/util/Set;
flags: (0x0000)
Code:
stack=3, locals=4, args_size=1
start local 0 0: new java.util.HashSet
dup
aload 0
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.getClasses:()Ljava/util/Set;
invokespecial java.util.HashSet.<init>:(Ljava/util/Collection;)V
astore 1
start local 1 1: aload 0
invokevirtual io.dropwizard.jersey.DropwizardResourceConfig.getSingletons:()Ljava/util/Set;
invokeinterface java.util.Set.iterator:()Ljava/util/Iterator;
astore 3
goto 4
StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig java.util.Set top java.util.Iterator
StackMap stack:
2: aload 3
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
astore 2
start local 2 3: aload 1
aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokeinterface java.util.Set.add:(Ljava/lang/Object;)Z
pop
end local 2 4: StackMap locals:
StackMap stack:
aload 3
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
5: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lio/dropwizard/jersey/DropwizardResourceConfig;
1 6 1 allClasses Ljava/util/Set<Ljava/lang/Class<*>;>;
3 4 2 singleton Ljava/lang/Object;
Signature: ()Ljava/util/Set<Ljava/lang/Class<*>;>;
public org.glassfish.jersey.server.ResourceConfig register(java.lang.Object);
descriptor: (Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=2
start local 0 start local 1 0: aload 1
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;)Ljava/lang/Object;
astore 2
start local 2 1: aload 2
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
astore 3
start local 3 2: aload 1
instanceof java.lang.Class
ifeq 4
3: aload 0
aload 1
checkcast java.lang.Class
invokespecial org.glassfish.jersey.server.ResourceConfig.register:(Ljava/lang/Class;)Lorg/glassfish/jersey/server/ResourceConfig;
areturn
4: StackMap locals: java.lang.Object java.lang.Class
StackMap stack:
aload 3
invokestatic org.glassfish.jersey.internal.inject.Providers.isProvider:(Ljava/lang/Class;)Z
ifne 5
ldc Lorg/glassfish/hk2/utilities/Binder;
aload 3
invokevirtual java.lang.Class.isAssignableFrom:(Ljava/lang/Class;)Z
ifeq 6
5: StackMap locals:
StackMap stack:
aload 0
aload 2
invokespecial org.glassfish.jersey.server.ResourceConfig.register:(Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
areturn
6: StackMap locals:
StackMap stack:
invokestatic javassist.ClassPool.getDefault:()Ljavassist/ClassPool;
astore 4
start local 4 7: aload 4
new javassist.LoaderClassPath
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
invokespecial javassist.LoaderClassPath.<init>:(Ljava/lang/ClassLoader;)V
invokevirtual javassist.ClassPool.insertClassPath:(Ljavassist/ClassPath;)Ljavassist/ClassPath;
pop
8: aload 4
new java.lang.StringBuilder
dup
ldc Lio/dropwizard/jersey/DropwizardResourceConfig$SpecificBinder;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
invokestatic java.util.UUID.randomUUID:()Ljava/util/UUID;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual javassist.ClassPool.makeClass:(Ljava/lang/String;)Ljavassist/CtClass;
astore 5
start local 5 9: aload 5
aload 4
ldc Lio/dropwizard/jersey/DropwizardResourceConfig$SpecificBinder;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual javassist.ClassPool.get:(Ljava/lang/String;)Ljavassist/CtClass;
invokevirtual javassist.CtClass.setSuperclass:(Ljavassist/CtClass;)V
10: invokestatic io.dropwizard.util.JavaVersion.isJava8:()Z
ifeq 13
11: aload 5
invokevirtual javassist.CtClass.toClass:()Ljava/lang/Class;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
dup
iconst_1
ldc Ljava/lang/Class;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 3
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 12: goto 14
end local 6 13: StackMap locals: javassist.ClassPool javassist.CtClass
StackMap stack:
aload 5
ldc Lio/dropwizard/jersey/DropwizardResourceConfig$SpecificBinder;
invokevirtual javassist.CtClass.toClass:(Ljava/lang/Class;)Ljava/lang/Class;
iconst_2
anewarray java.lang.Class
dup
iconst_0
ldc Ljava/lang/Object;
aastore
dup
iconst_1
ldc Ljava/lang/Class;
aastore
invokevirtual java.lang.Class.getConstructor:([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
iconst_2
anewarray java.lang.Object
dup
iconst_0
aload 2
aastore
dup
iconst_1
aload 3
aastore
invokevirtual java.lang.reflect.Constructor.newInstance:([Ljava/lang/Object;)Ljava/lang/Object;
astore 6
start local 6 14: StackMap locals: java.lang.Object
StackMap stack:
aload 0
aload 6
invokespecial org.glassfish.jersey.server.ResourceConfig.register:(Ljava/lang/Object;)Lorg/glassfish/jersey/server/ResourceConfig;
pop
15: aload 0
aload 3
invokespecial org.glassfish.jersey.server.ResourceConfig.register:(Ljava/lang/Class;)Lorg/glassfish/jersey/server/ResourceConfig;
16: areturn
end local 6 end local 5 end local 4 17: StackMap locals: io.dropwizard.jersey.DropwizardResourceConfig java.lang.Object java.lang.Object java.lang.Class
StackMap stack: java.lang.Exception
astore 4
start local 4 18: new java.lang.RuntimeException
dup
aload 4
invokespecial java.lang.RuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
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 Lio/dropwizard/jersey/DropwizardResourceConfig;
0 19 1 component Ljava/lang/Object;
1 19 2 object Ljava/lang/Object;
2 19 3 clazz Ljava/lang/Class<*>;
7 17 4 pool Ljavassist/ClassPool;
9 17 5 cc Ljavassist/CtClass;
12 13 6 binderProxy Ljava/lang/Object;
14 17 6 binderProxy Ljava/lang/Object;
18 19 4 e Ljava/lang/Exception;
Exception table:
from to target type
6 16 17 Class java.lang.Exception
MethodParameters:
Name Flags
component final
static java.lang.String cleanUpPath(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/String;
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic io.dropwizard.jersey.DropwizardResourceConfig.PATH_DIRTY_SLASHES:Ljava/util/regex/Pattern;
aload 0
invokevirtual java.util.regex.Pattern.matcher:(Ljava/lang/CharSequence;)Ljava/util/regex/Matcher;
ldc "/"
invokevirtual java.util.regex.Matcher.replaceAll:(Ljava/lang/String;)Ljava/lang/String;
invokevirtual java.lang.String.trim:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 path Ljava/lang/String;
MethodParameters:
Name Flags
path
private static java.lang.String mergePaths(java.lang.String, java.lang.String[]);
descriptor: (Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;
flags: (0x008a) ACC_PRIVATE, ACC_STATIC, ACC_VARARGS
Code:
stack=5, locals=9, args_size=2
start local 0 start local 1 0: aload 1
ifnull 1
aload 1
arraylength
ifne 2
1: StackMap locals:
StackMap stack:
aload 0
invokestatic io.dropwizard.jersey.DropwizardResourceConfig.cleanUpPath:(Ljava/lang/String;)Ljava/lang/String;
areturn
2: StackMap locals:
StackMap stack:
new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 2
start local 2 3: aload 0
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 6
4: aload 2
aload 0
iconst_0
aload 0
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
5: goto 7
6: StackMap locals: java.lang.StringBuilder
StackMap stack:
aload 2
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
7: StackMap locals:
StackMap stack:
aload 1
dup
astore 6
arraylength
istore 5
iconst_0
istore 4
goto 22
StackMap locals: java.lang.String java.lang.String[] java.lang.StringBuilder top int int java.lang.String[]
StackMap stack:
8: aload 6
iload 4
aaload
astore 3
start local 3 9: aload 3
invokestatic io.dropwizard.util.Strings.isNullOrEmpty:(Ljava/lang/String;)Z
ifeq 11
10: goto 21
11: StackMap locals: java.lang.String java.lang.String[] java.lang.StringBuilder java.lang.String int int java.lang.String[]
StackMap stack:
ldc "/"
aload 3
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 14
12: aload 2
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
pop
13: goto 21
14: StackMap locals:
StackMap stack:
aload 3
ldc "/"
invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
ifeq 15
iconst_1
goto 16
StackMap locals:
StackMap stack:
15: iconst_0
StackMap locals:
StackMap stack: int
16: istore 7
start local 7 17: aload 3
ldc "/"
invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
ifeq 18
aload 3
invokevirtual java.lang.String.length:()I
iconst_1
isub
goto 19
StackMap locals: int
StackMap stack:
18: aload 3
invokevirtual java.lang.String.length:()I
StackMap locals:
StackMap stack: int
19: istore 8
start local 8 20: aload 2
bipush 47
invokevirtual java.lang.StringBuilder.append:(C)Ljava/lang/StringBuilder;
aload 3
iload 7
iload 8
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/CharSequence;II)Ljava/lang/StringBuilder;
pop
end local 8 end local 7 end local 3 21: StackMap locals: java.lang.String java.lang.String[] java.lang.StringBuilder top int int java.lang.String[]
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
22: iload 4
iload 5
if_icmplt 8
23: aload 2
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokestatic io.dropwizard.jersey.DropwizardResourceConfig.cleanUpPath:(Ljava/lang/String;)Ljava/lang/String;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 context Ljava/lang/String;
0 24 1 pathSegments [Ljava/lang/String;
3 24 2 path Ljava/lang/StringBuilder;
9 21 3 segment Ljava/lang/String;
17 21 7 startIndex I
20 21 8 endIndex I
RuntimeVisibleTypeAnnotations:
METHOD_FORMAL_PARAMETER
javax.validation.constraints.NotNull()
RuntimeVisibleParameterAnnotations:
0:
javax.validation.constraints.NotNull()
1:
MethodParameters:
Name Flags
context
pathSegments
}
SourceFile: "DropwizardResourceConfig.java"
NestMembers:
io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener io.dropwizard.jersey.DropwizardResourceConfig$EndpointComparator io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine io.dropwizard.jersey.DropwizardResourceConfig$MetricRegistryBinder io.dropwizard.jersey.DropwizardResourceConfig$SpecificBinder
InnerClasses:
private ComponentLoggingListener = io.dropwizard.jersey.DropwizardResourceConfig$ComponentLoggingListener of io.dropwizard.jersey.DropwizardResourceConfig
private EndpointComparator = io.dropwizard.jersey.DropwizardResourceConfig$EndpointComparator of io.dropwizard.jersey.DropwizardResourceConfig
private EndpointLogLine = io.dropwizard.jersey.DropwizardResourceConfig$EndpointLogLine of io.dropwizard.jersey.DropwizardResourceConfig
final MetricRegistryBinder = io.dropwizard.jersey.DropwizardResourceConfig$MetricRegistryBinder of io.dropwizard.jersey.DropwizardResourceConfig
public SpecificBinder = io.dropwizard.jersey.DropwizardResourceConfig$SpecificBinder of io.dropwizard.jersey.DropwizardResourceConfig
public Binder = io.dropwizard.jersey.sessions.SessionFactoryProvider$Binder of io.dropwizard.jersey.sessions.SessionFactoryProvider