public class org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper implements org.eclipse.core.runtime.IRegistryChangeListener
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper
super_class: java.lang.Object
{
private static final java.lang.String ELEMENT_INITIALIZER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "initializer"
private static final java.lang.String ATTRIBUTE_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "name"
private static final java.lang.String ATTRIBUTE_CLASS;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "class"
private static final java.lang.String ATTRIBUTE_STORAGE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "storage"
private static final java.lang.String ELEMENT_SCOPE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "scope"
private static final java.lang.String ELEMENT_MODIFIER;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "modifier"
private static final org.eclipse.core.runtime.IExtension[] EMPTY_EXTENSION_ARRAY;
descriptor: [Lorg/eclipse/core/runtime/IExtension;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final java.util.Map<java.lang.String, java.lang.Object> scopeRegistry;
descriptor: Ljava/util/Map;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
Signature: Ljava/util/Map<Ljava/lang/String;Ljava/lang/Object;>;
private org.eclipse.core.runtime.ListenerList<org.eclipse.core.runtime.preferences.PreferenceModifyListener> modifyListeners;
descriptor: Lorg/eclipse/core/runtime/ListenerList;
flags: (0x0002) ACC_PRIVATE
Signature: Lorg/eclipse/core/runtime/ListenerList<Lorg/eclipse/core/runtime/preferences/PreferenceModifyListener;>;
private final org.eclipse.core.internal.preferences.PreferencesService service;
descriptor: Lorg/eclipse/core/internal/preferences/PreferencesService;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.eclipse.core.runtime.IExtensionRegistry registry;
descriptor: Lorg/eclipse/core/runtime/IExtensionRegistry;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: iconst_0
anewarray org.eclipse.core.runtime.IExtension
putstatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.EMPTY_EXTENSION_ARRAY:[Lorg/eclipse/core/runtime/IExtension;
1: new java.util.HashMap
dup
invokespecial java.util.HashMap.<init>:()V
invokestatic java.util.Collections.synchronizedMap:(Ljava/util/Map;)Ljava/util/Map;
putstatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.scopeRegistry:Ljava/util/Map;
return
LocalVariableTable:
Start End Slot Name Signature
private static org.eclipse.core.runtime.IStatus createStatusError(java.lang.String, java.lang.Exception);
descriptor: (Ljava/lang/String;Ljava/lang/Exception;)Lorg/eclipse/core/runtime/IStatus;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new org.eclipse.core.runtime.Status
dup
iconst_4
ldc "org.eclipse.equinox.preferences"
iconst_4
aload 0
aload 1
invokespecial org.eclipse.core.runtime.Status.<init>:(ILjava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 message Ljava/lang/String;
0 1 1 e Ljava/lang/Exception;
MethodParameters:
Name Flags
message
e
private static org.eclipse.core.runtime.IStatus createStatusWarning(java.lang.String, java.lang.Exception);
descriptor: (Ljava/lang/String;Ljava/lang/Exception;)Lorg/eclipse/core/runtime/IStatus;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=7, locals=2, args_size=2
start local 0 start local 1 0: new org.eclipse.core.runtime.Status
dup
iconst_2
ldc "org.eclipse.equinox.preferences"
iconst_2
aload 0
aload 1
invokespecial org.eclipse.core.runtime.Status.<init>:(ILjava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 message Ljava/lang/String;
0 1 1 e Ljava/lang/Exception;
MethodParameters:
Name Flags
message
e
private static void log(org.eclipse.core.runtime.IStatus);
descriptor: (Lorg/eclipse/core/runtime/IStatus;)V
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokestatic org.eclipse.core.internal.runtime.RuntimeLog.log:(Lorg/eclipse/core/runtime/IStatus;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 status Lorg/eclipse/core/runtime/IStatus;
MethodParameters:
Name Flags
status
public void <init>(org.eclipse.core.internal.preferences.PreferencesService, java.lang.Object);
descriptor: (Lorg/eclipse/core/internal/preferences/PreferencesService;Ljava/lang/Object;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.service:Lorg/eclipse/core/internal/preferences/PreferencesService;
2: aload 0
aload 2
checkcast org.eclipse.core.runtime.IExtensionRegistry
putfield org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.registry:Lorg/eclipse/core/runtime/IExtensionRegistry;
3: aload 0
invokevirtual org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.initializeScopes:()V
4: aload 0
getfield org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.registry:Lorg/eclipse/core/runtime/IExtensionRegistry;
aload 0
invokeinterface org.eclipse.core.runtime.IExtensionRegistry.addRegistryChangeListener:(Lorg/eclipse/core/runtime/IRegistryChangeListener;)V
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper;
0 6 1 service Lorg/eclipse/core/internal/preferences/PreferencesService;
0 6 2 registryObject Ljava/lang/Object;
MethodParameters:
Name Flags
service
registryObject
void stop();
descriptor: ()V
flags: (0x0000)
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.registry:Lorg/eclipse/core/runtime/IExtensionRegistry;
aload 0
invokeinterface org.eclipse.core.runtime.IExtensionRegistry.removeRegistryChangeListener:(Lorg/eclipse/core/runtime/IRegistryChangeListener;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper;
private void addModifyListener(org.eclipse.core.runtime.IConfigurationElement);
descriptor: (Lorg/eclipse/core/runtime/IConfigurationElement;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tNLS cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper;
MethodParameters:
Name Flags
element
public java.lang.ref.WeakReference<java.lang.Object> applyRuntimeDefaults(java.lang.String, java.lang.ref.WeakReference<java.lang.Object>);
descriptor: (Ljava/lang/String;Ljava/lang/ref/WeakReference;)Ljava/lang/ref/WeakReference;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tBundle cannot be resolved to a type\n\tThe method getBundle(String) from the type PreferencesOSGiUtils refers to the missing type Bundle\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper;
Signature: (Ljava/lang/String;Ljava/lang/ref/WeakReference<Ljava/lang/Object;>;)Ljava/lang/ref/WeakReference<Ljava/lang/Object;>;
MethodParameters:
Name Flags
name
pluginReference
public org.eclipse.core.runtime.preferences.IEclipsePreferences createNode(org.eclipse.core.internal.preferences.RootPreferences, java.lang.String);
descriptor: (Lorg/eclipse/core/internal/preferences/RootPreferences;Ljava/lang/String;)Lorg/eclipse/core/runtime/preferences/IEclipsePreferences;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=8, args_size=3
start local 0 start local 1 start local 2 0: aconst_null
astore 3
start local 3 1: getstatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.scopeRegistry:Ljava/util/Map;
aload 2
invokeinterface java.util.Map.get:(Ljava/lang/Object;)Ljava/lang/Object;
astore 4
start local 4 2: aload 4
instanceof org.eclipse.core.runtime.IConfigurationElement
ifeq 26
3: aload 4
checkcast org.eclipse.core.runtime.IConfigurationElement
ldc "class"
invokeinterface org.eclipse.core.runtime.IConfigurationElement.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
ifnull 13
4: aload 4
checkcast org.eclipse.core.runtime.IConfigurationElement
ldc "class"
invokeinterface org.eclipse.core.runtime.IConfigurationElement.createExecutableExtension:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.eclipse.core.runtime.preferences.IScope
astore 3
5: getstatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.scopeRegistry:Ljava/util/Map;
aload 2
aload 3
invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
6: goto 27
StackMap locals: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper org.eclipse.core.internal.preferences.RootPreferences java.lang.String org.eclipse.core.runtime.preferences.IScope java.lang.Object
StackMap stack: java.lang.ClassCastException
7: astore 5
start local 5 8: getstatic org.eclipse.core.internal.preferences.PrefsMessages.preferences_classCastScope:Ljava/lang/String;
aload 5
invokestatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.createStatusError:(Ljava/lang/String;Ljava/lang/Exception;)Lorg/eclipse/core/runtime/IStatus;
invokestatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.log:(Lorg/eclipse/core/runtime/IStatus;)V
9: new org.eclipse.core.internal.preferences.EclipsePreferences
dup
aload 1
aload 2
invokespecial org.eclipse.core.internal.preferences.EclipsePreferences.<init>:(Lorg/eclipse/core/internal/preferences/EclipsePreferences;Ljava/lang/String;)V
areturn
end local 5 10: StackMap locals:
StackMap stack: org.eclipse.core.runtime.CoreException
astore 5
start local 5 11: aload 5
invokevirtual org.eclipse.core.runtime.CoreException.getStatus:()Lorg/eclipse/core/runtime/IStatus;
invokestatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.log:(Lorg/eclipse/core/runtime/IStatus;)V
12: new org.eclipse.core.internal.preferences.EclipsePreferences
dup
aload 1
aload 2
invokespecial org.eclipse.core.internal.preferences.EclipsePreferences.<init>:(Lorg/eclipse/core/internal/preferences/EclipsePreferences;Ljava/lang/String;)V
areturn
end local 5 13: StackMap locals:
StackMap stack:
aload 4
checkcast org.eclipse.core.runtime.IConfigurationElement
ldc "storage"
invokeinterface org.eclipse.core.runtime.IConfigurationElement.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
ifnull 27
14: aload 4
checkcast org.eclipse.core.runtime.IConfigurationElement
ldc "storage"
invokeinterface org.eclipse.core.runtime.IConfigurationElement.createExecutableExtension:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.eclipse.core.runtime.preferences.AbstractPreferenceStorage
astore 5
start local 5 15: new org.eclipse.core.internal.preferences.ScopeDescriptor
dup
aload 5
invokespecial org.eclipse.core.internal.preferences.ScopeDescriptor.<init>:(Lorg/eclipse/core/runtime/preferences/AbstractPreferenceStorage;)V
astore 6
start local 6 16: new org.eclipse.core.internal.preferences.EclipsePreferences
dup
aload 1
aload 2
invokespecial org.eclipse.core.internal.preferences.EclipsePreferences.<init>:(Lorg/eclipse/core/internal/preferences/EclipsePreferences;Ljava/lang/String;)V
astore 7
start local 7 17: aload 7
aload 6
invokevirtual org.eclipse.core.internal.preferences.EclipsePreferences.setDescriptor:(Lorg/eclipse/core/internal/preferences/ScopeDescriptor;)V
18: aload 7
19: areturn
end local 7 end local 6 end local 5 20: StackMap locals:
StackMap stack: java.lang.ClassCastException
astore 5
start local 5 21: getstatic org.eclipse.core.internal.preferences.PrefsMessages.preferences_classCastStorage:Ljava/lang/String;
aload 5
invokestatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.createStatusError:(Ljava/lang/String;Ljava/lang/Exception;)Lorg/eclipse/core/runtime/IStatus;
invokestatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.log:(Lorg/eclipse/core/runtime/IStatus;)V
22: new org.eclipse.core.internal.preferences.EclipsePreferences
dup
aload 1
aload 2
invokespecial org.eclipse.core.internal.preferences.EclipsePreferences.<init>:(Lorg/eclipse/core/internal/preferences/EclipsePreferences;Ljava/lang/String;)V
areturn
end local 5 23: StackMap locals:
StackMap stack: org.eclipse.core.runtime.CoreException
astore 5
start local 5 24: aload 5
invokevirtual org.eclipse.core.runtime.CoreException.getStatus:()Lorg/eclipse/core/runtime/IStatus;
invokestatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.log:(Lorg/eclipse/core/runtime/IStatus;)V
25: new org.eclipse.core.internal.preferences.EclipsePreferences
dup
aload 1
aload 2
invokespecial org.eclipse.core.internal.preferences.EclipsePreferences.<init>:(Lorg/eclipse/core/internal/preferences/EclipsePreferences;Ljava/lang/String;)V
areturn
end local 5 26: StackMap locals:
StackMap stack:
aload 4
checkcast org.eclipse.core.runtime.preferences.IScope
astore 3
27: StackMap locals:
StackMap stack:
aload 3
aload 1
aload 2
invokeinterface org.eclipse.core.runtime.preferences.IScope.create:(Lorg/eclipse/core/runtime/preferences/IEclipsePreferences;Ljava/lang/String;)Lorg/eclipse/core/runtime/preferences/IEclipsePreferences;
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lorg/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper;
0 28 1 parent Lorg/eclipse/core/internal/preferences/RootPreferences;
0 28 2 name Ljava/lang/String;
1 28 3 scope Lorg/eclipse/core/runtime/preferences/IScope;
2 28 4 value Ljava/lang/Object;
8 10 5 e Ljava/lang/ClassCastException;
11 13 5 e Lorg/eclipse/core/runtime/CoreException;
15 20 5 storage Lorg/eclipse/core/runtime/preferences/AbstractPreferenceStorage;
16 20 6 descriptor Lorg/eclipse/core/internal/preferences/ScopeDescriptor;
17 20 7 result Lorg/eclipse/core/internal/preferences/EclipsePreferences;
21 23 5 e Ljava/lang/ClassCastException;
24 26 5 e Lorg/eclipse/core/runtime/CoreException;
Exception table:
from to target type
4 6 7 Class java.lang.ClassCastException
4 6 10 Class org.eclipse.core.runtime.CoreException
14 19 20 Class java.lang.ClassCastException
14 19 23 Class org.eclipse.core.runtime.CoreException
MethodParameters:
Name Flags
parent
name
public org.eclipse.core.runtime.ListenerList<org.eclipse.core.runtime.preferences.PreferenceModifyListener> getModifyListeners();
descriptor: ()Lorg/eclipse/core/runtime/ListenerList;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=11, args_size=1
start local 0 0: aload 0
getfield org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.modifyListeners:Lorg/eclipse/core/runtime/ListenerList;
ifnonnull 14
1: aload 0
new org.eclipse.core.runtime.ListenerList
dup
invokespecial org.eclipse.core.runtime.ListenerList.<init>:()V
putfield org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.modifyListeners:Lorg/eclipse/core/runtime/ListenerList;
2: aload 0
invokevirtual org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.getPrefExtensions:()[Lorg/eclipse/core/runtime/IExtension;
astore 1
start local 1 3: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 13
StackMap locals: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper org.eclipse.core.runtime.IExtension[] top int int org.eclipse.core.runtime.IExtension[]
StackMap stack:
4: aload 5
iload 3
aaload
astore 2
start local 2 5: aload 2
invokeinterface org.eclipse.core.runtime.IExtension.getConfigurationElements:()[Lorg/eclipse/core/runtime/IConfigurationElement;
astore 6
start local 6 6: aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 11
StackMap locals: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper org.eclipse.core.runtime.IExtension[] org.eclipse.core.runtime.IExtension int int org.eclipse.core.runtime.IExtension[] org.eclipse.core.runtime.IConfigurationElement[] top int int org.eclipse.core.runtime.IConfigurationElement[]
StackMap stack:
7: aload 10
iload 8
aaload
astore 7
start local 7 8: ldc "modifier"
aload 7
invokeinterface org.eclipse.core.runtime.IConfigurationElement.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 10
9: aload 0
aload 7
invokevirtual org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.addModifyListener:(Lorg/eclipse/core/runtime/IConfigurationElement;)V
end local 7 10: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
11: iload 8
iload 9
if_icmplt 7
end local 6 end local 2 12: iinc 3 1
StackMap locals: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper org.eclipse.core.runtime.IExtension[] top int int org.eclipse.core.runtime.IExtension[]
StackMap stack:
13: iload 3
iload 4
if_icmplt 4
end local 1 14: StackMap locals: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper
StackMap stack:
aload 0
getfield org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.modifyListeners:Lorg/eclipse/core/runtime/ListenerList;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper;
3 14 1 extensions [Lorg/eclipse/core/runtime/IExtension;
5 12 2 extension Lorg/eclipse/core/runtime/IExtension;
6 12 6 elements [Lorg/eclipse/core/runtime/IConfigurationElement;
8 10 7 element Lorg/eclipse/core/runtime/IConfigurationElement;
Signature: ()Lorg/eclipse/core/runtime/ListenerList<Lorg/eclipse/core/runtime/preferences/PreferenceModifyListener;>;
private org.eclipse.core.runtime.IExtension[] getPrefExtensions();
descriptor: ()[Lorg/eclipse/core/runtime/IExtension;
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=6, args_size=1
start local 0 0: getstatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.EMPTY_EXTENSION_ARRAY:[Lorg/eclipse/core/runtime/IExtension;
astore 1
start local 1 1: getstatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.EMPTY_EXTENSION_ARRAY:[Lorg/eclipse/core/runtime/IExtension;
astore 2
start local 2 2: aload 0
getfield org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.registry:Lorg/eclipse/core/runtime/IExtensionRegistry;
ldc "org.eclipse.core.runtime"
ldc "preferences"
invokeinterface org.eclipse.core.runtime.IExtensionRegistry.getExtensionPoint:(Ljava/lang/String;Ljava/lang/String;)Lorg/eclipse/core/runtime/IExtensionPoint;
astore 3
start local 3 3: aload 3
ifnull 5
4: aload 3
invokeinterface org.eclipse.core.runtime.IExtensionPoint.getExtensions:()[Lorg/eclipse/core/runtime/IExtension;
astore 1
5: StackMap locals: org.eclipse.core.runtime.IExtension[] org.eclipse.core.runtime.IExtension[] org.eclipse.core.runtime.IExtensionPoint
StackMap stack:
aload 0
getfield org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.registry:Lorg/eclipse/core/runtime/IExtensionRegistry;
ldc "org.eclipse.equinox.preferences"
ldc "preferences"
invokeinterface org.eclipse.core.runtime.IExtensionRegistry.getExtensionPoint:(Ljava/lang/String;Ljava/lang/String;)Lorg/eclipse/core/runtime/IExtensionPoint;
astore 4
start local 4 6: aload 4
ifnull 8
7: aload 4
invokeinterface org.eclipse.core.runtime.IExtensionPoint.getExtensions:()[Lorg/eclipse/core/runtime/IExtension;
astore 2
8: StackMap locals: org.eclipse.core.runtime.IExtensionPoint
StackMap stack:
aload 1
arraylength
aload 2
arraylength
iadd
anewarray org.eclipse.core.runtime.IExtension
astore 5
start local 5 9: aload 1
iconst_0
aload 5
iconst_0
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
10: aload 2
iconst_0
aload 5
aload 1
arraylength
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
11: aload 5
arraylength
ifne 14
12: getstatic org.eclipse.core.internal.preferences.EclipsePreferences.DEBUG_PREFERENCE_GENERAL:Z
ifeq 14
13: ldc "No extensions for org.eclipse.core.contenttype."
invokestatic org.eclipse.core.internal.preferences.PrefsMessages.message:(Ljava/lang/String;)V
14: StackMap locals: org.eclipse.core.runtime.IExtension[]
StackMap stack:
aload 5
areturn
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 15 0 this Lorg/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper;
1 15 1 extensionsOld [Lorg/eclipse/core/runtime/IExtension;
2 15 2 extensionsNew [Lorg/eclipse/core/runtime/IExtension;
3 15 3 pointOld Lorg/eclipse/core/runtime/IExtensionPoint;
6 15 4 pointNew Lorg/eclipse/core/runtime/IExtensionPoint;
9 15 5 extensions [Lorg/eclipse/core/runtime/IExtension;
private void initializeScopes();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=11, args_size=1
start local 0 0: aload 0
invokevirtual org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.getPrefExtensions:()[Lorg/eclipse/core/runtime/IExtension;
astore 1
start local 1 1: aload 1
dup
astore 5
arraylength
istore 4
iconst_0
istore 3
goto 11
StackMap locals: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper org.eclipse.core.runtime.IExtension[] top int int org.eclipse.core.runtime.IExtension[]
StackMap stack:
2: aload 5
iload 3
aaload
astore 2
start local 2 3: aload 2
invokeinterface org.eclipse.core.runtime.IExtension.getConfigurationElements:()[Lorg/eclipse/core/runtime/IConfigurationElement;
astore 6
start local 6 4: aload 6
dup
astore 10
arraylength
istore 9
iconst_0
istore 8
goto 9
StackMap locals: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper org.eclipse.core.runtime.IExtension[] org.eclipse.core.runtime.IExtension int int org.eclipse.core.runtime.IExtension[] org.eclipse.core.runtime.IConfigurationElement[] top int int org.eclipse.core.runtime.IConfigurationElement[]
StackMap stack:
5: aload 10
iload 8
aaload
astore 7
start local 7 6: ldc "scope"
aload 7
invokeinterface org.eclipse.core.runtime.IConfigurationElement.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 8
7: aload 0
aload 7
invokevirtual org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.scopeAdded:(Lorg/eclipse/core/runtime/IConfigurationElement;)V
end local 7 8: StackMap locals:
StackMap stack:
iinc 8 1
StackMap locals:
StackMap stack:
9: iload 8
iload 9
if_icmplt 5
end local 6 end local 2 10: iinc 3 1
StackMap locals: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper org.eclipse.core.runtime.IExtension[] top int int org.eclipse.core.runtime.IExtension[]
StackMap stack:
11: iload 3
iload 4
if_icmplt 2
12: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 13 0 this Lorg/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper;
1 13 1 extensions [Lorg/eclipse/core/runtime/IExtension;
3 10 2 extension Lorg/eclipse/core/runtime/IExtension;
4 10 6 elements [Lorg/eclipse/core/runtime/IConfigurationElement;
6 8 7 element Lorg/eclipse/core/runtime/IConfigurationElement;
public void registryChanged(org.eclipse.core.runtime.IRegistryChangeEvent);
descriptor: (Lorg/eclipse/core/runtime/IRegistryChangeEvent;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=15, args_size=2
start local 0 start local 1 0: aload 1
ldc "org.eclipse.core.runtime"
ldc "preferences"
invokeinterface org.eclipse.core.runtime.IRegistryChangeEvent.getExtensionDeltas:(Ljava/lang/String;Ljava/lang/String;)[Lorg/eclipse/core/runtime/IExtensionDelta;
astore 2
start local 2 1: aload 1
ldc "org.eclipse.equinox.preferences"
ldc "preferences"
invokeinterface org.eclipse.core.runtime.IRegistryChangeEvent.getExtensionDeltas:(Ljava/lang/String;Ljava/lang/String;)[Lorg/eclipse/core/runtime/IExtensionDelta;
astore 3
start local 3 2: aload 2
arraylength
aload 3
arraylength
iadd
anewarray org.eclipse.core.runtime.IExtensionDelta
astore 4
start local 4 3: aload 2
iconst_0
aload 4
iconst_0
aload 2
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 3
iconst_0
aload 4
aload 2
arraylength
aload 3
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
5: aload 4
arraylength
ifne 7
6: return
7: StackMap locals: org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta[]
StackMap stack:
aload 4
dup
astore 8
arraylength
istore 7
iconst_0
istore 6
goto 22
StackMap locals: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper org.eclipse.core.runtime.IRegistryChangeEvent org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta[] top int int org.eclipse.core.runtime.IExtensionDelta[]
StackMap stack:
8: aload 8
iload 6
aaload
astore 5
start local 5 9: aload 5
invokeinterface org.eclipse.core.runtime.IExtensionDelta.getExtension:()Lorg/eclipse/core/runtime/IExtension;
invokeinterface org.eclipse.core.runtime.IExtension.getConfigurationElements:()[Lorg/eclipse/core/runtime/IConfigurationElement;
astore 9
start local 9 10: aload 9
dup
astore 13
arraylength
istore 12
iconst_0
istore 11
goto 20
StackMap locals: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper org.eclipse.core.runtime.IRegistryChangeEvent org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta int int org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IConfigurationElement[] top int int org.eclipse.core.runtime.IConfigurationElement[]
StackMap stack:
11: aload 13
iload 11
aaload
astore 10
start local 10 12: aload 5
invokeinterface org.eclipse.core.runtime.IExtensionDelta.getKind:()I
tableswitch { // 1 - 2
1: 13
2: 16
default: 19
}
13: StackMap locals: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper org.eclipse.core.runtime.IRegistryChangeEvent org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta int int org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IConfigurationElement[] org.eclipse.core.runtime.IConfigurationElement int int org.eclipse.core.runtime.IConfigurationElement[]
StackMap stack:
ldc "scope"
aload 10
invokeinterface org.eclipse.core.runtime.IConfigurationElement.getName:()Ljava/lang/String;
invokevirtual java.lang.String.equalsIgnoreCase:(Ljava/lang/String;)Z
ifeq 19
14: aload 0
aload 10
invokevirtual org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.scopeAdded:(Lorg/eclipse/core/runtime/IConfigurationElement;)V
15: goto 19
16: StackMap locals:
StackMap stack:
aload 10
ldc "name"
invokeinterface org.eclipse.core.runtime.IConfigurationElement.getAttribute:(Ljava/lang/String;)Ljava/lang/String;
astore 14
start local 14 17: aload 14
ifnull 19
18: aload 0
aload 14
invokevirtual org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.scopeRemoved:(Ljava/lang/String;)V
end local 14 end local 10 19: StackMap locals: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper org.eclipse.core.runtime.IRegistryChangeEvent org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta int int org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IConfigurationElement[] top int int org.eclipse.core.runtime.IConfigurationElement[]
StackMap stack:
iinc 11 1
StackMap locals:
StackMap stack:
20: iload 11
iload 12
if_icmplt 11
end local 9 end local 5 21: iinc 6 1
StackMap locals: org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper org.eclipse.core.runtime.IRegistryChangeEvent org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta[] org.eclipse.core.runtime.IExtensionDelta[] top int int org.eclipse.core.runtime.IExtensionDelta[]
StackMap stack:
22: iload 6
iload 7
if_icmplt 8
23: aload 0
aconst_null
putfield org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.modifyListeners:Lorg/eclipse/core/runtime/ListenerList;
24: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper;
0 25 1 event Lorg/eclipse/core/runtime/IRegistryChangeEvent;
1 25 2 deltasOld [Lorg/eclipse/core/runtime/IExtensionDelta;
2 25 3 deltasNew [Lorg/eclipse/core/runtime/IExtensionDelta;
3 25 4 deltas [Lorg/eclipse/core/runtime/IExtensionDelta;
9 21 5 delta Lorg/eclipse/core/runtime/IExtensionDelta;
10 21 9 elements [Lorg/eclipse/core/runtime/IConfigurationElement;
12 19 10 element Lorg/eclipse/core/runtime/IConfigurationElement;
17 19 14 scope Ljava/lang/String;
MethodParameters:
Name Flags
event
private void runInitializer(org.eclipse.core.runtime.IConfigurationElement);
descriptor: (Lorg/eclipse/core/runtime/IConfigurationElement;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=4, args_size=2
start local 0 start local 1 0: aload 1
ldc "class"
invokeinterface org.eclipse.core.runtime.IConfigurationElement.createExecutableExtension:(Ljava/lang/String;)Ljava/lang/Object;
checkcast org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer
astore 2
start local 2 1: new org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper$1
dup
aload 0
aload 2
invokespecial org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper$1.<init>:(Lorg/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper;Lorg/eclipse/core/runtime/preferences/AbstractPreferenceInitializer;)V
astore 3
start local 3 2: aload 3
invokestatic org.eclipse.core.runtime.SafeRunner.run:(Lorg/eclipse/core/runtime/ISafeRunnable;)V
end local 3 end local 2 3: goto 10
StackMap locals:
StackMap stack: java.lang.ClassCastException
4: astore 2
start local 2 5: new org.eclipse.core.runtime.Status
dup
iconst_4
ldc "org.eclipse.equinox.preferences"
iconst_4
getstatic org.eclipse.core.internal.preferences.PrefsMessages.preferences_invalidExtensionSuperclass:Ljava/lang/String;
aload 2
invokespecial org.eclipse.core.runtime.Status.<init>:(ILjava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
astore 3
start local 3 6: aload 3
invokestatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.log:(Lorg/eclipse/core/runtime/IStatus;)V
end local 3 end local 2 7: goto 10
8: StackMap locals:
StackMap stack: org.eclipse.core.runtime.CoreException
astore 2
start local 2 9: aload 2
invokevirtual org.eclipse.core.runtime.CoreException.getStatus:()Lorg/eclipse/core/runtime/IStatus;
invokestatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.log:(Lorg/eclipse/core/runtime/IStatus;)V
end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper;
0 11 1 element Lorg/eclipse/core/runtime/IConfigurationElement;
1 3 2 initializer Lorg/eclipse/core/runtime/preferences/AbstractPreferenceInitializer;
2 3 3 job Lorg/eclipse/core/runtime/ISafeRunnable;
5 7 2 e Ljava/lang/ClassCastException;
6 7 3 status Lorg/eclipse/core/runtime/IStatus;
9 10 2 e Lorg/eclipse/core/runtime/CoreException;
Exception table:
from to target type
0 3 4 Class java.lang.ClassCastException
0 3 8 Class org.eclipse.core.runtime.CoreException
MethodParameters:
Name Flags
element
private void scopeAdded(org.eclipse.core.runtime.IConfigurationElement);
descriptor: (Lorg/eclipse/core/runtime/IConfigurationElement;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problem: \n\tNLS cannot be resolved\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper;
MethodParameters:
Name Flags
element
private void scopeRemoved(java.lang.String);
descriptor: (Ljava/lang/String;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.service:Lorg/eclipse/core/internal/preferences/PreferencesService;
invokevirtual org.eclipse.core.internal.preferences.PreferencesService.getRootNode:()Lorg/eclipse/core/runtime/preferences/IEclipsePreferences;
checkcast org.eclipse.core.internal.preferences.RootPreferences
aload 1
iconst_0
invokevirtual org.eclipse.core.internal.preferences.RootPreferences.getNode:(Ljava/lang/String;Z)Lorg/osgi/service/prefs/Preferences;
checkcast org.eclipse.core.runtime.preferences.IEclipsePreferences
astore 2
start local 2 1: aload 2
ifnull 3
2: aload 0
getfield org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.service:Lorg/eclipse/core/internal/preferences/PreferencesService;
invokevirtual org.eclipse.core.internal.preferences.PreferencesService.getRootNode:()Lorg/eclipse/core/runtime/preferences/IEclipsePreferences;
checkcast org.eclipse.core.internal.preferences.RootPreferences
aload 2
invokevirtual org.eclipse.core.internal.preferences.RootPreferences.removeNode:(Lorg/eclipse/core/runtime/preferences/IEclipsePreferences;)V
goto 4
3: StackMap locals: org.eclipse.core.runtime.preferences.IEclipsePreferences
StackMap stack:
aload 0
getfield org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.service:Lorg/eclipse/core/internal/preferences/PreferencesService;
invokevirtual org.eclipse.core.internal.preferences.PreferencesService.getRootNode:()Lorg/eclipse/core/runtime/preferences/IEclipsePreferences;
checkcast org.eclipse.core.internal.preferences.RootPreferences
aload 1
invokevirtual org.eclipse.core.internal.preferences.RootPreferences.removeNode:(Ljava/lang/String;)Ljava/lang/Object;
pop
4: StackMap locals:
StackMap stack:
getstatic org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.scopeRegistry:Ljava/util/Map;
aload 1
invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
pop
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/eclipse/core/internal/preferences/PreferenceServiceRegistryHelper;
0 6 1 key Ljava/lang/String;
1 6 2 node Lorg/eclipse/core/runtime/preferences/IEclipsePreferences;
MethodParameters:
Name Flags
key
}
SourceFile: "PreferenceServiceRegistryHelper.java"
NestMembers:
org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper$1
InnerClasses:
org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper$1