Tabnine Logo
ProviderMethodsModule.createProviderMethod
Code IndexAdd Tabnine to your IDE (free)

How to use
createProviderMethod
method
in
com.google.inject.internal.ProviderMethodsModule

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

origin: com.google.inject/guice

 result = Lists.newArrayList();
result.add(createProviderMethod(binder, method, annotation));
superMostClass = c;
origin: com.google/inject

public List<ProviderMethod<?>> getProviderMethods(Binder binder) {
 List<ProviderMethod<?>> result = Lists.newArrayList();
 for (Class<?> c = delegate.getClass(); c != Object.class; c = c.getSuperclass()) {
  for (Method method : c.getDeclaredMethods()) {
   if (method.isAnnotationPresent(Provides.class)) {
    result.add(createProviderMethod(binder, method));
   }
  }
 }
 return result;
}
origin: at.bestsolution.efxclipse.eclipse/com.google.inject

public List<ProviderMethod<?>> getProviderMethods(Binder binder) {
 List<ProviderMethod<?>> result = Lists.newArrayList();
 for (Class<?> c = delegate.getClass(); c != Object.class; c = c.getSuperclass()) {
  for (Method method : c.getDeclaredMethods()) {
   if (method.isAnnotationPresent(Provides.class)) {
    result.add(createProviderMethod(binder, method));
   }
  }
 }
 return result;
}
origin: Nextdoor/bender

public List<ProviderMethod<?>> getProviderMethods(Binder binder) {
 List<ProviderMethod<?>> result = Lists.newArrayList();
 for (Class<?> c = delegate.getClass(); c != Object.class; c = c.getSuperclass()) {
  for (Method method : c.getDeclaredMethods()) {
   if (method.isAnnotationPresent(Provides.class)) {
    result.add(createProviderMethod(binder, method));
   }
  }
 }
 return result;
}
origin: org.xbib/guice

result.add(createProviderMethod(binder, method, annotation.get()));
origin: com.jwebmp.inject/guice

 result = Lists.newArrayList();
result.add(createProviderMethod(binder, method, annotation));
superMostClass = c;
origin: org.sonatype.sisu/sisu-guice

 result = Lists.newArrayList();
result.add(createProviderMethod(binder, method, annotation));
superMostClass = c;
com.google.inject.internalProviderMethodsModulecreateProviderMethod

Popular methods of ProviderMethodsModule

  • forModule
    Returns a module which creates bindings methods in the module that match the scanner.
  • forObject
  • getProviderMethods
  • <init>
  • getKey
  • getDelegateModule
  • overrides
    Returns true if a overrides b, assumes that the signatures match
  • getAnnotation
    Returns the annotation that is claimed by the scanner, or null if there is none.
  • isProvider
    Returns true if the method is a provider. Synthetic bridge methods are excluded. Starting with JDK 8

Popular in Java

  • Updating database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • compareTo (BigDecimal)
  • findViewById (Activity)
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • 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