congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
MemberInjectorProcessor.createFieldOrParamInjectionTarget
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: stephanenicolas/toothpick

private void processInjectAnnotatedField(VariableElement fieldElement,
  Map<TypeElement, List<FieldInjectionTarget>> mapTypeElementToMemberInjectorTargetList) {
 TypeElement enclosingElement = (TypeElement) fieldElement.getEnclosingElement();
 // Verify common generated code restrictions.
 if (!isValidInjectAnnotatedFieldOrParameter(fieldElement)) {
  return;
 }
 List<FieldInjectionTarget> fieldInjectionTargetList = mapTypeElementToMemberInjectorTargetList.get(enclosingElement);
 if (fieldInjectionTargetList == null) {
  fieldInjectionTargetList = new ArrayList<>();
  mapTypeElementToMemberInjectorTargetList.put(enclosingElement, fieldInjectionTargetList);
 }
 mapTypeToMostDirectSuperTypeThatNeedsInjection(enclosingElement);
 fieldInjectionTargetList.add(createFieldOrParamInjectionTarget(fieldElement));
}
origin: com.github.stephanenicolas/toothpick-compiler

private void processInjectAnnotatedField(VariableElement fieldElement,
  Map<TypeElement, List<FieldInjectionTarget>> mapTypeElementToMemberInjectorTargetList) {
 TypeElement enclosingElement = (TypeElement) fieldElement.getEnclosingElement();
 // Verify common generated code restrictions.
 if (!isValidInjectAnnotatedFieldOrParameter(fieldElement)) {
  return;
 }
 List<FieldInjectionTarget> fieldInjectionTargetList = mapTypeElementToMemberInjectorTargetList.get(enclosingElement);
 if (fieldInjectionTargetList == null) {
  fieldInjectionTargetList = new ArrayList<>();
  mapTypeElementToMemberInjectorTargetList.put(enclosingElement, fieldInjectionTargetList);
 }
 mapTypeToMostDirectSuperTypeThatNeedsInjection(enclosingElement);
 fieldInjectionTargetList.add(createFieldOrParamInjectionTarget(fieldElement));
}
origin: com.github.stephanenicolas.toothpick/toothpick-compiler

private void processInjectAnnotatedField(VariableElement fieldElement,
  Map<TypeElement, List<FieldInjectionTarget>> mapTypeElementToMemberInjectorTargetList) {
 TypeElement enclosingElement = (TypeElement) fieldElement.getEnclosingElement();
 // Verify common generated code restrictions.
 if (!isValidInjectAnnotatedFieldOrParameter(fieldElement)) {
  return;
 }
 List<FieldInjectionTarget> fieldInjectionTargetList = mapTypeElementToMemberInjectorTargetList.get(enclosingElement);
 if (fieldInjectionTargetList == null) {
  fieldInjectionTargetList = new ArrayList<>();
  mapTypeElementToMemberInjectorTargetList.put(enclosingElement, fieldInjectionTargetList);
 }
 mapTypeToMostDirectSuperTypeThatNeedsInjection(enclosingElement);
 fieldInjectionTargetList.add(createFieldOrParamInjectionTarget(fieldElement));
}
toothpick.compiler.memberinjectorMemberInjectorProcessorcreateFieldOrParamInjectionTarget

Popular methods of MemberInjectorProcessor

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

Popular in Java

  • Start an intent from android
  • getSystemService (Context)
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • NoSuchElementException (java.util)
    Thrown when trying to retrieve an element past the end of an Enumeration or Iterator.
  • ImageIO (javax.imageio)
  • Logger (org.apache.log4j)
    This is the central class in the log4j package. Most logging operations, except configuration, are d
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 21 Best IntelliJ Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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