test_class.declarator: collectionMultipartFormDataMessageBodyWriter
test_class.modifier: private
test_class.original_string: private CollectionMultipartFormDataMessageBodyWriter collectionMultipartFormDataMessageBodyWriter;
test_class.type: CollectionMultipartFormDataMessageBodyWriter
test_class.var_name: collectionMultipartFormDataMessageBodyWriter
test_class.declarator: multipartFormDataWriter
test_class.modifier: private
test_class.original_string: private MultipartFormDataWriter                      multipartFormDataWriter;
test_class.type: MultipartFormDataWriter
test_class.var_name: multipartFormDataWriter
test_class.file: everrest-core/src/test/java/org/everrest/core/impl/provider/multipart/CollectionMultipartFormDataMessageBodyWriterTest.java
test_class.identifier: CollectionMultipartFormDataMessageBodyWriterTest
test_case.body: @Test
      public void isNotWriteableForAnyCollectionOfOtherTypeThanOutputItems() throws Exception {
          Class<Collection> type = Collection.class;
          ParameterizedType genericType = ParameterizedTypeImpl.newParameterizedType(Collection.class, String.class);
  
          assertFalse(collectionMultipartFormDataMessageBodyWriter.isWriteable(type, genericType, new Annotation[0], null));
      }
test_case.class_method_signature: CollectionMultipartFormDataMessageBodyWriterTest.isNotWriteableForAnyCollectionOfOtherTypeThanOutputItems()
test_case.full_signature: @Test public void isNotWriteableForAnyCollectionOfOtherTypeThanOutputItems()
test_case.identifier: isNotWriteableForAnyCollectionOfOtherTypeThanOutputItems
test_case.invocations: newParameterizedType assertFalse isWriteable
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void isNotWriteableForAnyCollectionOfOtherTypeThanOutputItems()
focal_class.declarator: multipartFormDataWriter
focal_class.modifier: private final
focal_class.original_string: private final MultipartFormDataWriter multipartFormDataWriter;
focal_class.type: MultipartFormDataWriter
focal_class.var_name: multipartFormDataWriter
focal_class.file: everrest-core/src/main/java/org/everrest/core/impl/provider/multipart/CollectionMultipartFormDataMessageBodyWriter.java
focal_class.identifier: CollectionMultipartFormDataMessageBodyWriter
focal_class.interfaces: implements MessageBodyWriter<Collection<OutputItem>>
focal_class.class_method_signature: CollectionMultipartFormDataMessageBodyWriter.CollectionMultipartFormDataMessageBodyWriter(@Context Providers providers)
focal_class.full_signature: public  CollectionMultipartFormDataMessageBodyWriter(@Context Providers providers)
focal_class.identifier: CollectionMultipartFormDataMessageBodyWriter
focal_class.modifiers: public
focal_class.parameters: (@Context Providers providers)
focal_class.signature:  CollectionMultipartFormDataMessageBodyWriter(@Context Providers providers)
focal_class.class_method_signature: CollectionMultipartFormDataMessageBodyWriter.CollectionMultipartFormDataMessageBodyWriter(MultipartFormDataWriter multipartFormDataWriter)
focal_class.full_signature:   CollectionMultipartFormDataMessageBodyWriter(MultipartFormDataWriter multipartFormDataWriter)
focal_class.identifier: CollectionMultipartFormDataMessageBodyWriter
focal_class.parameters: (MultipartFormDataWriter multipartFormDataWriter)
focal_class.signature:  CollectionMultipartFormDataMessageBodyWriter(MultipartFormDataWriter multipartFormDataWriter)
focal_class.class_method_signature: CollectionMultipartFormDataMessageBodyWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.full_signature: @Override public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.identifier: isWriteable
focal_class.modifiers: @Override public
focal_class.parameters: (Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.return: boolean
focal_class.signature: boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.class_method_signature: CollectionMultipartFormDataMessageBodyWriter.getSize(Collection<OutputItem> items, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.full_signature: @Override public long getSize(Collection<OutputItem> items, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.identifier: getSize
focal_class.modifiers: @Override public
focal_class.parameters: (Collection<OutputItem> items, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.return: long
focal_class.signature: long getSize(Collection<OutputItem> items, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_class.class_method_signature: CollectionMultipartFormDataMessageBodyWriter.writeTo(Collection<OutputItem> items, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType,
                          MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream)
focal_class.full_signature: @Override public void writeTo(Collection<OutputItem> items, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType,
                          MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream)
focal_class.identifier: writeTo
focal_class.modifiers: @Override public
focal_class.parameters: (Collection<OutputItem> items, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType,
                          MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream)
focal_class.return: void
focal_class.signature: void writeTo(Collection<OutputItem> items, Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType,
                          MultivaluedMap<String, Object> httpHeaders, OutputStream entityStream)
focal_class.class_method_signature: CollectionMultipartFormDataMessageBodyWriter.createMediaTypeWithBoundary(MediaType mediaType, String boundary)
focal_class.full_signature: private MediaType createMediaTypeWithBoundary(MediaType mediaType, String boundary)
focal_class.identifier: createMediaTypeWithBoundary
focal_class.modifiers: private
focal_class.parameters: (MediaType mediaType, String boundary)
focal_class.return: MediaType
focal_class.signature: MediaType createMediaTypeWithBoundary(MediaType mediaType, String boundary)
focal_method.body: @Override
      public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType) {
          if (Collection.class.isAssignableFrom(type) && genericType instanceof ParameterizedType) {
              ParameterizedType t = (ParameterizedType)genericType;
              Type[] ta = t.getActualTypeArguments();
              return ta.length == 1 && ta[0] instanceof Class && OutputItem.class.isAssignableFrom((Class<?>)ta[0]);
          }
          return false;
      }
focal_method.class_method_signature: CollectionMultipartFormDataMessageBodyWriter.isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_method.full_signature: @Override public boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_method.identifier: isWriteable
focal_method.invocations: isAssignableFrom getActualTypeArguments isAssignableFrom
focal_method.modifiers: @Override public
focal_method.parameters: (Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)
focal_method.return: boolean
focal_method.signature: boolean isWriteable(Class<?> type, Type genericType, Annotation[] annotations, MediaType mediaType)