test_class.file: socket.io-server/src/test/java/io/socket/socketio/server/SocketIoServerOptionsTest.java
test_class.identifier: SocketIoServerOptionsTest
test_case.body: @Test(expected = IllegalStateException.class)
      public void testDefaultLocked_setAdapterFactory() {
          SocketIoServerOptions.DEFAULT.setAdapterFactory(null);
      }
test_case.class_method_signature: SocketIoServerOptionsTest.testDefaultLocked_setAdapterFactory()
test_case.full_signature: @Test(expected = IllegalStateException.class) public void testDefaultLocked_setAdapterFactory()
test_case.identifier: testDefaultLocked_setAdapterFactory
test_case.invocations: setAdapterFactory
test_case.modifiers: @Test(expected = IllegalStateException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testDefaultLocked_setAdapterFactory()
focal_class.declarator: DEFAULT = new SocketIoServerOptions()
focal_class.modifier: public static final
focal_class.original_string: public static final SocketIoServerOptions DEFAULT = new SocketIoServerOptions();
focal_class.type: SocketIoServerOptions
focal_class.var_name: DEFAULT
focal_class.declarator: MEMORY_ADAPTER_FACTORY = new SocketIoMemoryAdapter.Factory()
focal_class.modifier: private static final
focal_class.original_string: private static final SocketIoAdapter.AdapterFactory MEMORY_ADAPTER_FACTORY = new SocketIoMemoryAdapter.Factory();
focal_class.type: SocketIoAdapter.AdapterFactory
focal_class.var_name: MEMORY_ADAPTER_FACTORY
focal_class.declarator: mIsLocked
focal_class.modifier: private
focal_class.original_string: private boolean mIsLocked;
focal_class.type: boolean
focal_class.var_name: mIsLocked
focal_class.declarator: mAdapterFactory
focal_class.modifier: private
focal_class.original_string: private SocketIoAdapter.AdapterFactory mAdapterFactory;
focal_class.type: SocketIoAdapter.AdapterFactory
focal_class.var_name: mAdapterFactory
focal_class.file: socket.io-server/src/main/java/io/socket/socketio/server/SocketIoServerOptions.java
focal_class.identifier: SocketIoServerOptions
focal_class.class_method_signature: SocketIoServerOptions.SocketIoServerOptions()
focal_class.full_signature: private  SocketIoServerOptions()
focal_class.identifier: SocketIoServerOptions
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  SocketIoServerOptions()
focal_class.class_method_signature: SocketIoServerOptions.newFromDefault()
focal_class.full_signature: public static SocketIoServerOptions newFromDefault()
focal_class.identifier: newFromDefault
focal_class.modifiers: public static
focal_class.parameters: ()
focal_class.return: SocketIoServerOptions
focal_class.signature: SocketIoServerOptions newFromDefault()
focal_class.class_method_signature: SocketIoServerOptions.getAdapterFactory()
focal_class.full_signature: public SocketIoAdapter.AdapterFactory getAdapterFactory()
focal_class.identifier: getAdapterFactory
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: SocketIoAdapter.AdapterFactory
focal_class.signature: SocketIoAdapter.AdapterFactory getAdapterFactory()
focal_class.class_method_signature: SocketIoServerOptions.setAdapterFactory(SocketIoAdapter.AdapterFactory adapterFactory)
focal_class.full_signature: public SocketIoServerOptions setAdapterFactory(SocketIoAdapter.AdapterFactory adapterFactory)
focal_class.identifier: setAdapterFactory
focal_class.modifiers: public
focal_class.parameters: (SocketIoAdapter.AdapterFactory adapterFactory)
focal_class.return: SocketIoServerOptions
focal_class.signature: SocketIoServerOptions setAdapterFactory(SocketIoAdapter.AdapterFactory adapterFactory)
focal_class.class_method_signature: SocketIoServerOptions.lock()
focal_class.full_signature: public void lock()
focal_class.identifier: lock
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void lock()
focal_method.body: public SocketIoServerOptions setAdapterFactory(SocketIoAdapter.AdapterFactory adapterFactory) throws IllegalStateException {
          if (mIsLocked) {
              throw new IllegalStateException("Adapter factory cannot be set. Instance is locked.");
          }
  
          if (adapterFactory == null) {
              adapterFactory = MEMORY_ADAPTER_FACTORY;
          }
  
          mAdapterFactory = adapterFactory;
          return this;
      }
focal_method.class_method_signature: SocketIoServerOptions.setAdapterFactory(SocketIoAdapter.AdapterFactory adapterFactory)
focal_method.full_signature: public SocketIoServerOptions setAdapterFactory(SocketIoAdapter.AdapterFactory adapterFactory)
focal_method.identifier: setAdapterFactory
focal_method.modifiers: public
focal_method.parameters: (SocketIoAdapter.AdapterFactory adapterFactory)
focal_method.return: SocketIoServerOptions
focal_method.signature: SocketIoServerOptions setAdapterFactory(SocketIoAdapter.AdapterFactory adapterFactory)