Tabnine Logo
Configurable$Nested
Code IndexAdd Tabnine to your IDE (free)

How to use
Configurable$Nested
in
leap.core.annotation

Best Java code snippets using leap.core.annotation.Configurable$Nested (Showing top 3 results out of 315)

origin: org.leapframework/leap-core

private void configureNested(Object bean, String keyPrefix, ReflectValued member, Configurable.Nested nested) {
  String nestedPrefix = nested.prefix();
  if(Strings.isEmpty(nestedPrefix)) {
    nestedPrefix = Strings.lowerUnderscore(member.getName());
    if(nestedPrefix.endsWith("_config")) {
      nestedPrefix = Strings.removeEnd(nestedPrefix, "_config");
    }
  }
  String fullKeyPrefix = keyPrefix(keyPrefix + nestedPrefix);
  Object nestedBean    = member.getValue(bean);
  BeanType nestedType;
  if(null == nestedBean) {
    nestedType = BeanType.of(member.getType());
    nestedBean = nestedType.newInstance();
    member.setValue(bean, nestedBean);
  }else{
    nestedType = BeanType.of(nestedBean.getClass());
  }
  configure(nestedBean, nestedType, fullKeyPrefix);
}
origin: org.leapframework/leap-orm

@Override
@Configurable.Nested
public FilterColumnConfig getFilterColumnConfig() {
  return filterColumnConfig;
}
origin: org.leapframework/leap-orm

@Override
@Configurable.Nested
public QueryFilterConfig getQueryFilterConfig() {
  return queryFilterConfig;
}
leap.core.annotationConfigurable$Nested

Most used methods

  • <init>
  • prefix

Popular in Java

  • Start an intent from android
  • runOnUiThread (Activity)
  • getSupportFragmentManager (FragmentActivity)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Join (org.hibernate.mapping)
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • 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