Codota Logo
GlobalResolver.scan
Code IndexAdd Codota to your IDE (free)

How to use
scan
method
in
jetbrick.template.resolver.GlobalResolver

Best Java code snippets using jetbrick.template.resolver.GlobalResolver.scan (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
SimpleDateFormat s =
  • Codota IconString pattern;new SimpleDateFormat(pattern)
  • Codota IconString template;Locale locale;new SimpleDateFormat(template, locale)
  • Codota Iconnew SimpleDateFormat()
  • Smart code suggestions by Codota
}
origin: subchen/jetbrick-template-2x

private GlobalResolver doCreateGlobalResolver() {
  log.debug("Initializing global resolver ...");
  GlobalResolver resolver = new GlobalResolver();
  resolver.importClass("java.lang.*");
  resolver.importClass("java.util.*");
  for (String className : config.getImportClasses()) {
    resolver.importClass(className);
  }
  resolver.registerMethods(JetMethods.class);
  for (String className : config.getImportMethods()) {
    resolver.registerMethods(className);
  }
  resolver.registerFunctions(JetFunctions.class);
  for (String className : config.getImportFunctions()) {
    resolver.registerFunctions(className);
  }
  resolver.registerTags(JetTags.class);
  for (String className : config.getImportTags()) {
    resolver.registerTags(className);
  }
  List<String> packageNames = config.getAutoscanPackages();
  if (!packageNames.isEmpty()) {
    resolver.scan(packageNames, config.isAutoscanSkiperrors());
  }
  return resolver;
}
jetbrick.template.resolverGlobalResolverscan

Javadoc

自动扫描 annotation

Popular methods of GlobalResolver

  • registerFunctions
    注册 function 扩展
  • registerTags
    注册 tag 扩展
  • <init>
  • importClass
    注册一个 Import
  • registerGetterResolver
    注册一个 GetterResolver
  • registerMacros
    注册全局宏 loadmacro
  • registerMethods
    注册 method 扩展
  • resolveClass
    根据名称,查找 class 定义
  • resolveFunction
    根据参数类型,查找一个匹配的函数
  • resolveGetter
    根据参数名称,查找一个匹配的属性
  • resolveMacro
    根据参数类型,查找一个匹配的 macro
  • resolveMethod
    根据参数类型,查找一个匹配的方法
  • resolveMacro,
  • resolveMethod,
  • resolveTag

Popular in Java

  • Updating database using SQL prepared statement
  • getResourceAsStream (ClassLoader)
  • findViewById (Activity)
  • putExtra (Intent)
  • Color (java.awt)
    The Color class is used encapsulate colors in the default sRGB color space or colors in arbitrary co
  • URI (java.net)
    Represents a Uniform Resource Identifier (URI) reference. Aside from some minor deviations noted bel
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Filter (javax.servlet)
    A filter is an object that performs filtering tasks on either the request to a resource (a servlet o
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now