Tabnine Logo
Errors.ambiguousTypeConversion
Code IndexAdd Tabnine to your IDE (free)

How to use
ambiguousTypeConversion
method
in
com.google.inject.internal.Errors

Best Java code snippets using com.google.inject.internal.Errors.ambiguousTypeConversion (Showing top 7 results out of 315)

origin: com.google.inject/guice

@Override
public TypeConverterBinding getConverter(
  String stringValue, TypeLiteral<?> type, Errors errors, Object source) {
 TypeConverterBinding matchingConverter = null;
 for (State s = this; s != State.NONE; s = s.parent()) {
  for (TypeConverterBinding converter : s.getConvertersThisLevel()) {
   if (converter.getTypeMatcher().matches(type)) {
    if (matchingConverter != null) {
     errors.ambiguousTypeConversion(stringValue, source, type, matchingConverter, converter);
    }
    matchingConverter = converter;
   }
  }
 }
 return matchingConverter;
}
origin: org.xbib/guice

public TypeConverterBinding getConverter(
    String stringValue, TypeLiteral<?> type, Errors errors, Object source) {
  TypeConverterBinding matchingConverter = null;
  for (State s = this; s != State.NONE; s = s.parent()) {
    for (TypeConverterBinding converter : s.getConvertersThisLevel()) {
      if (converter.getTypeMatcher().matches(type)) {
        if (matchingConverter != null) {
          errors.ambiguousTypeConversion(stringValue, source, type, matchingConverter, converter);
        }
        matchingConverter = converter;
      }
    }
  }
  return matchingConverter;
}
origin: com.jwebmp.inject/guice

@Override
public TypeConverterBinding getConverter(
  String stringValue, TypeLiteral<?> type, Errors errors, Object source) {
 TypeConverterBinding matchingConverter = null;
 for (State s = this; s != State.NONE; s = s.parent()) {
  for (TypeConverterBinding converter : s.getConvertersThisLevel()) {
   if (converter.getTypeMatcher().matches(type)) {
    if (matchingConverter != null) {
     errors.ambiguousTypeConversion(stringValue, source, type, matchingConverter, converter);
    }
    matchingConverter = converter;
   }
  }
 }
 return matchingConverter;
}
origin: at.bestsolution.efxclipse.eclipse/com.google.inject

public TypeConverterBinding getConverter(
  String stringValue, TypeLiteral<?> type, Errors errors, Object source) {
 TypeConverterBinding matchingConverter = null;
 for (State s = this; s != State.NONE; s = s.parent()) {
  for (TypeConverterBinding converter : s.getConvertersThisLevel()) {
   if (converter.getTypeMatcher().matches(type)) {
    if (matchingConverter != null) {
     errors.ambiguousTypeConversion(stringValue, source, type, matchingConverter, converter);
    }
    matchingConverter = converter;
   }
  }
 }
 return matchingConverter;
}
origin: com.google/inject

public TypeConverterBinding getConverter(
  String stringValue, TypeLiteral<?> type, Errors errors, Object source) {
 TypeConverterBinding matchingConverter = null;
 for (State s = this; s != State.NONE; s = s.parent()) {
  for (TypeConverterBinding converter : s.getConvertersThisLevel()) {
   if (converter.getTypeMatcher().matches(type)) {
    if (matchingConverter != null) {
     errors.ambiguousTypeConversion(stringValue, source, type, matchingConverter, converter);
    }
    matchingConverter = converter;
   }
  }
 }
 return matchingConverter;
}
origin: Nextdoor/bender

public TypeConverterBinding getConverter(
  String stringValue, TypeLiteral<?> type, Errors errors, Object source) {
 TypeConverterBinding matchingConverter = null;
 for (State s = this; s != State.NONE; s = s.parent()) {
  for (TypeConverterBinding converter : s.getConvertersThisLevel()) {
   if (converter.getTypeMatcher().matches(type)) {
    if (matchingConverter != null) {
     errors.ambiguousTypeConversion(stringValue, source, type, matchingConverter, converter);
    }
    matchingConverter = converter;
   }
  }
 }
 return matchingConverter;
}
origin: org.sonatype.sisu/sisu-guice

@Override
public TypeConverterBinding getConverter(
  String stringValue, TypeLiteral<?> type, Errors errors, Object source) {
 TypeConverterBinding matchingConverter = null;
 for (State s = this; s != State.NONE; s = s.parent()) {
  for (TypeConverterBinding converter : s.getConvertersThisLevel()) {
   if (converter.getTypeMatcher().matches(type)) {
    if (matchingConverter != null) {
     errors.ambiguousTypeConversion(stringValue, source, type, matchingConverter, converter);
    }
    matchingConverter = converter;
   }
  }
 }
 return matchingConverter;
}
com.google.inject.internalErrorsambiguousTypeConversion

Popular methods of Errors

  • <init>
  • getMessages
  • merge
  • addMessage
  • format
  • toException
  • withSource
    Returns an instance that uses source as a reference point for newly added errors.
  • hasErrors
  • cannotInjectInnerClass
  • convert
  • keyNotFullySpecified
  • throwConfigurationExceptionIfErrorsExist
  • keyNotFullySpecified,
  • throwConfigurationExceptionIfErrorsExist,
  • cannotInjectRawProvider,
  • misplacedBindingAnnotation,
  • bindingAlreadySet,
  • bindingToProvider,
  • cannotBindToGuiceType,
  • cannotInjectAbstractMethod,
  • cannotInjectFinalField

Popular in Java

  • Parsing JSON documents to java classes using gson
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • MalformedURLException (java.net)
    This exception is thrown when a program attempts to create an URL from an incorrect specification.
  • Permission (java.security)
    Legacy security code; do not use.
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now