test_class.declarator: cut
test_class.modifier: private static
test_class.original_string: private static DefaultKeyProvider cut;
test_class.type: DefaultKeyProvider
test_class.var_name: cut
test_class.file: simple-spring-memcached/src/test/java/com/google/code/ssm/aop/support/DefaultKeyProviderTest.java
test_class.identifier: DefaultKeyProviderTest
test_case.body: @Test
      public void testMultiplexExceptions() {
          try {
              cut.generateKeys(null);
              fail("Expected exception");
          } catch (InvalidParameterException ex) {
          }
  
          try {
              cut.generateKeys(new Object[0]);
              fail("Expected exception");
          } catch (InvalidParameterException ex) {
          }
  
      }
test_case.class_method_signature: DefaultKeyProviderTest.testMultiplexExceptions()
test_case.full_signature: @Test public void testMultiplexExceptions()
test_case.identifier: testMultiplexExceptions
test_case.invocations: generateKeys fail generateKeys fail
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testMultiplexExceptions()
focal_class.declarator: methodStore = new CacheKeyMethodStoreImpl()
focal_class.modifier: private
focal_class.original_string: private CacheKeyMethodStore methodStore = new CacheKeyMethodStoreImpl();
focal_class.type: CacheKeyMethodStore
focal_class.var_name: methodStore
focal_class.file: simple-spring-memcached/src/main/java/com/google/code/ssm/aop/support/DefaultKeyProvider.java
focal_class.identifier: DefaultKeyProvider
focal_class.interfaces: implements KeyProvider
focal_class.class_method_signature: DefaultKeyProvider.setMethodStore(final CacheKeyMethodStore methodStore)
focal_class.full_signature: public void setMethodStore(final CacheKeyMethodStore methodStore)
focal_class.identifier: setMethodStore
focal_class.modifiers: public
focal_class.parameters: (final CacheKeyMethodStore methodStore)
focal_class.return: void
focal_class.signature: void setMethodStore(final CacheKeyMethodStore methodStore)
focal_class.class_method_signature: DefaultKeyProvider.getMethodStore()
focal_class.full_signature: public CacheKeyMethodStore getMethodStore()
focal_class.identifier: getMethodStore
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: CacheKeyMethodStore
focal_class.signature: CacheKeyMethodStore getMethodStore()
focal_class.class_method_signature: DefaultKeyProvider.generateKey(final Object keyObject)
focal_class.full_signature: @Override public String generateKey(final Object keyObject)
focal_class.identifier: generateKey
focal_class.modifiers: @Override public
focal_class.parameters: (final Object keyObject)
focal_class.return: String
focal_class.signature: String generateKey(final Object keyObject)
focal_class.class_method_signature: DefaultKeyProvider.generateKeys(final Object[] keyObjects)
focal_class.full_signature: @Override public String[] generateKeys(final Object[] keyObjects)
focal_class.identifier: generateKeys
focal_class.modifiers: @Override public
focal_class.parameters: (final Object[] keyObjects)
focal_class.return: String[]
focal_class.signature: String[] generateKeys(final Object[] keyObjects)
focal_class.class_method_signature: DefaultKeyProvider.getKeyMethod(final Object keyObject)
focal_class.full_signature:  Method getKeyMethod(final Object keyObject)
focal_class.identifier: getKeyMethod
focal_class.parameters: (final Object keyObject)
focal_class.return: Method
focal_class.signature: Method getKeyMethod(final Object keyObject)
focal_class.class_method_signature: DefaultKeyProvider.generateObjectId(final Method keyMethod, final Object keyObject)
focal_class.full_signature:  String generateObjectId(final Method keyMethod, final Object keyObject)
focal_class.identifier: generateObjectId
focal_class.parameters: (final Method keyMethod, final Object keyObject)
focal_class.return: String
focal_class.signature: String generateObjectId(final Method keyMethod, final Object keyObject)
focal_method.body: @Override
      public String[] generateKeys(final Object[] keyObjects) {
          if (keyObjects == null || keyObjects.length < 1) {
              throw new InvalidParameterException("The key objects must be defined.");
          }
  
          final String[] results = new String[keyObjects.length];
          for (int i = 0; i < keyObjects.length; i++) {
              results[i] = generateKey(keyObjects[i]);
          }
  
          return results;
      }
focal_method.class_method_signature: DefaultKeyProvider.generateKeys(final Object[] keyObjects)
focal_method.full_signature: @Override public String[] generateKeys(final Object[] keyObjects)
focal_method.identifier: generateKeys
focal_method.invocations: generateKey
focal_method.modifiers: @Override public
focal_method.parameters: (final Object[] keyObjects)
focal_method.return: String[]
focal_method.signature: String[] generateKeys(final Object[] keyObjects)