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

How to use
getKey1
method
in
org.jessma.util.CoupleKey

Best Java code snippets using org.jessma.util.CoupleKey.getKey1 (Showing top 4 results out of 315)

origin: ldcsaa/JessMA

private Map<String, SpringBean> parseSpringBeans(ActionExecutor executor, Action action, CoupleKey<Class<?>, Method> key) throws Exception
{
  Map<String, SpringBean> springBeanMap    = new HashMap<String, SpringBean>();
  
  analysisSpringBeans(executor, action, key.getKey2(), springBeanMap);
  
  if(springBeanMap.isEmpty())
    analysisSpringBeans(executor, action, key.getKey1(), springBeanMap);
  
  return springBeanMap;
}

origin: ldcsaa/JessMA

private Map<String, GuiceBean> parseGuiceBeans(ActionExecutor executor, Action action, CoupleKey<Class<?>, Method> key) throws Exception
{
  Map<String, GuiceBean> guiceBeanMap    = new HashMap<String, GuiceBean>();
  
  analysisGuiceBeans(executor, action, key.getKey2(), guiceBeanMap);
  
  if(guiceBeanMap.isEmpty())
    analysisGuiceBeans(executor, action, key.getKey1(), guiceBeanMap);
  
  return guiceBeanMap;
}

origin: ldcsaa/JessMA

private Map<String, DaoBean> parseDaoBeans(ActionExecutor executor, Action action, CoupleKey<Class<?>, Method> key) throws Exception
{
  Map<String, DaoBean> daoBeanMap    = new HashMap<String, DaoBean>();
  
  analysisDaoBeans(executor, action, key.getKey2(), daoBeanMap);
  
  if(daoBeanMap.isEmpty())
    analysisDaoBeans(executor, action, key.getKey1(), daoBeanMap);
  
  return daoBeanMap;
}

origin: ldcsaa/JessMA

  private static final void checkTransAttrMap(CoupleKey<Class<?>, Method> key)
  {
    if(!TRANS_ATTR_MAP.containsKey(key))
    {
      TransAttr transAttr    = null;
      Transaction trans    = key.getKey2().getAnnotation(Transaction.class);
      
      if(trans == null)
        trans = key.getKey1().getAnnotation(Transaction.class);
      if(trans == null)
        transAttr = TransAttr.DEFAULT;
      else
        transAttr = new TransAttr(!trans.value(), trans.level());
      
      GeneralHelper.syncTryPut(TRANS_ATTR_MAP, key, transAttr);
    }
  }
}
org.jessma.utilCoupleKeygetKey1

Popular methods of CoupleKey

  • <init>
  • getKey2

Popular in Java

  • Running tasks concurrently on multiple threads
  • getContentResolver (Context)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • startActivity (Activity)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • JTextField (javax.swing)
  • 21 Best Atom Packages for 2021
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