returns true if the given factorymethoddescriptor and implementationmethoddescriptor are duplicates.descriptors are duplicates if they have the same name and if they have the same passed types in the same order . concode_field_sep CharMatcher invalidIdentifierCharacters concode_field_sep ImmutableSet<TypeMirror> implementingTypes concode_elem_sep ImmutableSet<FactoryMethodDescriptor> getDeduplicatedMethodDescriptors concode_elem_sep ImmutableBiMap<FactoryMethodDescriptor,ImplementationMethodDescriptor> createDuplicateMethodDescriptorsBiMap concode_elem_sep ImmutableSet<ImplementationMethodDescriptor> implementationMethodDescriptors concode_elem_sep boolean allowSubclasses concode_elem_sep TypeMirror extendingType concode_elem_sep boolean publicType concode_elem_sep String name concode_elem_sep ImmutableMap<Key,String> providerNames concode_elem_sep FactoryDescriptor create concode_elem_sep ImmutableSet<FactoryMethodDescriptor> methodDescriptors concode_elem_sep boolean matches
boolean function ( FactoryMethodDescriptor arg0 , ImplementationMethodDescriptor arg1 ) { if ( ! arg0 . name ( ) . equals ( arg1 . name ( ) ) ) { return false ; } return MoreTypes . equivalence ( ) . pairwise ( ) . equivalent ( Iterables . transform ( arg0 . passedParameters ( ) , Parameter . parameterToType ) , Iterables . transform ( arg1 . passedParameters ( ) , Parameter . parameterToType ) ) ; }