Tabnine Logo
ConverterTypeElement.getConverterParameters
Code IndexAdd Tabnine to your IDE (free)

How to use
getConverterParameters
method
in
sk.seges.sesam.pap.model.model.ConverterTypeElement

Best Java code snippets using sk.seges.sesam.pap.model.model.ConverterTypeElement.getConverterParameters (Showing top 2 results out of 315)

origin: sk.seges.corpis/corpis-service-support

  @Override
  protected ParameterElement[] getConverterParameters(ConverterTypeElement converterTypeElement, ExecutableElement method) {
    
    if (converterTypeElement == null) {
      return parametersResolverProvider.getParameterResolver(usageType).getConstructorAditionalParameters();
    }
    
    return toParameters(converterTypeElement.getConverterParameters(parametersResolverProvider.getParameterResolver(usageType)));
  }
}
origin: sk.seges.sesam/sesam-service-converter-processor

private void collectTypeConverters(MutableTypeMirror type, Set<ConverterTypeElement> converters, List<ConverterConstructorParameter> parameters) {
  DtoType dtoType = processingEnv.getTransferObjectUtils().getDtoType(type);
  ConverterTypeElement converter = dtoType.getConverter();

  if (converter != null && !converters.contains(converter)) {
    parameters.addAll(converter.getConverterParameters(parametersResolverProvider.getParameterResolver(UsageType.DEFINITION), ConverterInstancerType.SERVICE_CONVERETR_INSTANCER));
    converters.add(converter);
    
    if (dtoType.getKind().equals(MutableTypeKind.CLASS) || dtoType.getKind().equals(MutableTypeKind.INTERFACE)) {
      for (MutableTypeVariable typeVariable: ((MutableDeclaredType)dtoType).getTypeVariables()) {
        for (MutableTypeMirror lowerBound: typeVariable.getLowerBounds()) {
          collectTypeConverters(lowerBound, converters, parameters);
        }
        for (MutableTypeMirror upperBound: typeVariable.getUpperBounds()) {
          collectTypeConverters(upperBound, converters, parameters);
        }
      }
    }
  }
}
 
sk.seges.sesam.pap.model.modelConverterTypeElementgetConverterParameters

Popular methods of ConverterTypeElement

  • getConfiguration
  • getCanonicalName
  • getConverterBase
  • getDomain
  • getDto
  • getInstantiableDomain
  • isGenerated

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • onRequestPermissionsResult (Fragment)
  • setContentView (Activity)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Reference (javax.naming)
  • JTable (javax.swing)
  • Runner (org.openjdk.jmh.runner)
  • Top plugins for WebStorm
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