Tabnine Logo
MemberInjectorProcessor.isValidInjectAnnotatedMethod
Code IndexAdd Tabnine to your IDE (free)

How to use
isValidInjectAnnotatedMethod
method
in
toothpick.compiler.memberinjector.MemberInjectorProcessor

Best Java code snippets using toothpick.compiler.memberinjector.MemberInjectorProcessor.isValidInjectAnnotatedMethod (Showing top 3 results out of 315)

origin: stephanenicolas/toothpick

private void processInjectAnnotatedMethod(ExecutableElement methodElement,
  Map<TypeElement, List<MethodInjectionTarget>> mapTypeElementToMemberInjectorTargetList) {
 TypeElement enclosingElement = (TypeElement) methodElement.getEnclosingElement();
 // Verify common generated code restrictions.
 if (!isValidInjectAnnotatedMethod(methodElement)) {
  return;
 }
 List<MethodInjectionTarget> methodInjectionTargetList = mapTypeElementToMemberInjectorTargetList.get(enclosingElement);
 if (methodInjectionTargetList == null) {
  methodInjectionTargetList = new ArrayList<>();
  mapTypeElementToMemberInjectorTargetList.put(enclosingElement, methodInjectionTargetList);
 }
 mapTypeToMostDirectSuperTypeThatNeedsInjection(enclosingElement);
 methodInjectionTargetList.add(createMethodInjectionTarget(methodElement));
}
origin: com.github.stephanenicolas/toothpick-compiler

private void processInjectAnnotatedMethod(ExecutableElement methodElement,
  Map<TypeElement, List<MethodInjectionTarget>> mapTypeElementToMemberInjectorTargetList) {
 TypeElement enclosingElement = (TypeElement) methodElement.getEnclosingElement();
 // Verify common generated code restrictions.
 if (!isValidInjectAnnotatedMethod(methodElement)) {
  return;
 }
 List<MethodInjectionTarget> methodInjectionTargetList = mapTypeElementToMemberInjectorTargetList.get(enclosingElement);
 if (methodInjectionTargetList == null) {
  methodInjectionTargetList = new ArrayList<>();
  mapTypeElementToMemberInjectorTargetList.put(enclosingElement, methodInjectionTargetList);
 }
 mapTypeToMostDirectSuperTypeThatNeedsInjection(enclosingElement);
 methodInjectionTargetList.add(createMethodInjectionTarget(methodElement));
}
origin: com.github.stephanenicolas.toothpick/toothpick-compiler

private void processInjectAnnotatedMethod(ExecutableElement methodElement,
  Map<TypeElement, List<MethodInjectionTarget>> mapTypeElementToMemberInjectorTargetList) {
 TypeElement enclosingElement = (TypeElement) methodElement.getEnclosingElement();
 // Verify common generated code restrictions.
 if (!isValidInjectAnnotatedMethod(methodElement)) {
  return;
 }
 List<MethodInjectionTarget> methodInjectionTargetList = mapTypeElementToMemberInjectorTargetList.get(enclosingElement);
 if (methodInjectionTargetList == null) {
  methodInjectionTargetList = new ArrayList<>();
  mapTypeElementToMemberInjectorTargetList.put(enclosingElement, methodInjectionTargetList);
 }
 mapTypeToMostDirectSuperTypeThatNeedsInjection(enclosingElement);
 methodInjectionTargetList.add(createMethodInjectionTarget(methodElement));
}
toothpick.compiler.memberinjectorMemberInjectorProcessorisValidInjectAnnotatedMethod

Popular methods of MemberInjectorProcessor

  • createFieldOrParamInjectionTarget
  • createMethodInjectionTarget
  • findAndParseTargets
  • getMostDirectSuperClassWithInjectedMembers
  • getParamInjectionTargetList
  • isExcludedByFilters
  • isOverride
  • isValidInjectAnnotatedFieldOrParameter
  • mapTypeToMostDirectSuperTypeThatNeedsInjection
  • processInjectAnnotatedField
  • processInjectAnnotatedFields
  • processInjectAnnotatedMethod
  • processInjectAnnotatedFields,
  • processInjectAnnotatedMethod,
  • processInjectAnnotatedMethods,
  • writeToFile,
  • readCommonProcessorOptions,
  • readOptionCrashWhenMethodIsNotPackageProtected,
  • <init>,
  • hasAlreadyRun,
  • readProcessorOptions

Popular in Java

  • Making http requests using okhttp
  • onCreateOptionsMenu (Activity)
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • InputStreamReader (java.io)
    A class for turning a byte stream into a character stream. Data read from the source input stream is
  • Deque (java.util)
    A linear collection that supports element insertion and removal at both ends. The name deque is shor
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • SAXParseException (org.xml.sax)
    Encapsulate an XML parse error or warning.> This module, both source code and documentation, is in t
  • From CI to AI: The AI layer in your organization
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