public final class org.apache.commons.configuration2.ConfigurationUtils
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: org.apache.commons.configuration2.ConfigurationUtils
super_class: java.lang.Object
{
private static final java.lang.String METHOD_CLONE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "clone"
private static final java.lang.Class<?>[] IMMUTABLE_CONFIG_IFCS;
descriptor: [Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: [Ljava/lang/Class<*>;
private static final java.lang.Class<?>[] IMMUTABLE_HIERARCHICAL_CONFIG_IFCS;
descriptor: [Ljava/lang/Class;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: [Ljava/lang/Class<*>;
private static final org.apache.commons.configuration2.event.EventSource DUMMY_EVENT_SOURCE;
descriptor: Lorg/apache/commons/configuration2/event/EventSource;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final org.apache.commons.logging.Log LOG;
descriptor: Lorg/apache/commons/logging/Log;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: iconst_1
anewarray java.lang.Class
dup
iconst_0
1: ldc Lorg/apache/commons/configuration2/ImmutableConfiguration;
aastore
2: putstatic org.apache.commons.configuration2.ConfigurationUtils.IMMUTABLE_CONFIG_IFCS:[Ljava/lang/Class;
3: iconst_1
anewarray java.lang.Class
dup
iconst_0
4: ldc Lorg/apache/commons/configuration2/ImmutableHierarchicalConfiguration;
aastore
5: putstatic org.apache.commons.configuration2.ConfigurationUtils.IMMUTABLE_HIERARCHICAL_CONFIG_IFCS:[Ljava/lang/Class;
6: new org.apache.commons.configuration2.ConfigurationUtils$1
dup
invokespecial org.apache.commons.configuration2.ConfigurationUtils$1.<init>:()V
putstatic org.apache.commons.configuration2.ConfigurationUtils.DUMMY_EVENT_SOURCE:Lorg/apache/commons/configuration2/event/EventSource;
7: ldc Lorg/apache/commons/configuration2/ConfigurationUtils;
invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
putstatic org.apache.commons.configuration2.ConfigurationUtils.LOG:Lorg/apache/commons/logging/Log;
return
LocalVariableTable:
Start End Slot Name Signature
private void <init>();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/commons/configuration2/ConfigurationUtils;
public static void dump(org.apache.commons.configuration2.ImmutableConfiguration, java.io.PrintStream);
descriptor: (Lorg/apache/commons/configuration2/ImmutableConfiguration;Ljava/io/PrintStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
new java.io.PrintWriter
dup
aload 1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/OutputStream;)V
invokestatic org.apache.commons.configuration2.ConfigurationUtils.dump:(Lorg/apache/commons/configuration2/ImmutableConfiguration;Ljava/io/PrintWriter;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 configuration Lorg/apache/commons/configuration2/ImmutableConfiguration;
0 2 1 out Ljava/io/PrintStream;
MethodParameters:
Name Flags
configuration final
out final
public static void dump(org.apache.commons.configuration2.Configuration, java.io.PrintStream);
descriptor: (Lorg/apache/commons/configuration2/Configuration;Ljava/io/PrintStream;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.commons.configuration2.ConfigurationUtils.dump:(Lorg/apache/commons/configuration2/ImmutableConfiguration;Ljava/io/PrintStream;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 configuration Lorg/apache/commons/configuration2/Configuration;
0 2 1 out Ljava/io/PrintStream;
MethodParameters:
Name Flags
configuration final
out final
public static void dump(org.apache.commons.configuration2.ImmutableConfiguration, java.io.PrintWriter);
descriptor: (Lorg/apache/commons/configuration2/ImmutableConfiguration;Ljava/io/PrintWriter;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=5, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.apache.commons.configuration2.ImmutableConfiguration.getKeys:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 9
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 0
aload 3
invokeinterface org.apache.commons.configuration2.ImmutableConfiguration.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
astore 4
start local 4 4: aload 1
aload 3
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
5: aload 1
ldc "="
invokevirtual java.io.PrintWriter.print:(Ljava/lang/String;)V
6: aload 1
aload 4
invokevirtual java.io.PrintWriter.print:(Ljava/lang/Object;)V
7: aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifeq 9
8: aload 1
invokevirtual java.io.PrintWriter.println:()V
end local 4 end local 3 9: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
end local 2 10: aload 1
invokevirtual java.io.PrintWriter.flush:()V
11: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 configuration Lorg/apache/commons/configuration2/ImmutableConfiguration;
0 12 1 out Ljava/io/PrintWriter;
1 10 2 keys Ljava/util/Iterator<Ljava/lang/String;>;
3 9 3 key Ljava/lang/String;
4 9 4 value Ljava/lang/Object;
MethodParameters:
Name Flags
configuration final
out final
public static void dump(org.apache.commons.configuration2.Configuration, java.io.PrintWriter);
descriptor: (Lorg/apache/commons/configuration2/Configuration;Ljava/io/PrintWriter;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.commons.configuration2.ConfigurationUtils.dump:(Lorg/apache/commons/configuration2/ImmutableConfiguration;Ljava/io/PrintWriter;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 configuration Lorg/apache/commons/configuration2/Configuration;
0 2 1 out Ljava/io/PrintWriter;
MethodParameters:
Name Flags
configuration final
out final
public static java.lang.String toString(org.apache.commons.configuration2.ImmutableConfiguration);
descriptor: (Lorg/apache/commons/configuration2/ImmutableConfiguration;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=2, args_size=1
start local 0 0: new java.io.StringWriter
dup
invokespecial java.io.StringWriter.<init>:()V
astore 1
start local 1 1: aload 0
new java.io.PrintWriter
dup
aload 1
invokespecial java.io.PrintWriter.<init>:(Ljava/io/Writer;)V
invokestatic org.apache.commons.configuration2.ConfigurationUtils.dump:(Lorg/apache/commons/configuration2/ImmutableConfiguration;Ljava/io/PrintWriter;)V
2: aload 1
invokevirtual java.io.StringWriter.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 configuration Lorg/apache/commons/configuration2/ImmutableConfiguration;
1 3 1 writer Ljava/io/StringWriter;
MethodParameters:
Name Flags
configuration final
public static java.lang.String toString(org.apache.commons.configuration2.Configuration);
descriptor: (Lorg/apache/commons/configuration2/Configuration;)Ljava/lang/String;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.configuration2.ConfigurationUtils.toString:(Lorg/apache/commons/configuration2/ImmutableConfiguration;)Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 configuration Lorg/apache/commons/configuration2/Configuration;
MethodParameters:
Name Flags
configuration final
public static void copy(org.apache.commons.configuration2.ImmutableConfiguration, org.apache.commons.configuration2.Configuration);
descriptor: (Lorg/apache/commons/configuration2/ImmutableConfiguration;Lorg/apache/commons/configuration2/Configuration;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.apache.commons.configuration2.ImmutableConfiguration.getKeys:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 4
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 1
aload 3
aload 0
aload 3
invokeinterface org.apache.commons.configuration2.ImmutableConfiguration.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
invokeinterface org.apache.commons.configuration2.Configuration.setProperty:(Ljava/lang/String;Ljava/lang/Object;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 source Lorg/apache/commons/configuration2/ImmutableConfiguration;
0 6 1 target Lorg/apache/commons/configuration2/Configuration;
1 5 2 keys Ljava/util/Iterator<Ljava/lang/String;>;
3 4 3 key Ljava/lang/String;
MethodParameters:
Name Flags
source final
target final
public static void copy(org.apache.commons.configuration2.Configuration, org.apache.commons.configuration2.Configuration);
descriptor: (Lorg/apache/commons/configuration2/Configuration;Lorg/apache/commons/configuration2/Configuration;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.commons.configuration2.ConfigurationUtils.copy:(Lorg/apache/commons/configuration2/ImmutableConfiguration;Lorg/apache/commons/configuration2/Configuration;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 source Lorg/apache/commons/configuration2/Configuration;
0 2 1 target Lorg/apache/commons/configuration2/Configuration;
MethodParameters:
Name Flags
source final
target final
public static void append(org.apache.commons.configuration2.ImmutableConfiguration, org.apache.commons.configuration2.Configuration);
descriptor: (Lorg/apache/commons/configuration2/ImmutableConfiguration;Lorg/apache/commons/configuration2/Configuration;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=4, args_size=2
start local 0 start local 1 0: aload 0
invokeinterface org.apache.commons.configuration2.ImmutableConfiguration.getKeys:()Ljava/util/Iterator;
astore 2
start local 2 1: goto 4
2: StackMap locals: java.util.Iterator
StackMap stack:
aload 2
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.String
astore 3
start local 3 3: aload 1
aload 3
aload 0
aload 3
invokeinterface org.apache.commons.configuration2.ImmutableConfiguration.getProperty:(Ljava/lang/String;)Ljava/lang/Object;
invokeinterface org.apache.commons.configuration2.Configuration.addProperty:(Ljava/lang/String;Ljava/lang/Object;)V
end local 3 4: StackMap locals:
StackMap stack:
aload 2
invokeinterface java.util.Iterator.hasNext:()Z
ifne 2
end local 2 5: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 source Lorg/apache/commons/configuration2/ImmutableConfiguration;
0 6 1 target Lorg/apache/commons/configuration2/Configuration;
1 5 2 keys Ljava/util/Iterator<Ljava/lang/String;>;
3 4 3 key Ljava/lang/String;
MethodParameters:
Name Flags
source final
target final
public static void append(org.apache.commons.configuration2.Configuration, org.apache.commons.configuration2.Configuration);
descriptor: (Lorg/apache/commons/configuration2/Configuration;Lorg/apache/commons/configuration2/Configuration;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.commons.configuration2.ConfigurationUtils.append:(Lorg/apache/commons/configuration2/ImmutableConfiguration;Lorg/apache/commons/configuration2/Configuration;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 source Lorg/apache/commons/configuration2/Configuration;
0 2 1 target Lorg/apache/commons/configuration2/Configuration;
MethodParameters:
Name Flags
source final
target final
public static org.apache.commons.configuration2.HierarchicalConfiguration<?> convertToHierarchical(org.apache.commons.configuration2.Configuration);
descriptor: (Lorg/apache/commons/configuration2/Configuration;)Lorg/apache/commons/configuration2/HierarchicalConfiguration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokestatic org.apache.commons.configuration2.ConfigurationUtils.convertToHierarchical:(Lorg/apache/commons/configuration2/Configuration;Lorg/apache/commons/configuration2/tree/ExpressionEngine;)Lorg/apache/commons/configuration2/HierarchicalConfiguration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 conf Lorg/apache/commons/configuration2/Configuration;
Signature: (Lorg/apache/commons/configuration2/Configuration;)Lorg/apache/commons/configuration2/HierarchicalConfiguration<*>;
MethodParameters:
Name Flags
conf final
public static org.apache.commons.configuration2.HierarchicalConfiguration<?> convertToHierarchical(org.apache.commons.configuration2.Configuration, org.apache.commons.configuration2.tree.ExpressionEngine);
descriptor: (Lorg/apache/commons/configuration2/Configuration;Lorg/apache/commons/configuration2/tree/ExpressionEngine;)Lorg/apache/commons/configuration2/HierarchicalConfiguration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
instanceof org.apache.commons.configuration2.HierarchicalConfiguration
ifeq 7
3: aload 0
checkcast org.apache.commons.configuration2.HierarchicalConfiguration
astore 2
start local 2 4: aload 1
ifnull 6
5: aload 2
aload 1
invokeinterface org.apache.commons.configuration2.HierarchicalConfiguration.setExpressionEngine:(Lorg/apache/commons/configuration2/tree/ExpressionEngine;)V
6: StackMap locals: org.apache.commons.configuration2.HierarchicalConfiguration
StackMap stack:
aload 2
areturn
end local 2 7: StackMap locals:
StackMap stack:
new org.apache.commons.configuration2.BaseHierarchicalConfiguration
dup
invokespecial org.apache.commons.configuration2.BaseHierarchicalConfiguration.<init>:()V
astore 2
start local 2 8: aload 1
ifnull 10
9: aload 2
aload 1
invokevirtual org.apache.commons.configuration2.BaseHierarchicalConfiguration.setExpressionEngine:(Lorg/apache/commons/configuration2/tree/ExpressionEngine;)V
10: StackMap locals: org.apache.commons.configuration2.BaseHierarchicalConfiguration
StackMap stack:
aload 2
aload 0
invokevirtual org.apache.commons.configuration2.BaseHierarchicalConfiguration.copy:(Lorg/apache/commons/configuration2/Configuration;)V
11: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 conf Lorg/apache/commons/configuration2/Configuration;
0 12 1 engine Lorg/apache/commons/configuration2/tree/ExpressionEngine;
4 7 2 hc Lorg/apache/commons/configuration2/HierarchicalConfiguration<*>;
8 12 2 hc Lorg/apache/commons/configuration2/BaseHierarchicalConfiguration;
Signature: (Lorg/apache/commons/configuration2/Configuration;Lorg/apache/commons/configuration2/tree/ExpressionEngine;)Lorg/apache/commons/configuration2/HierarchicalConfiguration<*>;
MethodParameters:
Name Flags
conf final
engine final
public static org.apache.commons.configuration2.Configuration cloneConfiguration(org.apache.commons.configuration2.Configuration);
descriptor: (Lorg/apache/commons/configuration2/Configuration;)Lorg/apache/commons/configuration2/Configuration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=2, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: aconst_null
areturn
2: StackMap locals:
StackMap stack:
aload 0
invokestatic org.apache.commons.configuration2.ConfigurationUtils.clone:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.commons.configuration2.Configuration
3: areturn
4: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
astore 1
start local 1 5: new org.apache.commons.configuration2.ex.ConfigurationRuntimeException
dup
aload 1
invokespecial org.apache.commons.configuration2.ex.ConfigurationRuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 config Lorg/apache/commons/configuration2/Configuration;
5 6 1 cnex Ljava/lang/CloneNotSupportedException;
Exception table:
from to target type
2 3 4 Class java.lang.CloneNotSupportedException
Exceptions:
throws org.apache.commons.configuration2.ex.ConfigurationRuntimeException
MethodParameters:
Name Flags
config final
public static java.lang.Object cloneIfPossible(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.configuration2.ConfigurationUtils.clone:(Ljava/lang/Object;)Ljava/lang/Object;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.Exception
pop
3: aload 0
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 obj Ljava/lang/Object;
Exception table:
from to target type
0 1 2 Class java.lang.Exception
MethodParameters:
Name Flags
obj final
static java.lang.Object clone(java.lang.Object);
descriptor: (Ljava/lang/Object;)Ljava/lang/Object;
flags: (0x0008) ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
instanceof java.lang.Cloneable
ifeq 14
1: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
ldc "clone"
iconst_0
anewarray java.lang.Class
invokevirtual java.lang.Class.getMethod:(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
astore 1
start local 1 2: aload 1
aload 0
iconst_0
anewarray java.lang.Object
invokevirtual java.lang.reflect.Method.invoke:(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
3: areturn
end local 1 4: StackMap locals:
StackMap stack: java.lang.NoSuchMethodException
pop
5: new java.lang.CloneNotSupportedException
dup
6: new java.lang.StringBuilder
dup
ldc "No clone() method found for class"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
7: aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.getName:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
9: invokespecial java.lang.CloneNotSupportedException.<init>:(Ljava/lang/String;)V
athrow
10: StackMap locals:
StackMap stack: java.lang.IllegalAccessException
astore 1
start local 1 11: new org.apache.commons.configuration2.ex.ConfigurationRuntimeException
dup
aload 1
invokespecial org.apache.commons.configuration2.ex.ConfigurationRuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 12: StackMap locals:
StackMap stack: java.lang.reflect.InvocationTargetException
astore 1
start local 1 13: new org.apache.commons.configuration2.ex.ConfigurationRuntimeException
dup
aload 1
invokespecial org.apache.commons.configuration2.ex.ConfigurationRuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 1 14: StackMap locals:
StackMap stack:
new java.lang.CloneNotSupportedException
dup
new java.lang.StringBuilder
dup
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
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
15: ldc " does not implement Cloneable"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
16: invokespecial java.lang.CloneNotSupportedException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 obj Ljava/lang/Object;
2 4 1 m Ljava/lang/reflect/Method;
11 12 1 iaex Ljava/lang/IllegalAccessException;
13 14 1 itex Ljava/lang/reflect/InvocationTargetException;
Exception table:
from to target type
1 3 4 Class java.lang.NoSuchMethodException
1 3 10 Class java.lang.IllegalAccessException
1 3 12 Class java.lang.reflect.InvocationTargetException
Exceptions:
throws java.lang.CloneNotSupportedException
MethodParameters:
Name Flags
obj final
public static org.apache.commons.configuration2.sync.Synchronizer cloneSynchronizer(org.apache.commons.configuration2.sync.Synchronizer);
descriptor: (Lorg/apache/commons/configuration2/sync/Synchronizer;)Lorg/apache/commons/configuration2/sync/Synchronizer;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
ifnonnull 2
1: new java.lang.IllegalArgumentException
dup
ldc "Synchronizer must not be null!"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
getstatic org.apache.commons.configuration2.sync.NoOpSynchronizer.INSTANCE:Lorg/apache/commons/configuration2/sync/NoOpSynchronizer;
aload 0
if_acmpne 4
3: aload 0
areturn
4: StackMap locals:
StackMap stack:
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.Class.newInstance:()Ljava/lang/Object;
checkcast org.apache.commons.configuration2.sync.Synchronizer
5: areturn
6: StackMap locals:
StackMap stack: java.lang.Exception
pop
7: getstatic org.apache.commons.configuration2.ConfigurationUtils.LOG:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Cannot create new instance of "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.info:(Ljava/lang/Object;)V
8: aload 0
invokestatic org.apache.commons.configuration2.ConfigurationUtils.clone:(Ljava/lang/Object;)Ljava/lang/Object;
checkcast org.apache.commons.configuration2.sync.Synchronizer
9: areturn
10: StackMap locals:
StackMap stack: java.lang.CloneNotSupportedException
pop
11: new org.apache.commons.configuration2.ex.ConfigurationRuntimeException
dup
12: new java.lang.StringBuilder
dup
ldc "Cannot clone Synchronizer "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
13: invokespecial org.apache.commons.configuration2.ex.ConfigurationRuntimeException.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 14 0 sync Lorg/apache/commons/configuration2/sync/Synchronizer;
Exception table:
from to target type
4 5 6 Class java.lang.Exception
8 9 10 Class java.lang.CloneNotSupportedException
MethodParameters:
Name Flags
sync final
public static void enableRuntimeExceptions(org.apache.commons.configuration2.Configuration);
descriptor: (Lorg/apache/commons/configuration2/Configuration;)V
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
instanceof org.apache.commons.configuration2.event.EventSource
ifne 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "Configuration must implement EventSource!"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
aload 0
checkcast org.apache.commons.configuration2.event.EventSource
getstatic org.apache.commons.configuration2.event.ConfigurationErrorEvent.ANY:Lorg/apache/commons/configuration2/event/EventType;
5: invokedynamic onEvent()Lorg/apache/commons/configuration2/event/EventListener;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
(Lorg/apache/commons/configuration2/event/Event;)V
org/apache/commons/configuration2/ConfigurationUtils.lambda$0(Lorg/apache/commons/configuration2/event/ConfigurationErrorEvent;)V (6)
(Lorg/apache/commons/configuration2/event/ConfigurationErrorEvent;)V
6: invokeinterface org.apache.commons.configuration2.event.EventSource.addEventListener:(Lorg/apache/commons/configuration2/event/EventType;Lorg/apache/commons/configuration2/event/EventListener;)V
7: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 8 0 src Lorg/apache/commons/configuration2/Configuration;
MethodParameters:
Name Flags
src final
public static java.lang.Class<?> loadClass(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=1
start local 0 0: getstatic org.apache.commons.configuration2.ConfigurationUtils.LOG:Lorg/apache/commons/logging/Log;
invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
ifeq 2
1: getstatic org.apache.commons.configuration2.ConfigurationUtils.LOG:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Loading class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
2: StackMap locals:
StackMap stack:
invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
invokevirtual java.lang.Thread.getContextClassLoader:()Ljava/lang/ClassLoader;
astore 1
start local 1 3: aload 1
ifnull 10
4: aload 1
aload 0
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
5: areturn
6: StackMap locals: java.lang.String java.lang.ClassLoader
StackMap stack: java.lang.ClassNotFoundException
astore 2
start local 2 7: getstatic org.apache.commons.configuration2.ConfigurationUtils.LOG:Lorg/apache/commons/logging/Log;
new java.lang.StringBuilder
dup
ldc "Could not load class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
8: ldc " using CCL. Falling back to default CL."
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
9: invokeinterface org.apache.commons.logging.Log.info:(Ljava/lang/Object;Ljava/lang/Throwable;)V
end local 2 10: StackMap locals:
StackMap stack:
ldc Lorg/apache/commons/configuration2/ConfigurationUtils;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
aload 0
invokevirtual java.lang.ClassLoader.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 clsName Ljava/lang/String;
3 11 1 cl Ljava/lang/ClassLoader;
7 10 2 cnfex Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
3 5 6 Class java.lang.ClassNotFoundException
Exceptions:
throws java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
clsName final
public static java.lang.Class<?> loadClassNoEx(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Class;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
invokestatic org.apache.commons.configuration2.ConfigurationUtils.loadClass:(Ljava/lang/String;)Ljava/lang/Class;
1: areturn
2: StackMap locals:
StackMap stack: java.lang.ClassNotFoundException
astore 1
start local 1 3: new org.apache.commons.configuration2.ex.ConfigurationRuntimeException
dup
new java.lang.StringBuilder
dup
ldc "Cannot load class "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
4: aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 1
5: invokespecial org.apache.commons.configuration2.ex.ConfigurationRuntimeException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 clsName Ljava/lang/String;
3 6 1 cnfex Ljava/lang/ClassNotFoundException;
Exception table:
from to target type
0 1 2 Class java.lang.ClassNotFoundException
Signature: (Ljava/lang/String;)Ljava/lang/Class<*>;
MethodParameters:
Name Flags
clsName final
public static org.apache.commons.configuration2.ImmutableConfiguration unmodifiableConfiguration(org.apache.commons.configuration2.Configuration);
descriptor: (Lorg/apache/commons/configuration2/Configuration;)Lorg/apache/commons/configuration2/ImmutableConfiguration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.commons.configuration2.ConfigurationUtils.IMMUTABLE_CONFIG_IFCS:[Ljava/lang/Class;
aload 0
invokestatic org.apache.commons.configuration2.ConfigurationUtils.createUnmodifiableConfiguration:([Ljava/lang/Class;Lorg/apache/commons/configuration2/Configuration;)Lorg/apache/commons/configuration2/ImmutableConfiguration;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 c Lorg/apache/commons/configuration2/Configuration;
MethodParameters:
Name Flags
c final
public static org.apache.commons.configuration2.ImmutableHierarchicalConfiguration unmodifiableConfiguration(org.apache.commons.configuration2.HierarchicalConfiguration<?>);
descriptor: (Lorg/apache/commons/configuration2/HierarchicalConfiguration;)Lorg/apache/commons/configuration2/ImmutableHierarchicalConfiguration;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.commons.configuration2.ConfigurationUtils.IMMUTABLE_HIERARCHICAL_CONFIG_IFCS:[Ljava/lang/Class;
aload 0
1: invokestatic org.apache.commons.configuration2.ConfigurationUtils.createUnmodifiableConfiguration:([Ljava/lang/Class;Lorg/apache/commons/configuration2/Configuration;)Lorg/apache/commons/configuration2/ImmutableConfiguration;
checkcast org.apache.commons.configuration2.ImmutableHierarchicalConfiguration
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 c Lorg/apache/commons/configuration2/HierarchicalConfiguration<*>;
Signature: (Lorg/apache/commons/configuration2/HierarchicalConfiguration<*>;)Lorg/apache/commons/configuration2/ImmutableHierarchicalConfiguration;
MethodParameters:
Name Flags
c final
private static org.apache.commons.configuration2.ImmutableConfiguration createUnmodifiableConfiguration(java.lang.Class<?>[], org.apache.commons.configuration2.Configuration);
descriptor: ([Ljava/lang/Class;Lorg/apache/commons/configuration2/Configuration;)Lorg/apache/commons/configuration2/ImmutableConfiguration;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: ldc Lorg/apache/commons/configuration2/ConfigurationUtils;
invokevirtual java.lang.Class.getClassLoader:()Ljava/lang/ClassLoader;
aload 0
1: new org.apache.commons.configuration2.ImmutableConfigurationInvocationHandler
dup
aload 1
invokespecial org.apache.commons.configuration2.ImmutableConfigurationInvocationHandler.<init>:(Lorg/apache/commons/configuration2/Configuration;)V
2: invokestatic java.lang.reflect.Proxy.newProxyInstance:(Ljava/lang/ClassLoader;[Ljava/lang/Class;Ljava/lang/reflect/InvocationHandler;)Ljava/lang/Object;
checkcast org.apache.commons.configuration2.ImmutableConfiguration
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 ifcs [Ljava/lang/Class;
0 3 1 c Lorg/apache/commons/configuration2/Configuration;
Signature: ([Ljava/lang/Class<*>;Lorg/apache/commons/configuration2/Configuration;)Lorg/apache/commons/configuration2/ImmutableConfiguration;
MethodParameters:
Name Flags
ifcs final
c final
public static org.apache.commons.configuration2.event.EventSource asEventSource(java.lang.Object, boolean);
descriptor: (Ljava/lang/Object;Z)Lorg/apache/commons/configuration2/event/EventSource;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=2, args_size=2
start local 0 start local 1 0: aload 0
instanceof org.apache.commons.configuration2.event.EventSource
ifeq 2
1: aload 0
checkcast org.apache.commons.configuration2.event.EventSource
areturn
2: StackMap locals:
StackMap stack:
iload 1
ifne 6
3: new org.apache.commons.configuration2.ex.ConfigurationRuntimeException
dup
4: new java.lang.StringBuilder
dup
ldc "Cannot cast to EventSource: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
5: invokespecial org.apache.commons.configuration2.ex.ConfigurationRuntimeException.<init>:(Ljava/lang/String;)V
athrow
6: StackMap locals:
StackMap stack:
getstatic org.apache.commons.configuration2.ConfigurationUtils.DUMMY_EVENT_SOURCE:Lorg/apache/commons/configuration2/event/EventSource;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 obj Ljava/lang/Object;
0 7 1 mockIfUnsupported Z
MethodParameters:
Name Flags
obj final
mockIfUnsupported final
private static void lambda$0(org.apache.commons.configuration2.event.ConfigurationErrorEvent);
descriptor: (Lorg/apache/commons/configuration2/event/ConfigurationErrorEvent;)V
flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: new org.apache.commons.configuration2.ex.ConfigurationRuntimeException
dup
aload 0
1: invokevirtual org.apache.commons.configuration2.event.ConfigurationErrorEvent.getCause:()Ljava/lang/Throwable;
2: invokespecial org.apache.commons.configuration2.ex.ConfigurationRuntimeException.<init>:(Ljava/lang/Throwable;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 event Lorg/apache/commons/configuration2/event/ConfigurationErrorEvent;
}
SourceFile: "ConfigurationUtils.java"
NestMembers:
org.apache.commons.configuration2.ConfigurationUtils$1
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
org.apache.commons.configuration2.ConfigurationUtils$1