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

  • Parsing JSON documents to java classes using gson
  • compareTo (BigDecimal)
  • onCreateOptionsMenu (Activity)
  • startActivity (Activity)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • DecimalFormat (java.text)
    A concrete subclass of NumberFormat that formats decimal numbers. It has a variety of features desig
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • BlockingQueue (java.util.concurrent)
    A java.util.Queue that additionally supports operations that wait for the queue to become non-empty
  • Table (org.hibernate.mapping)
    A relational table
  • Top Vim 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