juneau-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jamesbog...@apache.org
Subject [08/51] [partial] incubator-juneau-website git commit: Javadoc updates.
Date Wed, 07 Jun 2017 00:56:18 GMT
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/017373e3/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html
----------------------------------------------------------------------
diff --git a/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html b/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html
index b834457..b39748d 100644
--- a/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html
+++ b/content/site/apidocs/src-html/org/apache/juneau/BeanContext.html
@@ -885,697 +885,689 @@
 <span class="sourceLineNo">877</span>      notBeanPackagePrefixes = l2.toArray(new String[l2.size()]);<a name="line.877"></a>
 <span class="sourceLineNo">878</span><a name="line.878"></a>
 <span class="sourceLineNo">879</span>      LinkedList&lt;BeanFilter&gt; lbf = new LinkedList&lt;BeanFilter&gt;();<a name="line.879"></a>
-<span class="sourceLineNo">880</span>      try {<a name="line.880"></a>
-<span class="sourceLineNo">881</span>         for (Class&lt;?&gt; c : pm.get(BEAN_beanFilters, Class[].class, new Class[0])) {<a name="line.881"></a>
-<span class="sourceLineNo">882</span>            if (isParentClass(BeanFilter.class, c))<a name="line.882"></a>
-<span class="sourceLineNo">883</span>               lbf.add((BeanFilter)c.newInstance());<a name="line.883"></a>
-<span class="sourceLineNo">884</span>            else if (isParentClass(BeanFilterBuilder.class, c))<a name="line.884"></a>
-<span class="sourceLineNo">885</span>               lbf.add(((BeanFilterBuilder)c.newInstance()).build());<a name="line.885"></a>
-<span class="sourceLineNo">886</span>            else<a name="line.886"></a>
-<span class="sourceLineNo">887</span>               lbf.add(new InterfaceBeanFilterBuilder(c).build());<a name="line.887"></a>
-<span class="sourceLineNo">888</span>         }<a name="line.888"></a>
-<span class="sourceLineNo">889</span>      } catch (Exception e) {<a name="line.889"></a>
-<span class="sourceLineNo">890</span>         throw new RuntimeException(e);<a name="line.890"></a>
-<span class="sourceLineNo">891</span>      }<a name="line.891"></a>
-<span class="sourceLineNo">892</span>      beanFilters = lbf.toArray(new BeanFilter[0]);<a name="line.892"></a>
-<span class="sourceLineNo">893</span><a name="line.893"></a>
-<span class="sourceLineNo">894</span>      LinkedList&lt;PojoSwap&lt;?,?&gt;&gt; lpf = new LinkedList&lt;PojoSwap&lt;?,?&gt;&gt;();<a name="line.894"></a>
-<span class="sourceLineNo">895</span>      try {<a name="line.895"></a>
-<span class="sourceLineNo">896</span>         for (Class&lt;?&gt; c : pm.get(BEAN_pojoSwaps, Class[].class, new Class[0])) {<a name="line.896"></a>
-<span class="sourceLineNo">897</span>            if (isParentClass(PojoSwap.class, c))<a name="line.897"></a>
-<span class="sourceLineNo">898</span>               lpf.add((PojoSwap&lt;?,?&gt;)c.newInstance());<a name="line.898"></a>
-<span class="sourceLineNo">899</span>            else<a name="line.899"></a>
-<span class="sourceLineNo">900</span>               lpf.addAll(SurrogateSwap.findPojoSwaps(c));<a name="line.900"></a>
-<span class="sourceLineNo">901</span>         }<a name="line.901"></a>
-<span class="sourceLineNo">902</span>      } catch (Exception e) {<a name="line.902"></a>
-<span class="sourceLineNo">903</span>         throw new RuntimeException(e);<a name="line.903"></a>
-<span class="sourceLineNo">904</span>      }<a name="line.904"></a>
-<span class="sourceLineNo">905</span>      pojoSwaps = lpf.toArray(new PojoSwap[0]);<a name="line.905"></a>
+<span class="sourceLineNo">880</span>      for (Class&lt;?&gt; c : pm.get(BEAN_beanFilters, Class[].class, new Class[0])) {<a name="line.880"></a>
+<span class="sourceLineNo">881</span>         if (isParentClass(BeanFilter.class, c))<a name="line.881"></a>
+<span class="sourceLineNo">882</span>            lbf.add(newInstance(BeanFilter.class, c));<a name="line.882"></a>
+<span class="sourceLineNo">883</span>         else if (isParentClass(BeanFilterBuilder.class, c))<a name="line.883"></a>
+<span class="sourceLineNo">884</span>            lbf.add(newInstance(BeanFilterBuilder.class, c).build());<a name="line.884"></a>
+<span class="sourceLineNo">885</span>         else<a name="line.885"></a>
+<span class="sourceLineNo">886</span>            lbf.add(new InterfaceBeanFilterBuilder(c).build());<a name="line.886"></a>
+<span class="sourceLineNo">887</span>      }<a name="line.887"></a>
+<span class="sourceLineNo">888</span>      beanFilters = lbf.toArray(new BeanFilter[0]);<a name="line.888"></a>
+<span class="sourceLineNo">889</span><a name="line.889"></a>
+<span class="sourceLineNo">890</span>      LinkedList&lt;PojoSwap&lt;?,?&gt;&gt; lpf = new LinkedList&lt;PojoSwap&lt;?,?&gt;&gt;();<a name="line.890"></a>
+<span class="sourceLineNo">891</span>      for (Class&lt;?&gt; c : pm.get(BEAN_pojoSwaps, Class[].class, new Class[0])) {<a name="line.891"></a>
+<span class="sourceLineNo">892</span>         if (isParentClass(PojoSwap.class, c))<a name="line.892"></a>
+<span class="sourceLineNo">893</span>            lpf.add(newInstance(PojoSwap.class, c));<a name="line.893"></a>
+<span class="sourceLineNo">894</span>         else<a name="line.894"></a>
+<span class="sourceLineNo">895</span>            lpf.addAll(SurrogateSwap.findPojoSwaps(c));<a name="line.895"></a>
+<span class="sourceLineNo">896</span>      }<a name="line.896"></a>
+<span class="sourceLineNo">897</span>      pojoSwaps = lpf.toArray(new PojoSwap[0]);<a name="line.897"></a>
+<span class="sourceLineNo">898</span><a name="line.898"></a>
+<span class="sourceLineNo">899</span>      implClasses = new TreeMap&lt;Class&lt;?&gt;,Class&lt;?&gt;&gt;(new ClassComparator());<a name="line.899"></a>
+<span class="sourceLineNo">900</span>      Map&lt;Class,Class&gt; m = pm.getMap(BEAN_implClasses, Class.class, Class.class, null);<a name="line.900"></a>
+<span class="sourceLineNo">901</span>      if (m != null)<a name="line.901"></a>
+<span class="sourceLineNo">902</span>         for (Map.Entry&lt;Class,Class&gt; e : m.entrySet())<a name="line.902"></a>
+<span class="sourceLineNo">903</span>            implClasses.put(e.getKey(), e.getValue());<a name="line.903"></a>
+<span class="sourceLineNo">904</span>      implKeyClasses = implClasses.keySet().toArray(new Class[0]);<a name="line.904"></a>
+<span class="sourceLineNo">905</span>      implValueClasses = implClasses.values().toArray(new Class[0]);<a name="line.905"></a>
 <span class="sourceLineNo">906</span><a name="line.906"></a>
-<span class="sourceLineNo">907</span>      implClasses = new TreeMap&lt;Class&lt;?&gt;,Class&lt;?&gt;&gt;(new ClassComparator());<a name="line.907"></a>
-<span class="sourceLineNo">908</span>      Map&lt;Class,Class&gt; m = pm.getMap(BEAN_implClasses, Class.class, Class.class, null);<a name="line.908"></a>
-<span class="sourceLineNo">909</span>      if (m != null)<a name="line.909"></a>
-<span class="sourceLineNo">910</span>         for (Map.Entry&lt;Class,Class&gt; e : m.entrySet())<a name="line.910"></a>
-<span class="sourceLineNo">911</span>            implClasses.put(e.getKey(), e.getValue());<a name="line.911"></a>
-<span class="sourceLineNo">912</span>      implKeyClasses = implClasses.keySet().toArray(new Class[0]);<a name="line.912"></a>
-<span class="sourceLineNo">913</span>      implValueClasses = implClasses.values().toArray(new Class[0]);<a name="line.913"></a>
-<span class="sourceLineNo">914</span><a name="line.914"></a>
-<span class="sourceLineNo">915</span>      locale = pm.get(BEAN_locale, Locale.class, Locale.getDefault());<a name="line.915"></a>
-<span class="sourceLineNo">916</span>      timeZone = pm.get(BEAN_timeZone, TimeZone.class, null);<a name="line.916"></a>
-<span class="sourceLineNo">917</span>      mediaType = pm.get(BEAN_mediaType, MediaType.class, null);<a name="line.917"></a>
-<span class="sourceLineNo">918</span><a name="line.918"></a>
-<span class="sourceLineNo">919</span>      if (! cmCacheCache.containsKey(hashCode)) {<a name="line.919"></a>
-<span class="sourceLineNo">920</span>         ConcurrentHashMap&lt;Class,ClassMeta&gt; cm = new ConcurrentHashMap&lt;Class,ClassMeta&gt;();<a name="line.920"></a>
-<span class="sourceLineNo">921</span>         cm.putIfAbsent(String.class, new ClassMeta(String.class, this, null, null, findPojoSwap(String.class), findChildPojoSwaps(String.class)));<a name="line.921"></a>
-<span class="sourceLineNo">922</span>         cm.putIfAbsent(Object.class, new ClassMeta(Object.class, this, null, null, findPojoSwap(Object.class), findChildPojoSwaps(Object.class)));<a name="line.922"></a>
-<span class="sourceLineNo">923</span>         cmCacheCache.putIfAbsent(hashCode, cm);<a name="line.923"></a>
-<span class="sourceLineNo">924</span>      }<a name="line.924"></a>
-<span class="sourceLineNo">925</span>      this.cmCache = cmCacheCache.get(hashCode);<a name="line.925"></a>
-<span class="sourceLineNo">926</span>      this.cmString = cmCache.get(String.class);<a name="line.926"></a>
-<span class="sourceLineNo">927</span>      this.cmObject = cmCache.get(Object.class);<a name="line.927"></a>
-<span class="sourceLineNo">928</span>      this.cmClass = cmCache.get(Class.class);<a name="line.928"></a>
-<span class="sourceLineNo">929</span><a name="line.929"></a>
-<span class="sourceLineNo">930</span>      this.beanDictionaryClasses = pm.get(BEAN_beanDictionary, Class[].class, new Class[0]);<a name="line.930"></a>
-<span class="sourceLineNo">931</span>      this.beanRegistry = new BeanRegistry(this, null);<a name="line.931"></a>
-<span class="sourceLineNo">932</span>   }<a name="line.932"></a>
-<span class="sourceLineNo">933</span><a name="line.933"></a>
-<span class="sourceLineNo">934</span>   /**<a name="line.934"></a>
-<span class="sourceLineNo">935</span>    * Create a new bean session based on the properties defined on this context.<a name="line.935"></a>
-<span class="sourceLineNo">936</span>    *<a name="line.936"></a>
-<span class="sourceLineNo">937</span>    * @param op The override properties.<a name="line.937"></a>
-<span class="sourceLineNo">938</span>    * This map can contain values to override properties defined on this context.<a name="line.938"></a>
-<span class="sourceLineNo">939</span>    * Note that only session-overridable settings can be overridden.<a name="line.939"></a>
-<span class="sourceLineNo">940</span>    * @param locale The bean session locale.<a name="line.940"></a>
-<span class="sourceLineNo">941</span>    * Typically used by {@link PojoSwap PojoSwaps} to provide locale-specific output.<a name="line.941"></a>
-<span class="sourceLineNo">942</span>    * If &lt;jk&gt;null&lt;/jk&gt;, the system default locale is assumed.<a name="line.942"></a>
-<span class="sourceLineNo">943</span>    * @param timeZone The bean session timezone.<a name="line.943"></a>
-<span class="sourceLineNo">944</span>    * Typically used by time-sensitive {@link PojoSwap PojoSwaps} to provide timezone-specific output.<a name="line.944"></a>
-<span class="sourceLineNo">945</span>    * If &lt;jk&gt;null&lt;/jk&gt; the system default timezone is assumed on {@link java.util.Date} objects, or the<a name="line.945"></a>
-<span class="sourceLineNo">946</span>    *    locale specified on {@link Calendar} objects are used.<a name="line.946"></a>
-<span class="sourceLineNo">947</span>    * @param mediaType The session media type (e.g. &lt;js&gt;"application/json"&lt;/js&gt;).<a name="line.947"></a>
-<span class="sourceLineNo">948</span>    * @return A new session object.<a name="line.948"></a>
-<span class="sourceLineNo">949</span>    */<a name="line.949"></a>
-<span class="sourceLineNo">950</span>   public BeanSession createSession(ObjectMap op, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.950"></a>
-<span class="sourceLineNo">951</span>      return new BeanSession(this, op, locale, timeZone, mediaType);<a name="line.951"></a>
-<span class="sourceLineNo">952</span>   }<a name="line.952"></a>
-<span class="sourceLineNo">953</span><a name="line.953"></a>
-<span class="sourceLineNo">954</span>   /**<a name="line.954"></a>
-<span class="sourceLineNo">955</span>    * Create a new bean session based on the properties defined on this context.<a name="line.955"></a>
-<span class="sourceLineNo">956</span>    * &lt;p&gt;<a name="line.956"></a>
-<span class="sourceLineNo">957</span>    * Use this method for creating sessions if you don't need to override any<a name="line.957"></a>
-<span class="sourceLineNo">958</span>    * properties or locale/timezone currently set on this context.<a name="line.958"></a>
-<span class="sourceLineNo">959</span>    *<a name="line.959"></a>
-<span class="sourceLineNo">960</span>    * @return A new session object.<a name="line.960"></a>
-<span class="sourceLineNo">961</span>    */<a name="line.961"></a>
-<span class="sourceLineNo">962</span>   public BeanSession createSession() {<a name="line.962"></a>
-<span class="sourceLineNo">963</span>      return new BeanSession(this, null, this.locale, this.timeZone, this.mediaType);<a name="line.963"></a>
-<span class="sourceLineNo">964</span>   }<a name="line.964"></a>
-<span class="sourceLineNo">965</span><a name="line.965"></a>
-<span class="sourceLineNo">966</span>   /**<a name="line.966"></a>
-<span class="sourceLineNo">967</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if the specified bean context shares the same cache as this bean context.<a name="line.967"></a>
-<span class="sourceLineNo">968</span>    * Useful for testing purposes.<a name="line.968"></a>
-<span class="sourceLineNo">969</span>    *<a name="line.969"></a>
-<span class="sourceLineNo">970</span>    * @param bc The bean context to compare to.<a name="line.970"></a>
-<span class="sourceLineNo">971</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the bean contexts have equivalent settings and thus share caches.<a name="line.971"></a>
-<span class="sourceLineNo">972</span>    */<a name="line.972"></a>
-<span class="sourceLineNo">973</span>   public final boolean hasSameCache(BeanContext bc) {<a name="line.973"></a>
-<span class="sourceLineNo">974</span>      return bc.cmCache == this.cmCache;<a name="line.974"></a>
-<span class="sourceLineNo">975</span>   }<a name="line.975"></a>
-<span class="sourceLineNo">976</span><a name="line.976"></a>
-<span class="sourceLineNo">977</span>   /**<a name="line.977"></a>
-<span class="sourceLineNo">978</span>    * Determines whether the specified class is ignored as a bean class based on the various<a name="line.978"></a>
-<span class="sourceLineNo">979</span>    *    exclusion parameters specified on this context class.<a name="line.979"></a>
-<span class="sourceLineNo">980</span>    *<a name="line.980"></a>
-<span class="sourceLineNo">981</span>    * @param c The class type being tested.<a name="line.981"></a>
-<span class="sourceLineNo">982</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified class matches any of the exclusion parameters.<a name="line.982"></a>
-<span class="sourceLineNo">983</span>    */<a name="line.983"></a>
-<span class="sourceLineNo">984</span>   protected final boolean isNotABean(Class&lt;?&gt; c) {<a name="line.984"></a>
-<span class="sourceLineNo">985</span>      if (c.isArray() || c.isPrimitive() || c.isEnum() || c.isAnnotation())<a name="line.985"></a>
-<span class="sourceLineNo">986</span>         return true;<a name="line.986"></a>
-<span class="sourceLineNo">987</span>      Package p = c.getPackage();<a name="line.987"></a>
-<span class="sourceLineNo">988</span>      if (p != null) {<a name="line.988"></a>
-<span class="sourceLineNo">989</span>         for (String p2 : notBeanPackageNames)<a name="line.989"></a>
-<span class="sourceLineNo">990</span>            if (p.getName().equals(p2))<a name="line.990"></a>
-<span class="sourceLineNo">991</span>               return true;<a name="line.991"></a>
-<span class="sourceLineNo">992</span>         for (String p2 : notBeanPackagePrefixes)<a name="line.992"></a>
-<span class="sourceLineNo">993</span>            if (p.getName().startsWith(p2))<a name="line.993"></a>
-<span class="sourceLineNo">994</span>               return true;<a name="line.994"></a>
-<span class="sourceLineNo">995</span>      }<a name="line.995"></a>
-<span class="sourceLineNo">996</span>      for (Class exclude : notBeanClasses)<a name="line.996"></a>
-<span class="sourceLineNo">997</span>         if (isParentClass(exclude, c))<a name="line.997"></a>
-<span class="sourceLineNo">998</span>            return true;<a name="line.998"></a>
-<span class="sourceLineNo">999</span>      return false;<a name="line.999"></a>
-<span class="sourceLineNo">1000</span>   }<a name="line.1000"></a>
-<span class="sourceLineNo">1001</span><a name="line.1001"></a>
-<span class="sourceLineNo">1002</span>   /**<a name="line.1002"></a>
-<span class="sourceLineNo">1003</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if the specified object is a bean.<a name="line.1003"></a>
-<span class="sourceLineNo">1004</span>    *<a name="line.1004"></a>
-<span class="sourceLineNo">1005</span>    * @param o The object to test.<a name="line.1005"></a>
-<span class="sourceLineNo">1006</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified object is a bean.  &lt;jk&gt;false&lt;/jk&gt; if the bean is &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1006"></a>
-<span class="sourceLineNo">1007</span>    */<a name="line.1007"></a>
-<span class="sourceLineNo">1008</span>   public boolean isBean(Object o) {<a name="line.1008"></a>
-<span class="sourceLineNo">1009</span>      if (o == null)<a name="line.1009"></a>
-<span class="sourceLineNo">1010</span>         return false;<a name="line.1010"></a>
-<span class="sourceLineNo">1011</span>      return getClassMetaForObject(o).isBean();<a name="line.1011"></a>
-<span class="sourceLineNo">1012</span>   }<a name="line.1012"></a>
-<span class="sourceLineNo">1013</span><a name="line.1013"></a>
-<span class="sourceLineNo">1014</span>   /**<a name="line.1014"></a>
-<span class="sourceLineNo">1015</span>    * Prints meta cache statistics to &lt;code&gt;System.out&lt;/code&gt;.<a name="line.1015"></a>
-<span class="sourceLineNo">1016</span>    */<a name="line.1016"></a>
-<span class="sourceLineNo">1017</span>   protected static void dumpCacheStats() {<a name="line.1017"></a>
-<span class="sourceLineNo">1018</span>      try {<a name="line.1018"></a>
-<span class="sourceLineNo">1019</span>         int ctCount = 0;<a name="line.1019"></a>
-<span class="sourceLineNo">1020</span>         for (Map&lt;Class,ClassMeta&gt; cm : cmCacheCache.values())<a name="line.1020"></a>
-<span class="sourceLineNo">1021</span>            ctCount += cm.size();<a name="line.1021"></a>
-<span class="sourceLineNo">1022</span>         System.out.println(MessageFormat.format("ClassMeta cache: {0} instances in {1} caches", ctCount, cmCacheCache.size())); // NOT DEBUG<a name="line.1022"></a>
-<span class="sourceLineNo">1023</span>      } catch (Exception e) {<a name="line.1023"></a>
-<span class="sourceLineNo">1024</span>         e.printStackTrace();<a name="line.1024"></a>
-<span class="sourceLineNo">1025</span>      }<a name="line.1025"></a>
-<span class="sourceLineNo">1026</span>   }<a name="line.1026"></a>
-<span class="sourceLineNo">1027</span><a name="line.1027"></a>
-<span class="sourceLineNo">1028</span>   /**<a name="line.1028"></a>
-<span class="sourceLineNo">1029</span>    * Returns the {@link BeanMeta} class for the specified class.<a name="line.1029"></a>
-<span class="sourceLineNo">1030</span>    *<a name="line.1030"></a>
-<span class="sourceLineNo">1031</span>    * @param &lt;T&gt; The class type to get the meta-data on.<a name="line.1031"></a>
-<span class="sourceLineNo">1032</span>    * @param c The class to get the meta-data on.<a name="line.1032"></a>
-<span class="sourceLineNo">1033</span>    * @return The {@link BeanMeta} for the specified class, or &lt;jk&gt;null&lt;/jk&gt; if the class<a name="line.1033"></a>
-<span class="sourceLineNo">1034</span>    *    is not a bean per the settings on this context.<a name="line.1034"></a>
-<span class="sourceLineNo">1035</span>    */<a name="line.1035"></a>
-<span class="sourceLineNo">1036</span>   public final &lt;T&gt; BeanMeta&lt;T&gt; getBeanMeta(Class&lt;T&gt; c) {<a name="line.1036"></a>
-<span class="sourceLineNo">1037</span>      if (c == null)<a name="line.1037"></a>
-<span class="sourceLineNo">1038</span>         return null;<a name="line.1038"></a>
-<span class="sourceLineNo">1039</span>      return getClassMeta(c).getBeanMeta();<a name="line.1039"></a>
-<span class="sourceLineNo">1040</span>   }<a name="line.1040"></a>
-<span class="sourceLineNo">1041</span><a name="line.1041"></a>
-<span class="sourceLineNo">1042</span>   /**<a name="line.1042"></a>
-<span class="sourceLineNo">1043</span>    * Construct a {@code ClassMeta} wrapper around a {@link Class} object.<a name="line.1043"></a>
-<span class="sourceLineNo">1044</span>    *<a name="line.1044"></a>
-<span class="sourceLineNo">1045</span>    * @param &lt;T&gt; The class type being wrapped.<a name="line.1045"></a>
-<span class="sourceLineNo">1046</span>    * @param type The class to resolve.<a name="line.1046"></a>
-<span class="sourceLineNo">1047</span>    * @return If the class is not an array, returns a cached {@link ClassMeta} object.<a name="line.1047"></a>
-<span class="sourceLineNo">1048</span>    * Otherwise, returns a new {@link ClassMeta} object every time.&lt;br&gt;<a name="line.1048"></a>
-<span class="sourceLineNo">1049</span>    */<a name="line.1049"></a>
-<span class="sourceLineNo">1050</span>   public final &lt;T&gt; ClassMeta&lt;T&gt; getClassMeta(Class&lt;T&gt; type) {<a name="line.1050"></a>
-<span class="sourceLineNo">1051</span>      return getClassMeta(type, true);<a name="line.1051"></a>
-<span class="sourceLineNo">1052</span>   }<a name="line.1052"></a>
-<span class="sourceLineNo">1053</span><a name="line.1053"></a>
-<span class="sourceLineNo">1054</span>   /**<a name="line.1054"></a>
-<span class="sourceLineNo">1055</span>    * Construct a {@code ClassMeta} wrapper around a {@link Class} object.<a name="line.1055"></a>
-<span class="sourceLineNo">1056</span>    *<a name="line.1056"></a>
-<span class="sourceLineNo">1057</span>    * @param &lt;T&gt; The class type being wrapped.<a name="line.1057"></a>
-<span class="sourceLineNo">1058</span>    * @param type The class to resolve.<a name="line.1058"></a>
-<span class="sourceLineNo">1059</span>    * @param waitForInit If &lt;jk&gt;true&lt;/jk&gt;, wait for the ClassMeta constructor to finish before returning.<a name="line.1059"></a>
-<span class="sourceLineNo">1060</span>    * @return If the class is not an array, returns a cached {@link ClassMeta} object.<a name="line.1060"></a>
-<span class="sourceLineNo">1061</span>    * Otherwise, returns a new {@link ClassMeta} object every time.&lt;br&gt;<a name="line.1061"></a>
-<span class="sourceLineNo">1062</span>    */<a name="line.1062"></a>
-<span class="sourceLineNo">1063</span>   final &lt;T&gt; ClassMeta&lt;T&gt; getClassMeta(Class&lt;T&gt; type, boolean waitForInit) {<a name="line.1063"></a>
-<span class="sourceLineNo">1064</span><a name="line.1064"></a>
-<span class="sourceLineNo">1065</span>      // If this is an array, then we want it wrapped in an uncached ClassMeta object.<a name="line.1065"></a>
-<span class="sourceLineNo">1066</span>      // Note that if it has a pojo swap, we still want to cache it so that<a name="line.1066"></a>
-<span class="sourceLineNo">1067</span>      // we can cache something like byte[] with ByteArrayBase64Swap.<a name="line.1067"></a>
-<span class="sourceLineNo">1068</span>      if (type.isArray() &amp;&amp; findPojoSwap(type) == null)<a name="line.1068"></a>
-<span class="sourceLineNo">1069</span>         return new ClassMeta(type, this, findImplClass(type), findBeanFilter(type), findPojoSwap(type), findChildPojoSwaps(type));<a name="line.1069"></a>
-<span class="sourceLineNo">1070</span><a name="line.1070"></a>
-<span class="sourceLineNo">1071</span>      // This can happen if we have transforms defined against String or Object.<a name="line.1071"></a>
-<span class="sourceLineNo">1072</span>      if (cmCache == null)<a name="line.1072"></a>
-<span class="sourceLineNo">1073</span>         return null;<a name="line.1073"></a>
-<span class="sourceLineNo">1074</span><a name="line.1074"></a>
-<span class="sourceLineNo">1075</span>      ClassMeta&lt;T&gt; cm = cmCache.get(type);<a name="line.1075"></a>
-<span class="sourceLineNo">1076</span>      if (cm == null) {<a name="line.1076"></a>
-<span class="sourceLineNo">1077</span><a name="line.1077"></a>
-<span class="sourceLineNo">1078</span>         synchronized (this) {<a name="line.1078"></a>
-<span class="sourceLineNo">1079</span>            // Make sure someone didn't already set it while this thread was blocked.<a name="line.1079"></a>
-<span class="sourceLineNo">1080</span>            cm = cmCache.get(type);<a name="line.1080"></a>
-<span class="sourceLineNo">1081</span>            if (cm == null)<a name="line.1081"></a>
-<span class="sourceLineNo">1082</span>               cm = new ClassMeta&lt;T&gt;(type, this, findImplClass(type), findBeanFilter(type), findPojoSwap(type), findChildPojoSwaps(type));<a name="line.1082"></a>
-<span class="sourceLineNo">1083</span>         }<a name="line.1083"></a>
-<span class="sourceLineNo">1084</span>      }<a name="line.1084"></a>
-<span class="sourceLineNo">1085</span>      if (waitForInit)<a name="line.1085"></a>
-<span class="sourceLineNo">1086</span>         cm.waitForInit();<a name="line.1086"></a>
-<span class="sourceLineNo">1087</span>      return cm;<a name="line.1087"></a>
-<span class="sourceLineNo">1088</span>   }<a name="line.1088"></a>
-<span class="sourceLineNo">1089</span><a name="line.1089"></a>
-<span class="sourceLineNo">1090</span>   /**<a name="line.1090"></a>
-<span class="sourceLineNo">1091</span>    * Used to resolve &lt;code&gt;ClassMetas&lt;/code&gt; of type &lt;code&gt;Collection&lt;/code&gt; and &lt;code&gt;Map&lt;/code&gt; that have<a name="line.1091"></a>
-<span class="sourceLineNo">1092</span>    * &lt;code&gt;ClassMeta&lt;/code&gt; values that themselves could be collections or maps.<a name="line.1092"></a>
-<span class="sourceLineNo">1093</span>    * &lt;p&gt;<a name="line.1093"></a>
-<span class="sourceLineNo">1094</span>    * &lt;code&gt;Collection&lt;/code&gt; meta objects are assumed to be followed by zero or one meta objects indicating the element type.<a name="line.1094"></a>
-<span class="sourceLineNo">1095</span>    * &lt;p&gt;<a name="line.1095"></a>
-<span class="sourceLineNo">1096</span>    * &lt;code&gt;Map&lt;/code&gt; meta objects are assumed to be followed by zero or two meta objects indicating the key and value types.<a name="line.1096"></a>
-<span class="sourceLineNo">1097</span>    * &lt;p&gt;<a name="line.1097"></a>
-<span class="sourceLineNo">1098</span>    * The array can be arbitrarily long to indicate arbitrarily complex data structures.<a name="line.1098"></a>
-<span class="sourceLineNo">1099</span>    *<a name="line.1099"></a>
-<span class="sourceLineNo">1100</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.1100"></a>
-<span class="sourceLineNo">1101</span>    * &lt;ul&gt;<a name="line.1101"></a>
-<span class="sourceLineNo">1102</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(String.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A normal type.<a name="line.1102"></a>
-<span class="sourceLineNo">1103</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(List.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A list containing objects.<a name="line.1103"></a>
-<span class="sourceLineNo">1104</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(List.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A list containing strings.<a name="line.1104"></a>
-<span class="sourceLineNo">1105</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A linked-list containing strings.<a name="line.1105"></a>
-<span class="sourceLineNo">1106</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(LinkedList.&lt;jk&gt;class&lt;/jk&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A linked-list containing linked-lists of strings.<a name="line.1106"></a>
-<span class="sourceLineNo">1107</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(Map.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A map containing object keys/values.<a name="line.1107"></a>
-<span class="sourceLineNo">1108</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(Map.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A map containing string keys/values.<a name="line.1108"></a>
-<span class="sourceLineNo">1109</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(Map.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;, List.&lt;jk&gt;class&lt;/jk&gt;, MyBean.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A map containing string keys and values of lists containing beans.<a name="line.1109"></a>
-<span class="sourceLineNo">1110</span>    * &lt;/ul&gt;<a name="line.1110"></a>
-<span class="sourceLineNo">1111</span>    *<a name="line.1111"></a>
-<span class="sourceLineNo">1112</span>    * @param type The class to resolve.<a name="line.1112"></a>
-<span class="sourceLineNo">1113</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1113"></a>
-<span class="sourceLineNo">1114</span>    * @param args The type arguments of the class if it's a collection or map.<a name="line.1114"></a>
-<span class="sourceLineNo">1115</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1115"></a>
-<span class="sourceLineNo">1116</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.1116"></a>
-<span class="sourceLineNo">1117</span>    * @return The resolved class meta.<a name="line.1117"></a>
-<span class="sourceLineNo">1118</span>    */<a name="line.1118"></a>
-<span class="sourceLineNo">1119</span>   public final &lt;T&gt; ClassMeta&lt;T&gt; getClassMeta(Type type, Type...args) {<a name="line.1119"></a>
-<span class="sourceLineNo">1120</span>      if (type == null)<a name="line.1120"></a>
-<span class="sourceLineNo">1121</span>         return null;<a name="line.1121"></a>
-<span class="sourceLineNo">1122</span>      ClassMeta&lt;T&gt; cm = type instanceof Class ? getClassMeta((Class)type) : resolveClassMeta(type, null);<a name="line.1122"></a>
-<span class="sourceLineNo">1123</span>      if (args.length == 0)<a name="line.1123"></a>
-<span class="sourceLineNo">1124</span>         return cm;<a name="line.1124"></a>
-<span class="sourceLineNo">1125</span>      ClassMeta&lt;?&gt;[] cma = new ClassMeta[args.length+1];<a name="line.1125"></a>
-<span class="sourceLineNo">1126</span>      cma[0] = cm;<a name="line.1126"></a>
-<span class="sourceLineNo">1127</span>      for (int i = 0; i &lt; Array.getLength(args); i++) {<a name="line.1127"></a>
-<span class="sourceLineNo">1128</span>         Type arg = (Type)Array.get(args, i);<a name="line.1128"></a>
-<span class="sourceLineNo">1129</span>         cma[i+1] = arg instanceof Class ? getClassMeta((Class)arg) : resolveClassMeta(arg, null);<a name="line.1129"></a>
-<span class="sourceLineNo">1130</span>      }<a name="line.1130"></a>
-<span class="sourceLineNo">1131</span>      return (ClassMeta&lt;T&gt;) getTypedClassMeta(cma, 0);<a name="line.1131"></a>
-<span class="sourceLineNo">1132</span>   }<a name="line.1132"></a>
-<span class="sourceLineNo">1133</span><a name="line.1133"></a>
-<span class="sourceLineNo">1134</span>   /*<a name="line.1134"></a>
-<span class="sourceLineNo">1135</span>    * Resolves the 'genericized' class meta at the specified position in the ClassMeta array.<a name="line.1135"></a>
-<span class="sourceLineNo">1136</span>    */<a name="line.1136"></a>
-<span class="sourceLineNo">1137</span>   private ClassMeta&lt;?&gt; getTypedClassMeta(ClassMeta&lt;?&gt;[] c, int pos) {<a name="line.1137"></a>
-<span class="sourceLineNo">1138</span>      ClassMeta&lt;?&gt; cm = c[pos++];<a name="line.1138"></a>
-<span class="sourceLineNo">1139</span>      if (cm.isCollection()) {<a name="line.1139"></a>
-<span class="sourceLineNo">1140</span>         ClassMeta&lt;?&gt; ce = c.length == pos ? object() : getTypedClassMeta(c, pos);<a name="line.1140"></a>
-<span class="sourceLineNo">1141</span>         return (ce.isObject() ? cm : new ClassMeta(cm, null, null, ce));<a name="line.1141"></a>
-<span class="sourceLineNo">1142</span>      } else if (cm.isMap()) {<a name="line.1142"></a>
-<span class="sourceLineNo">1143</span>         ClassMeta&lt;?&gt; ck = c.length == pos ? object() : c[pos++];<a name="line.1143"></a>
-<span class="sourceLineNo">1144</span>         ClassMeta&lt;?&gt; cv = c.length == pos ? object() : getTypedClassMeta(c, pos);<a name="line.1144"></a>
-<span class="sourceLineNo">1145</span>         return (ck.isObject() &amp;&amp; cv.isObject() ? cm : new ClassMeta(cm, ck, cv, null));<a name="line.1145"></a>
-<span class="sourceLineNo">1146</span>      }<a name="line.1146"></a>
-<span class="sourceLineNo">1147</span>      return cm;<a name="line.1147"></a>
-<span class="sourceLineNo">1148</span>   }<a name="line.1148"></a>
-<span class="sourceLineNo">1149</span><a name="line.1149"></a>
-<span class="sourceLineNo">1150</span>   final ClassMeta resolveClassMeta(Type o, Map&lt;Class&lt;?&gt;,Class&lt;?&gt;[]&gt; typeVarImpls) {<a name="line.1150"></a>
-<span class="sourceLineNo">1151</span>      if (o == null)<a name="line.1151"></a>
-<span class="sourceLineNo">1152</span>         return null;<a name="line.1152"></a>
-<span class="sourceLineNo">1153</span><a name="line.1153"></a>
-<span class="sourceLineNo">1154</span>      if (o instanceof ClassMeta) {<a name="line.1154"></a>
-<span class="sourceLineNo">1155</span>         ClassMeta&lt;?&gt; cm = (ClassMeta)o;<a name="line.1155"></a>
-<span class="sourceLineNo">1156</span><a name="line.1156"></a>
-<span class="sourceLineNo">1157</span>         // This classmeta could have been created by a different context.<a name="line.1157"></a>
-<span class="sourceLineNo">1158</span>         // Need to re-resolve it to pick up PojoSwaps and stuff on this context.<a name="line.1158"></a>
-<span class="sourceLineNo">1159</span>         if (cm.getBeanContext() == this)<a name="line.1159"></a>
-<span class="sourceLineNo">1160</span>            return cm;<a name="line.1160"></a>
-<span class="sourceLineNo">1161</span>         if (cm.isMap())<a name="line.1161"></a>
-<span class="sourceLineNo">1162</span>            return getClassMeta(cm.innerClass, cm.getKeyType(), cm.getValueType());<a name="line.1162"></a>
-<span class="sourceLineNo">1163</span>         if (cm.isCollection())<a name="line.1163"></a>
-<span class="sourceLineNo">1164</span>            return getClassMeta(cm.innerClass, cm.getElementType());<a name="line.1164"></a>
-<span class="sourceLineNo">1165</span>         return getClassMeta(cm.innerClass);<a name="line.1165"></a>
-<span class="sourceLineNo">1166</span>      }<a name="line.1166"></a>
-<span class="sourceLineNo">1167</span><a name="line.1167"></a>
-<span class="sourceLineNo">1168</span>      Class c = resolve(o, typeVarImpls);<a name="line.1168"></a>
-<span class="sourceLineNo">1169</span><a name="line.1169"></a>
-<span class="sourceLineNo">1170</span>      // This can happen when trying to resolve the "E getFirst()" method on LinkedList, whose type is a TypeVariable<a name="line.1170"></a>
-<span class="sourceLineNo">1171</span>      // These should just resolve to Object.<a name="line.1171"></a>
-<span class="sourceLineNo">1172</span>      if (c == null)<a name="line.1172"></a>
-<span class="sourceLineNo">1173</span>         return object();<a name="line.1173"></a>
-<span class="sourceLineNo">1174</span><a name="line.1174"></a>
-<span class="sourceLineNo">1175</span>      ClassMeta rawType = getClassMeta(c);<a name="line.1175"></a>
-<span class="sourceLineNo">1176</span><a name="line.1176"></a>
-<span class="sourceLineNo">1177</span>      // If this is a Map or Collection, and the parameter types aren't part<a name="line.1177"></a>
-<span class="sourceLineNo">1178</span>      // of the class definition itself (e.g. class AddressBook extends List&lt;Person&gt;),<a name="line.1178"></a>
-<span class="sourceLineNo">1179</span>      // then we need to figure out the parameters.<a name="line.1179"></a>
-<span class="sourceLineNo">1180</span>      if (rawType.isMap() || rawType.isCollection()) {<a name="line.1180"></a>
-<span class="sourceLineNo">1181</span>         ClassMeta[] params = findParameters(o, c);<a name="line.1181"></a>
-<span class="sourceLineNo">1182</span>         if (params == null)<a name="line.1182"></a>
-<span class="sourceLineNo">1183</span>            return rawType;<a name="line.1183"></a>
-<span class="sourceLineNo">1184</span>         if (rawType.isMap()) {<a name="line.1184"></a>
-<span class="sourceLineNo">1185</span>            if (params.length != 2)<a name="line.1185"></a>
-<span class="sourceLineNo">1186</span>               return rawType;<a name="line.1186"></a>
-<span class="sourceLineNo">1187</span>            if (params[0].isObject() &amp;&amp; params[1].isObject())<a name="line.1187"></a>
-<span class="sourceLineNo">1188</span>               return rawType;<a name="line.1188"></a>
-<span class="sourceLineNo">1189</span>            return new ClassMeta(rawType, params[0], params[1], null);<a name="line.1189"></a>
-<span class="sourceLineNo">1190</span>         }<a name="line.1190"></a>
-<span class="sourceLineNo">1191</span>         if (rawType.isCollection()) {<a name="line.1191"></a>
-<span class="sourceLineNo">1192</span>            if (params.length != 1)<a name="line.1192"></a>
-<span class="sourceLineNo">1193</span>               return rawType;<a name="line.1193"></a>
-<span class="sourceLineNo">1194</span>            if (params[0].isObject())<a name="line.1194"></a>
-<span class="sourceLineNo">1195</span>               return rawType;<a name="line.1195"></a>
-<span class="sourceLineNo">1196</span>            return new ClassMeta(rawType, null, null, params[0]);<a name="line.1196"></a>
-<span class="sourceLineNo">1197</span>         }<a name="line.1197"></a>
-<span class="sourceLineNo">1198</span>      }<a name="line.1198"></a>
-<span class="sourceLineNo">1199</span><a name="line.1199"></a>
-<span class="sourceLineNo">1200</span>      return rawType;<a name="line.1200"></a>
-<span class="sourceLineNo">1201</span>   }<a name="line.1201"></a>
-<span class="sourceLineNo">1202</span><a name="line.1202"></a>
-<span class="sourceLineNo">1203</span>   /**<a name="line.1203"></a>
-<span class="sourceLineNo">1204</span>    * Convert a Type to a Class if possible.<a name="line.1204"></a>
-<span class="sourceLineNo">1205</span>    * Return null if not possible.<a name="line.1205"></a>
-<span class="sourceLineNo">1206</span>    */<a name="line.1206"></a>
-<span class="sourceLineNo">1207</span>   final Class resolve(Type t, Map&lt;Class&lt;?&gt;,Class&lt;?&gt;[]&gt; typeVarImpls) {<a name="line.1207"></a>
-<span class="sourceLineNo">1208</span><a name="line.1208"></a>
-<span class="sourceLineNo">1209</span>      if (t instanceof Class)<a name="line.1209"></a>
-<span class="sourceLineNo">1210</span>         return (Class)t;<a name="line.1210"></a>
+<span class="sourceLineNo">907</span>      locale = pm.get(BEAN_locale, Locale.class, Locale.getDefault());<a name="line.907"></a>
+<span class="sourceLineNo">908</span>      timeZone = pm.get(BEAN_timeZone, TimeZone.class, null);<a name="line.908"></a>
+<span class="sourceLineNo">909</span>      mediaType = pm.get(BEAN_mediaType, MediaType.class, null);<a name="line.909"></a>
+<span class="sourceLineNo">910</span><a name="line.910"></a>
+<span class="sourceLineNo">911</span>      if (! cmCacheCache.containsKey(hashCode)) {<a name="line.911"></a>
+<span class="sourceLineNo">912</span>         ConcurrentHashMap&lt;Class,ClassMeta&gt; cm = new ConcurrentHashMap&lt;Class,ClassMeta&gt;();<a name="line.912"></a>
+<span class="sourceLineNo">913</span>         cm.putIfAbsent(String.class, new ClassMeta(String.class, this, null, null, findPojoSwap(String.class), findChildPojoSwaps(String.class)));<a name="line.913"></a>
+<span class="sourceLineNo">914</span>         cm.putIfAbsent(Object.class, new ClassMeta(Object.class, this, null, null, findPojoSwap(Object.class), findChildPojoSwaps(Object.class)));<a name="line.914"></a>
+<span class="sourceLineNo">915</span>         cmCacheCache.putIfAbsent(hashCode, cm);<a name="line.915"></a>
+<span class="sourceLineNo">916</span>      }<a name="line.916"></a>
+<span class="sourceLineNo">917</span>      this.cmCache = cmCacheCache.get(hashCode);<a name="line.917"></a>
+<span class="sourceLineNo">918</span>      this.cmString = cmCache.get(String.class);<a name="line.918"></a>
+<span class="sourceLineNo">919</span>      this.cmObject = cmCache.get(Object.class);<a name="line.919"></a>
+<span class="sourceLineNo">920</span>      this.cmClass = cmCache.get(Class.class);<a name="line.920"></a>
+<span class="sourceLineNo">921</span><a name="line.921"></a>
+<span class="sourceLineNo">922</span>      this.beanDictionaryClasses = pm.get(BEAN_beanDictionary, Class[].class, new Class[0]);<a name="line.922"></a>
+<span class="sourceLineNo">923</span>      this.beanRegistry = new BeanRegistry(this, null);<a name="line.923"></a>
+<span class="sourceLineNo">924</span>   }<a name="line.924"></a>
+<span class="sourceLineNo">925</span><a name="line.925"></a>
+<span class="sourceLineNo">926</span>   /**<a name="line.926"></a>
+<span class="sourceLineNo">927</span>    * Create a new bean session based on the properties defined on this context.<a name="line.927"></a>
+<span class="sourceLineNo">928</span>    *<a name="line.928"></a>
+<span class="sourceLineNo">929</span>    * @param op The override properties.<a name="line.929"></a>
+<span class="sourceLineNo">930</span>    * This map can contain values to override properties defined on this context.<a name="line.930"></a>
+<span class="sourceLineNo">931</span>    * Note that only session-overridable settings can be overridden.<a name="line.931"></a>
+<span class="sourceLineNo">932</span>    * @param locale The bean session locale.<a name="line.932"></a>
+<span class="sourceLineNo">933</span>    * Typically used by {@link PojoSwap PojoSwaps} to provide locale-specific output.<a name="line.933"></a>
+<span class="sourceLineNo">934</span>    * If &lt;jk&gt;null&lt;/jk&gt;, the system default locale is assumed.<a name="line.934"></a>
+<span class="sourceLineNo">935</span>    * @param timeZone The bean session timezone.<a name="line.935"></a>
+<span class="sourceLineNo">936</span>    * Typically used by time-sensitive {@link PojoSwap PojoSwaps} to provide timezone-specific output.<a name="line.936"></a>
+<span class="sourceLineNo">937</span>    * If &lt;jk&gt;null&lt;/jk&gt; the system default timezone is assumed on {@link java.util.Date} objects, or the<a name="line.937"></a>
+<span class="sourceLineNo">938</span>    *    locale specified on {@link Calendar} objects are used.<a name="line.938"></a>
+<span class="sourceLineNo">939</span>    * @param mediaType The session media type (e.g. &lt;js&gt;"application/json"&lt;/js&gt;).<a name="line.939"></a>
+<span class="sourceLineNo">940</span>    * @return A new session object.<a name="line.940"></a>
+<span class="sourceLineNo">941</span>    */<a name="line.941"></a>
+<span class="sourceLineNo">942</span>   public BeanSession createSession(ObjectMap op, Locale locale, TimeZone timeZone, MediaType mediaType) {<a name="line.942"></a>
+<span class="sourceLineNo">943</span>      return new BeanSession(this, op, locale, timeZone, mediaType);<a name="line.943"></a>
+<span class="sourceLineNo">944</span>   }<a name="line.944"></a>
+<span class="sourceLineNo">945</span><a name="line.945"></a>
+<span class="sourceLineNo">946</span>   /**<a name="line.946"></a>
+<span class="sourceLineNo">947</span>    * Create a new bean session based on the properties defined on this context.<a name="line.947"></a>
+<span class="sourceLineNo">948</span>    * &lt;p&gt;<a name="line.948"></a>
+<span class="sourceLineNo">949</span>    * Use this method for creating sessions if you don't need to override any<a name="line.949"></a>
+<span class="sourceLineNo">950</span>    * properties or locale/timezone currently set on this context.<a name="line.950"></a>
+<span class="sourceLineNo">951</span>    *<a name="line.951"></a>
+<span class="sourceLineNo">952</span>    * @return A new session object.<a name="line.952"></a>
+<span class="sourceLineNo">953</span>    */<a name="line.953"></a>
+<span class="sourceLineNo">954</span>   public BeanSession createSession() {<a name="line.954"></a>
+<span class="sourceLineNo">955</span>      return new BeanSession(this, null, this.locale, this.timeZone, this.mediaType);<a name="line.955"></a>
+<span class="sourceLineNo">956</span>   }<a name="line.956"></a>
+<span class="sourceLineNo">957</span><a name="line.957"></a>
+<span class="sourceLineNo">958</span>   /**<a name="line.958"></a>
+<span class="sourceLineNo">959</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if the specified bean context shares the same cache as this bean context.<a name="line.959"></a>
+<span class="sourceLineNo">960</span>    * Useful for testing purposes.<a name="line.960"></a>
+<span class="sourceLineNo">961</span>    *<a name="line.961"></a>
+<span class="sourceLineNo">962</span>    * @param bc The bean context to compare to.<a name="line.962"></a>
+<span class="sourceLineNo">963</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the bean contexts have equivalent settings and thus share caches.<a name="line.963"></a>
+<span class="sourceLineNo">964</span>    */<a name="line.964"></a>
+<span class="sourceLineNo">965</span>   public final boolean hasSameCache(BeanContext bc) {<a name="line.965"></a>
+<span class="sourceLineNo">966</span>      return bc.cmCache == this.cmCache;<a name="line.966"></a>
+<span class="sourceLineNo">967</span>   }<a name="line.967"></a>
+<span class="sourceLineNo">968</span><a name="line.968"></a>
+<span class="sourceLineNo">969</span>   /**<a name="line.969"></a>
+<span class="sourceLineNo">970</span>    * Determines whether the specified class is ignored as a bean class based on the various<a name="line.970"></a>
+<span class="sourceLineNo">971</span>    *    exclusion parameters specified on this context class.<a name="line.971"></a>
+<span class="sourceLineNo">972</span>    *<a name="line.972"></a>
+<span class="sourceLineNo">973</span>    * @param c The class type being tested.<a name="line.973"></a>
+<span class="sourceLineNo">974</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified class matches any of the exclusion parameters.<a name="line.974"></a>
+<span class="sourceLineNo">975</span>    */<a name="line.975"></a>
+<span class="sourceLineNo">976</span>   protected final boolean isNotABean(Class&lt;?&gt; c) {<a name="line.976"></a>
+<span class="sourceLineNo">977</span>      if (c.isArray() || c.isPrimitive() || c.isEnum() || c.isAnnotation())<a name="line.977"></a>
+<span class="sourceLineNo">978</span>         return true;<a name="line.978"></a>
+<span class="sourceLineNo">979</span>      Package p = c.getPackage();<a name="line.979"></a>
+<span class="sourceLineNo">980</span>      if (p != null) {<a name="line.980"></a>
+<span class="sourceLineNo">981</span>         for (String p2 : notBeanPackageNames)<a name="line.981"></a>
+<span class="sourceLineNo">982</span>            if (p.getName().equals(p2))<a name="line.982"></a>
+<span class="sourceLineNo">983</span>               return true;<a name="line.983"></a>
+<span class="sourceLineNo">984</span>         for (String p2 : notBeanPackagePrefixes)<a name="line.984"></a>
+<span class="sourceLineNo">985</span>            if (p.getName().startsWith(p2))<a name="line.985"></a>
+<span class="sourceLineNo">986</span>               return true;<a name="line.986"></a>
+<span class="sourceLineNo">987</span>      }<a name="line.987"></a>
+<span class="sourceLineNo">988</span>      for (Class exclude : notBeanClasses)<a name="line.988"></a>
+<span class="sourceLineNo">989</span>         if (isParentClass(exclude, c))<a name="line.989"></a>
+<span class="sourceLineNo">990</span>            return true;<a name="line.990"></a>
+<span class="sourceLineNo">991</span>      return false;<a name="line.991"></a>
+<span class="sourceLineNo">992</span>   }<a name="line.992"></a>
+<span class="sourceLineNo">993</span><a name="line.993"></a>
+<span class="sourceLineNo">994</span>   /**<a name="line.994"></a>
+<span class="sourceLineNo">995</span>    * Returns &lt;jk&gt;true&lt;/jk&gt; if the specified object is a bean.<a name="line.995"></a>
+<span class="sourceLineNo">996</span>    *<a name="line.996"></a>
+<span class="sourceLineNo">997</span>    * @param o The object to test.<a name="line.997"></a>
+<span class="sourceLineNo">998</span>    * @return &lt;jk&gt;true&lt;/jk&gt; if the specified object is a bean.  &lt;jk&gt;false&lt;/jk&gt; if the bean is &lt;jk&gt;null&lt;/jk&gt;.<a name="line.998"></a>
+<span class="sourceLineNo">999</span>    */<a name="line.999"></a>
+<span class="sourceLineNo">1000</span>   public boolean isBean(Object o) {<a name="line.1000"></a>
+<span class="sourceLineNo">1001</span>      if (o == null)<a name="line.1001"></a>
+<span class="sourceLineNo">1002</span>         return false;<a name="line.1002"></a>
+<span class="sourceLineNo">1003</span>      return getClassMetaForObject(o).isBean();<a name="line.1003"></a>
+<span class="sourceLineNo">1004</span>   }<a name="line.1004"></a>
+<span class="sourceLineNo">1005</span><a name="line.1005"></a>
+<span class="sourceLineNo">1006</span>   /**<a name="line.1006"></a>
+<span class="sourceLineNo">1007</span>    * Prints meta cache statistics to &lt;code&gt;System.out&lt;/code&gt;.<a name="line.1007"></a>
+<span class="sourceLineNo">1008</span>    */<a name="line.1008"></a>
+<span class="sourceLineNo">1009</span>   protected static void dumpCacheStats() {<a name="line.1009"></a>
+<span class="sourceLineNo">1010</span>      try {<a name="line.1010"></a>
+<span class="sourceLineNo">1011</span>         int ctCount = 0;<a name="line.1011"></a>
+<span class="sourceLineNo">1012</span>         for (Map&lt;Class,ClassMeta&gt; cm : cmCacheCache.values())<a name="line.1012"></a>
+<span class="sourceLineNo">1013</span>            ctCount += cm.size();<a name="line.1013"></a>
+<span class="sourceLineNo">1014</span>         System.out.println(MessageFormat.format("ClassMeta cache: {0} instances in {1} caches", ctCount, cmCacheCache.size())); // NOT DEBUG<a name="line.1014"></a>
+<span class="sourceLineNo">1015</span>      } catch (Exception e) {<a name="line.1015"></a>
+<span class="sourceLineNo">1016</span>         e.printStackTrace();<a name="line.1016"></a>
+<span class="sourceLineNo">1017</span>      }<a name="line.1017"></a>
+<span class="sourceLineNo">1018</span>   }<a name="line.1018"></a>
+<span class="sourceLineNo">1019</span><a name="line.1019"></a>
+<span class="sourceLineNo">1020</span>   /**<a name="line.1020"></a>
+<span class="sourceLineNo">1021</span>    * Returns the {@link BeanMeta} class for the specified class.<a name="line.1021"></a>
+<span class="sourceLineNo">1022</span>    *<a name="line.1022"></a>
+<span class="sourceLineNo">1023</span>    * @param &lt;T&gt; The class type to get the meta-data on.<a name="line.1023"></a>
+<span class="sourceLineNo">1024</span>    * @param c The class to get the meta-data on.<a name="line.1024"></a>
+<span class="sourceLineNo">1025</span>    * @return The {@link BeanMeta} for the specified class, or &lt;jk&gt;null&lt;/jk&gt; if the class<a name="line.1025"></a>
+<span class="sourceLineNo">1026</span>    *    is not a bean per the settings on this context.<a name="line.1026"></a>
+<span class="sourceLineNo">1027</span>    */<a name="line.1027"></a>
+<span class="sourceLineNo">1028</span>   public final &lt;T&gt; BeanMeta&lt;T&gt; getBeanMeta(Class&lt;T&gt; c) {<a name="line.1028"></a>
+<span class="sourceLineNo">1029</span>      if (c == null)<a name="line.1029"></a>
+<span class="sourceLineNo">1030</span>         return null;<a name="line.1030"></a>
+<span class="sourceLineNo">1031</span>      return getClassMeta(c).getBeanMeta();<a name="line.1031"></a>
+<span class="sourceLineNo">1032</span>   }<a name="line.1032"></a>
+<span class="sourceLineNo">1033</span><a name="line.1033"></a>
+<span class="sourceLineNo">1034</span>   /**<a name="line.1034"></a>
+<span class="sourceLineNo">1035</span>    * Construct a {@code ClassMeta} wrapper around a {@link Class} object.<a name="line.1035"></a>
+<span class="sourceLineNo">1036</span>    *<a name="line.1036"></a>
+<span class="sourceLineNo">1037</span>    * @param &lt;T&gt; The class type being wrapped.<a name="line.1037"></a>
+<span class="sourceLineNo">1038</span>    * @param type The class to resolve.<a name="line.1038"></a>
+<span class="sourceLineNo">1039</span>    * @return If the class is not an array, returns a cached {@link ClassMeta} object.<a name="line.1039"></a>
+<span class="sourceLineNo">1040</span>    * Otherwise, returns a new {@link ClassMeta} object every time.&lt;br&gt;<a name="line.1040"></a>
+<span class="sourceLineNo">1041</span>    */<a name="line.1041"></a>
+<span class="sourceLineNo">1042</span>   public final &lt;T&gt; ClassMeta&lt;T&gt; getClassMeta(Class&lt;T&gt; type) {<a name="line.1042"></a>
+<span class="sourceLineNo">1043</span>      return getClassMeta(type, true);<a name="line.1043"></a>
+<span class="sourceLineNo">1044</span>   }<a name="line.1044"></a>
+<span class="sourceLineNo">1045</span><a name="line.1045"></a>
+<span class="sourceLineNo">1046</span>   /**<a name="line.1046"></a>
+<span class="sourceLineNo">1047</span>    * Construct a {@code ClassMeta} wrapper around a {@link Class} object.<a name="line.1047"></a>
+<span class="sourceLineNo">1048</span>    *<a name="line.1048"></a>
+<span class="sourceLineNo">1049</span>    * @param &lt;T&gt; The class type being wrapped.<a name="line.1049"></a>
+<span class="sourceLineNo">1050</span>    * @param type The class to resolve.<a name="line.1050"></a>
+<span class="sourceLineNo">1051</span>    * @param waitForInit If &lt;jk&gt;true&lt;/jk&gt;, wait for the ClassMeta constructor to finish before returning.<a name="line.1051"></a>
+<span class="sourceLineNo">1052</span>    * @return If the class is not an array, returns a cached {@link ClassMeta} object.<a name="line.1052"></a>
+<span class="sourceLineNo">1053</span>    * Otherwise, returns a new {@link ClassMeta} object every time.&lt;br&gt;<a name="line.1053"></a>
+<span class="sourceLineNo">1054</span>    */<a name="line.1054"></a>
+<span class="sourceLineNo">1055</span>   final &lt;T&gt; ClassMeta&lt;T&gt; getClassMeta(Class&lt;T&gt; type, boolean waitForInit) {<a name="line.1055"></a>
+<span class="sourceLineNo">1056</span><a name="line.1056"></a>
+<span class="sourceLineNo">1057</span>      // If this is an array, then we want it wrapped in an uncached ClassMeta object.<a name="line.1057"></a>
+<span class="sourceLineNo">1058</span>      // Note that if it has a pojo swap, we still want to cache it so that<a name="line.1058"></a>
+<span class="sourceLineNo">1059</span>      // we can cache something like byte[] with ByteArrayBase64Swap.<a name="line.1059"></a>
+<span class="sourceLineNo">1060</span>      if (type.isArray() &amp;&amp; findPojoSwap(type) == null)<a name="line.1060"></a>
+<span class="sourceLineNo">1061</span>         return new ClassMeta(type, this, findImplClass(type), findBeanFilter(type), findPojoSwap(type), findChildPojoSwaps(type));<a name="line.1061"></a>
+<span class="sourceLineNo">1062</span><a name="line.1062"></a>
+<span class="sourceLineNo">1063</span>      // This can happen if we have transforms defined against String or Object.<a name="line.1063"></a>
+<span class="sourceLineNo">1064</span>      if (cmCache == null)<a name="line.1064"></a>
+<span class="sourceLineNo">1065</span>         return null;<a name="line.1065"></a>
+<span class="sourceLineNo">1066</span><a name="line.1066"></a>
+<span class="sourceLineNo">1067</span>      ClassMeta&lt;T&gt; cm = cmCache.get(type);<a name="line.1067"></a>
+<span class="sourceLineNo">1068</span>      if (cm == null) {<a name="line.1068"></a>
+<span class="sourceLineNo">1069</span><a name="line.1069"></a>
+<span class="sourceLineNo">1070</span>         synchronized (this) {<a name="line.1070"></a>
+<span class="sourceLineNo">1071</span>            // Make sure someone didn't already set it while this thread was blocked.<a name="line.1071"></a>
+<span class="sourceLineNo">1072</span>            cm = cmCache.get(type);<a name="line.1072"></a>
+<span class="sourceLineNo">1073</span>            if (cm == null)<a name="line.1073"></a>
+<span class="sourceLineNo">1074</span>               cm = new ClassMeta&lt;T&gt;(type, this, findImplClass(type), findBeanFilter(type), findPojoSwap(type), findChildPojoSwaps(type));<a name="line.1074"></a>
+<span class="sourceLineNo">1075</span>         }<a name="line.1075"></a>
+<span class="sourceLineNo">1076</span>      }<a name="line.1076"></a>
+<span class="sourceLineNo">1077</span>      if (waitForInit)<a name="line.1077"></a>
+<span class="sourceLineNo">1078</span>         cm.waitForInit();<a name="line.1078"></a>
+<span class="sourceLineNo">1079</span>      return cm;<a name="line.1079"></a>
+<span class="sourceLineNo">1080</span>   }<a name="line.1080"></a>
+<span class="sourceLineNo">1081</span><a name="line.1081"></a>
+<span class="sourceLineNo">1082</span>   /**<a name="line.1082"></a>
+<span class="sourceLineNo">1083</span>    * Used to resolve &lt;code&gt;ClassMetas&lt;/code&gt; of type &lt;code&gt;Collection&lt;/code&gt; and &lt;code&gt;Map&lt;/code&gt; that have<a name="line.1083"></a>
+<span class="sourceLineNo">1084</span>    * &lt;code&gt;ClassMeta&lt;/code&gt; values that themselves could be collections or maps.<a name="line.1084"></a>
+<span class="sourceLineNo">1085</span>    * &lt;p&gt;<a name="line.1085"></a>
+<span class="sourceLineNo">1086</span>    * &lt;code&gt;Collection&lt;/code&gt; meta objects are assumed to be followed by zero or one meta objects indicating the element type.<a name="line.1086"></a>
+<span class="sourceLineNo">1087</span>    * &lt;p&gt;<a name="line.1087"></a>
+<span class="sourceLineNo">1088</span>    * &lt;code&gt;Map&lt;/code&gt; meta objects are assumed to be followed by zero or two meta objects indicating the key and value types.<a name="line.1088"></a>
+<span class="sourceLineNo">1089</span>    * &lt;p&gt;<a name="line.1089"></a>
+<span class="sourceLineNo">1090</span>    * The array can be arbitrarily long to indicate arbitrarily complex data structures.<a name="line.1090"></a>
+<span class="sourceLineNo">1091</span>    *<a name="line.1091"></a>
+<span class="sourceLineNo">1092</span>    * &lt;h5 class='section'&gt;Examples:&lt;/h5&gt;<a name="line.1092"></a>
+<span class="sourceLineNo">1093</span>    * &lt;ul&gt;<a name="line.1093"></a>
+<span class="sourceLineNo">1094</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(String.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A normal type.<a name="line.1094"></a>
+<span class="sourceLineNo">1095</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(List.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A list containing objects.<a name="line.1095"></a>
+<span class="sourceLineNo">1096</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(List.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A list containing strings.<a name="line.1096"></a>
+<span class="sourceLineNo">1097</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A linked-list containing strings.<a name="line.1097"></a>
+<span class="sourceLineNo">1098</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(LinkedList.&lt;jk&gt;class&lt;/jk&gt;, LinkedList.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A linked-list containing linked-lists of strings.<a name="line.1098"></a>
+<span class="sourceLineNo">1099</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(Map.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A map containing object keys/values.<a name="line.1099"></a>
+<span class="sourceLineNo">1100</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(Map.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A map containing string keys/values.<a name="line.1100"></a>
+<span class="sourceLineNo">1101</span>    *    &lt;li&gt;&lt;code&gt;getClassMeta(Map.&lt;jk&gt;class&lt;/jk&gt;, String.&lt;jk&gt;class&lt;/jk&gt;, List.&lt;jk&gt;class&lt;/jk&gt;, MyBean.&lt;jk&gt;class&lt;/jk&gt;);&lt;/code&gt; - A map containing string keys and values of lists containing beans.<a name="line.1101"></a>
+<span class="sourceLineNo">1102</span>    * &lt;/ul&gt;<a name="line.1102"></a>
+<span class="sourceLineNo">1103</span>    *<a name="line.1103"></a>
+<span class="sourceLineNo">1104</span>    * @param type The class to resolve.<a name="line.1104"></a>
+<span class="sourceLineNo">1105</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1105"></a>
+<span class="sourceLineNo">1106</span>    * @param args The type arguments of the class if it's a collection or map.<a name="line.1106"></a>
+<span class="sourceLineNo">1107</span>    *    &lt;br&gt;Can be any of the following: {@link ClassMeta}, {@link Class}, {@link ParameterizedType}, {@link GenericArrayType}<a name="line.1107"></a>
+<span class="sourceLineNo">1108</span>    *    &lt;br&gt;Ignored if the main type is not a map or collection.<a name="line.1108"></a>
+<span class="sourceLineNo">1109</span>    * @return The resolved class meta.<a name="line.1109"></a>
+<span class="sourceLineNo">1110</span>    */<a name="line.1110"></a>
+<span class="sourceLineNo">1111</span>   public final &lt;T&gt; ClassMeta&lt;T&gt; getClassMeta(Type type, Type...args) {<a name="line.1111"></a>
+<span class="sourceLineNo">1112</span>      if (type == null)<a name="line.1112"></a>
+<span class="sourceLineNo">1113</span>         return null;<a name="line.1113"></a>
+<span class="sourceLineNo">1114</span>      ClassMeta&lt;T&gt; cm = type instanceof Class ? getClassMeta((Class)type) : resolveClassMeta(type, null);<a name="line.1114"></a>
+<span class="sourceLineNo">1115</span>      if (args.length == 0)<a name="line.1115"></a>
+<span class="sourceLineNo">1116</span>         return cm;<a name="line.1116"></a>
+<span class="sourceLineNo">1117</span>      ClassMeta&lt;?&gt;[] cma = new ClassMeta[args.length+1];<a name="line.1117"></a>
+<span class="sourceLineNo">1118</span>      cma[0] = cm;<a name="line.1118"></a>
+<span class="sourceLineNo">1119</span>      for (int i = 0; i &lt; Array.getLength(args); i++) {<a name="line.1119"></a>
+<span class="sourceLineNo">1120</span>         Type arg = (Type)Array.get(args, i);<a name="line.1120"></a>
+<span class="sourceLineNo">1121</span>         cma[i+1] = arg instanceof Class ? getClassMeta((Class)arg) : resolveClassMeta(arg, null);<a name="line.1121"></a>
+<span class="sourceLineNo">1122</span>      }<a name="line.1122"></a>
+<span class="sourceLineNo">1123</span>      return (ClassMeta&lt;T&gt;) getTypedClassMeta(cma, 0);<a name="line.1123"></a>
+<span class="sourceLineNo">1124</span>   }<a name="line.1124"></a>
+<span class="sourceLineNo">1125</span><a name="line.1125"></a>
+<span class="sourceLineNo">1126</span>   /*<a name="line.1126"></a>
+<span class="sourceLineNo">1127</span>    * Resolves the 'genericized' class meta at the specified position in the ClassMeta array.<a name="line.1127"></a>
+<span class="sourceLineNo">1128</span>    */<a name="line.1128"></a>
+<span class="sourceLineNo">1129</span>   private ClassMeta&lt;?&gt; getTypedClassMeta(ClassMeta&lt;?&gt;[] c, int pos) {<a name="line.1129"></a>
+<span class="sourceLineNo">1130</span>      ClassMeta&lt;?&gt; cm = c[pos++];<a name="line.1130"></a>
+<span class="sourceLineNo">1131</span>      if (cm.isCollection()) {<a name="line.1131"></a>
+<span class="sourceLineNo">1132</span>         ClassMeta&lt;?&gt; ce = c.length == pos ? object() : getTypedClassMeta(c, pos);<a name="line.1132"></a>
+<span class="sourceLineNo">1133</span>         return (ce.isObject() ? cm : new ClassMeta(cm, null, null, ce));<a name="line.1133"></a>
+<span class="sourceLineNo">1134</span>      } else if (cm.isMap()) {<a name="line.1134"></a>
+<span class="sourceLineNo">1135</span>         ClassMeta&lt;?&gt; ck = c.length == pos ? object() : c[pos++];<a name="line.1135"></a>
+<span class="sourceLineNo">1136</span>         ClassMeta&lt;?&gt; cv = c.length == pos ? object() : getTypedClassMeta(c, pos);<a name="line.1136"></a>
+<span class="sourceLineNo">1137</span>         return (ck.isObject() &amp;&amp; cv.isObject() ? cm : new ClassMeta(cm, ck, cv, null));<a name="line.1137"></a>
+<span class="sourceLineNo">1138</span>      }<a name="line.1138"></a>
+<span class="sourceLineNo">1139</span>      return cm;<a name="line.1139"></a>
+<span class="sourceLineNo">1140</span>   }<a name="line.1140"></a>
+<span class="sourceLineNo">1141</span><a name="line.1141"></a>
+<span class="sourceLineNo">1142</span>   final ClassMeta resolveClassMeta(Type o, Map&lt;Class&lt;?&gt;,Class&lt;?&gt;[]&gt; typeVarImpls) {<a name="line.1142"></a>
+<span class="sourceLineNo">1143</span>      if (o == null)<a name="line.1143"></a>
+<span class="sourceLineNo">1144</span>         return null;<a name="line.1144"></a>
+<span class="sourceLineNo">1145</span><a name="line.1145"></a>
+<span class="sourceLineNo">1146</span>      if (o instanceof ClassMeta) {<a name="line.1146"></a>
+<span class="sourceLineNo">1147</span>         ClassMeta&lt;?&gt; cm = (ClassMeta)o;<a name="line.1147"></a>
+<span class="sourceLineNo">1148</span><a name="line.1148"></a>
+<span class="sourceLineNo">1149</span>         // This classmeta could have been created by a different context.<a name="line.1149"></a>
+<span class="sourceLineNo">1150</span>         // Need to re-resolve it to pick up PojoSwaps and stuff on this context.<a name="line.1150"></a>
+<span class="sourceLineNo">1151</span>         if (cm.getBeanContext() == this)<a name="line.1151"></a>
+<span class="sourceLineNo">1152</span>            return cm;<a name="line.1152"></a>
+<span class="sourceLineNo">1153</span>         if (cm.isMap())<a name="line.1153"></a>
+<span class="sourceLineNo">1154</span>            return getClassMeta(cm.innerClass, cm.getKeyType(), cm.getValueType());<a name="line.1154"></a>
+<span class="sourceLineNo">1155</span>         if (cm.isCollection())<a name="line.1155"></a>
+<span class="sourceLineNo">1156</span>            return getClassMeta(cm.innerClass, cm.getElementType());<a name="line.1156"></a>
+<span class="sourceLineNo">1157</span>         return getClassMeta(cm.innerClass);<a name="line.1157"></a>
+<span class="sourceLineNo">1158</span>      }<a name="line.1158"></a>
+<span class="sourceLineNo">1159</span><a name="line.1159"></a>
+<span class="sourceLineNo">1160</span>      Class c = resolve(o, typeVarImpls);<a name="line.1160"></a>
+<span class="sourceLineNo">1161</span><a name="line.1161"></a>
+<span class="sourceLineNo">1162</span>      // This can happen when trying to resolve the "E getFirst()" method on LinkedList, whose type is a TypeVariable<a name="line.1162"></a>
+<span class="sourceLineNo">1163</span>      // These should just resolve to Object.<a name="line.1163"></a>
+<span class="sourceLineNo">1164</span>      if (c == null)<a name="line.1164"></a>
+<span class="sourceLineNo">1165</span>         return object();<a name="line.1165"></a>
+<span class="sourceLineNo">1166</span><a name="line.1166"></a>
+<span class="sourceLineNo">1167</span>      ClassMeta rawType = getClassMeta(c);<a name="line.1167"></a>
+<span class="sourceLineNo">1168</span><a name="line.1168"></a>
+<span class="sourceLineNo">1169</span>      // If this is a Map or Collection, and the parameter types aren't part<a name="line.1169"></a>
+<span class="sourceLineNo">1170</span>      // of the class definition itself (e.g. class AddressBook extends List&lt;Person&gt;),<a name="line.1170"></a>
+<span class="sourceLineNo">1171</span>      // then we need to figure out the parameters.<a name="line.1171"></a>
+<span class="sourceLineNo">1172</span>      if (rawType.isMap() || rawType.isCollection()) {<a name="line.1172"></a>
+<span class="sourceLineNo">1173</span>         ClassMeta[] params = findParameters(o, c);<a name="line.1173"></a>
+<span class="sourceLineNo">1174</span>         if (params == null)<a name="line.1174"></a>
+<span class="sourceLineNo">1175</span>            return rawType;<a name="line.1175"></a>
+<span class="sourceLineNo">1176</span>         if (rawType.isMap()) {<a name="line.1176"></a>
+<span class="sourceLineNo">1177</span>            if (params.length != 2)<a name="line.1177"></a>
+<span class="sourceLineNo">1178</span>               return rawType;<a name="line.1178"></a>
+<span class="sourceLineNo">1179</span>            if (params[0].isObject() &amp;&amp; params[1].isObject())<a name="line.1179"></a>
+<span class="sourceLineNo">1180</span>               return rawType;<a name="line.1180"></a>
+<span class="sourceLineNo">1181</span>            return new ClassMeta(rawType, params[0], params[1], null);<a name="line.1181"></a>
+<span class="sourceLineNo">1182</span>         }<a name="line.1182"></a>
+<span class="sourceLineNo">1183</span>         if (rawType.isCollection()) {<a name="line.1183"></a>
+<span class="sourceLineNo">1184</span>            if (params.length != 1)<a name="line.1184"></a>
+<span class="sourceLineNo">1185</span>               return rawType;<a name="line.1185"></a>
+<span class="sourceLineNo">1186</span>            if (params[0].isObject())<a name="line.1186"></a>
+<span class="sourceLineNo">1187</span>               return rawType;<a name="line.1187"></a>
+<span class="sourceLineNo">1188</span>            return new ClassMeta(rawType, null, null, params[0]);<a name="line.1188"></a>
+<span class="sourceLineNo">1189</span>         }<a name="line.1189"></a>
+<span class="sourceLineNo">1190</span>      }<a name="line.1190"></a>
+<span class="sourceLineNo">1191</span><a name="line.1191"></a>
+<span class="sourceLineNo">1192</span>      return rawType;<a name="line.1192"></a>
+<span class="sourceLineNo">1193</span>   }<a name="line.1193"></a>
+<span class="sourceLineNo">1194</span><a name="line.1194"></a>
+<span class="sourceLineNo">1195</span>   /**<a name="line.1195"></a>
+<span class="sourceLineNo">1196</span>    * Convert a Type to a Class if possible.<a name="line.1196"></a>
+<span class="sourceLineNo">1197</span>    * Return null if not possible.<a name="line.1197"></a>
+<span class="sourceLineNo">1198</span>    */<a name="line.1198"></a>
+<span class="sourceLineNo">1199</span>   final Class resolve(Type t, Map&lt;Class&lt;?&gt;,Class&lt;?&gt;[]&gt; typeVarImpls) {<a name="line.1199"></a>
+<span class="sourceLineNo">1200</span><a name="line.1200"></a>
+<span class="sourceLineNo">1201</span>      if (t instanceof Class)<a name="line.1201"></a>
+<span class="sourceLineNo">1202</span>         return (Class)t;<a name="line.1202"></a>
+<span class="sourceLineNo">1203</span><a name="line.1203"></a>
+<span class="sourceLineNo">1204</span>      if (t instanceof ParameterizedType)<a name="line.1204"></a>
+<span class="sourceLineNo">1205</span>         // A parameter (e.g. &lt;String&gt;.<a name="line.1205"></a>
+<span class="sourceLineNo">1206</span>         return (Class)((ParameterizedType)t).getRawType();<a name="line.1206"></a>
+<span class="sourceLineNo">1207</span><a name="line.1207"></a>
+<span class="sourceLineNo">1208</span>      if (t instanceof GenericArrayType) {<a name="line.1208"></a>
+<span class="sourceLineNo">1209</span>         // An array parameter (e.g. &lt;byte[]&gt;).<a name="line.1209"></a>
+<span class="sourceLineNo">1210</span>         Type gatct = ((GenericArrayType)t).getGenericComponentType();<a name="line.1210"></a>
 <span class="sourceLineNo">1211</span><a name="line.1211"></a>
-<span class="sourceLineNo">1212</span>      if (t instanceof ParameterizedType)<a name="line.1212"></a>
-<span class="sourceLineNo">1213</span>         // A parameter (e.g. &lt;String&gt;.<a name="line.1213"></a>
-<span class="sourceLineNo">1214</span>         return (Class)((ParameterizedType)t).getRawType();<a name="line.1214"></a>
-<span class="sourceLineNo">1215</span><a name="line.1215"></a>
-<span class="sourceLineNo">1216</span>      if (t instanceof GenericArrayType) {<a name="line.1216"></a>
-<span class="sourceLineNo">1217</span>         // An array parameter (e.g. &lt;byte[]&gt;).<a name="line.1217"></a>
-<span class="sourceLineNo">1218</span>         Type gatct = ((GenericArrayType)t).getGenericComponentType();<a name="line.1218"></a>
-<span class="sourceLineNo">1219</span><a name="line.1219"></a>
-<span class="sourceLineNo">1220</span>         if (gatct instanceof Class)<a name="line.1220"></a>
-<span class="sourceLineNo">1221</span>            return Array.newInstance((Class)gatct, 0).getClass();<a name="line.1221"></a>
+<span class="sourceLineNo">1212</span>         if (gatct instanceof Class)<a name="line.1212"></a>
+<span class="sourceLineNo">1213</span>            return Array.newInstance((Class)gatct, 0).getClass();<a name="line.1213"></a>
+<span class="sourceLineNo">1214</span><a name="line.1214"></a>
+<span class="sourceLineNo">1215</span>         if (gatct instanceof ParameterizedType)<a name="line.1215"></a>
+<span class="sourceLineNo">1216</span>            return Array.newInstance((Class)((ParameterizedType)gatct).getRawType(), 0).getClass();<a name="line.1216"></a>
+<span class="sourceLineNo">1217</span><a name="line.1217"></a>
+<span class="sourceLineNo">1218</span>         if (gatct instanceof GenericArrayType)<a name="line.1218"></a>
+<span class="sourceLineNo">1219</span>            return Array.newInstance(resolve(gatct, typeVarImpls), 0).getClass();<a name="line.1219"></a>
+<span class="sourceLineNo">1220</span><a name="line.1220"></a>
+<span class="sourceLineNo">1221</span>         return null;<a name="line.1221"></a>
 <span class="sourceLineNo">1222</span><a name="line.1222"></a>
-<span class="sourceLineNo">1223</span>         if (gatct instanceof ParameterizedType)<a name="line.1223"></a>
-<span class="sourceLineNo">1224</span>            return Array.newInstance((Class)((ParameterizedType)gatct).getRawType(), 0).getClass();<a name="line.1224"></a>
-<span class="sourceLineNo">1225</span><a name="line.1225"></a>
-<span class="sourceLineNo">1226</span>         if (gatct instanceof GenericArrayType)<a name="line.1226"></a>
-<span class="sourceLineNo">1227</span>            return Array.newInstance(resolve(gatct, typeVarImpls), 0).getClass();<a name="line.1227"></a>
-<span class="sourceLineNo">1228</span><a name="line.1228"></a>
-<span class="sourceLineNo">1229</span>         return null;<a name="line.1229"></a>
-<span class="sourceLineNo">1230</span><a name="line.1230"></a>
-<span class="sourceLineNo">1231</span>      } else if (t instanceof TypeVariable) {<a name="line.1231"></a>
-<span class="sourceLineNo">1232</span>         if (typeVarImpls != null) {<a name="line.1232"></a>
-<span class="sourceLineNo">1233</span>            TypeVariable tv = (TypeVariable)t;<a name="line.1233"></a>
-<span class="sourceLineNo">1234</span>            String varName = tv.getName();<a name="line.1234"></a>
-<span class="sourceLineNo">1235</span>            int varIndex = -1;<a name="line.1235"></a>
-<span class="sourceLineNo">1236</span>            Class gc = (Class)tv.getGenericDeclaration();<a name="line.1236"></a>
-<span class="sourceLineNo">1237</span>            TypeVariable[] tvv = gc.getTypeParameters();<a name="line.1237"></a>
-<span class="sourceLineNo">1238</span>            for (int i = 0; i &lt; tvv.length; i++) {<a name="line.1238"></a>
-<span class="sourceLineNo">1239</span>               if (tvv[i].getName().equals(varName)) {<a name="line.1239"></a>
-<span class="sourceLineNo">1240</span>                  varIndex = i;<a name="line.1240"></a>
-<span class="sourceLineNo">1241</span>               }<a name="line.1241"></a>
-<span class="sourceLineNo">1242</span>            }<a name="line.1242"></a>
-<span class="sourceLineNo">1243</span>            if (varIndex != -1) {<a name="line.1243"></a>
-<span class="sourceLineNo">1244</span><a name="line.1244"></a>
-<span class="sourceLineNo">1245</span>               // If we couldn't find a type variable implementation, that means<a name="line.1245"></a>
-<span class="sourceLineNo">1246</span>               // the type was defined at runtime (e.g. Bean b = new Bean&lt;Foo&gt;();)<a name="line.1246"></a>
-<span class="sourceLineNo">1247</span>               // in which case the type is lost through erasure.<a name="line.1247"></a>
-<span class="sourceLineNo">1248</span>               // Assume java.lang.Object as the type.<a name="line.1248"></a>
-<span class="sourceLineNo">1249</span>               if (! typeVarImpls.containsKey(gc))<a name="line.1249"></a>
-<span class="sourceLineNo">1250</span>                  return null;<a name="line.1250"></a>
-<span class="sourceLineNo">1251</span><a name="line.1251"></a>
-<span class="sourceLineNo">1252</span>               return typeVarImpls.get(gc)[varIndex];<a name="line.1252"></a>
-<span class="sourceLineNo">1253</span>            }<a name="line.1253"></a>
-<span class="sourceLineNo">1254</span>         }<a name="line.1254"></a>
-<span class="sourceLineNo">1255</span>      }<a name="line.1255"></a>
-<span class="sourceLineNo">1256</span>      return null;<a name="line.1256"></a>
-<span class="sourceLineNo">1257</span>   }<a name="line.1257"></a>
-<span class="sourceLineNo">1258</span><a name="line.1258"></a>
-<span class="sourceLineNo">1259</span>   final ClassMeta[] findParameters(Type o, Class c) {<a name="line.1259"></a>
-<span class="sourceLineNo">1260</span>      if (o == null)<a name="line.1260"></a>
-<span class="sourceLineNo">1261</span>         o = c;<a name="line.1261"></a>
-<span class="sourceLineNo">1262</span><a name="line.1262"></a>
-<span class="sourceLineNo">1263</span>      // Loop until we find a ParameterizedType<a name="line.1263"></a>
-<span class="sourceLineNo">1264</span>      if (! (o instanceof ParameterizedType)) {<a name="line.1264"></a>
-<span class="sourceLineNo">1265</span>         loop: do {<a name="line.1265"></a>
-<span class="sourceLineNo">1266</span>            o = c.getGenericSuperclass();<a name="line.1266"></a>
-<span class="sourceLineNo">1267</span>            if (o instanceof ParameterizedType)<a name="line.1267"></a>
-<span class="sourceLineNo">1268</span>               break loop;<a name="line.1268"></a>
-<span class="sourceLineNo">1269</span>            for (Type t : c.getGenericInterfaces()) {<a name="line.1269"></a>
-<span class="sourceLineNo">1270</span>               o = t;<a name="line.1270"></a>
-<span class="sourceLineNo">1271</span>               if (o instanceof ParameterizedType)<a name="line.1271"></a>
-<span class="sourceLineNo">1272</span>                  break loop;<a name="line.1272"></a>
-<span class="sourceLineNo">1273</span>            }<a name="line.1273"></a>
-<span class="sourceLineNo">1274</span>            c = c.getSuperclass();<a name="line.1274"></a>
-<span class="sourceLineNo">1275</span>         } while (c != null);<a name="line.1275"></a>
-<span class="sourceLineNo">1276</span>      }<a name="line.1276"></a>
-<span class="sourceLineNo">1277</span><a name="line.1277"></a>
-<span class="sourceLineNo">1278</span>      if (o instanceof ParameterizedType) {<a name="line.1278"></a>
-<span class="sourceLineNo">1279</span>         ParameterizedType pt = (ParameterizedType)o;<a name="line.1279"></a>
-<span class="sourceLineNo">1280</span>         if (! pt.getRawType().equals(Enum.class)) {<a name="line.1280"></a>
-<span class="sourceLineNo">1281</span>            List&lt;ClassMeta&lt;?&gt;&gt; l = new LinkedList&lt;ClassMeta&lt;?&gt;&gt;();<a name="line.1281"></a>
-<span class="sourceLineNo">1282</span>            for (Type pt2 : pt.getActualTypeArguments()) {<a name="line.1282"></a>
-<span class="sourceLineNo">1283</span>               if (pt2 instanceof WildcardType || pt2 instanceof TypeVariable)<a name="line.1283"></a>
-<span class="sourceLineNo">1284</span>                  return null;<a name="line.1284"></a>
-<span class="sourceLineNo">1285</span>               l.add(resolveClassMeta(pt2, null));<a name="line.1285"></a>
-<span class="sourceLineNo">1286</span>            }<a name="line.1286"></a>
-<span class="sourceLineNo">1287</span>            if (l.isEmpty())<a name="line.1287"></a>
-<span class="sourceLineNo">1288</span>               return null;<a name="line.1288"></a>
-<span class="sourceLineNo">1289</span>            return l.toArray(new ClassMeta[l.size()]);<a name="line.1289"></a>
-<span class="sourceLineNo">1290</span>         }<a name="line.1290"></a>
-<span class="sourceLineNo">1291</span>      }<a name="line.1291"></a>
-<span class="sourceLineNo">1292</span><a name="line.1292"></a>
-<span class="sourceLineNo">1293</span>      return null;<a name="line.1293"></a>
-<span class="sourceLineNo">1294</span>   }<a name="line.1294"></a>
-<span class="sourceLineNo">1295</span><a name="line.1295"></a>
-<span class="sourceLineNo">1296</span>   /**<a name="line.1296"></a>
-<span class="sourceLineNo">1297</span>    * Shortcut for calling {@code getClassMeta(o.getClass())}.<a name="line.1297"></a>
-<span class="sourceLineNo">1298</span>    *<a name="line.1298"></a>
-<span class="sourceLineNo">1299</span>    * @param &lt;T&gt; The class of the object being passed in.<a name="line.1299"></a>
-<span class="sourceLineNo">1300</span>    * @param o The class to find the class type for.<a name="line.1300"></a>
-<span class="sourceLineNo">1301</span>    * @return The ClassMeta object, or &lt;jk&gt;null&lt;/jk&gt; if {@code o} is &lt;jk&gt;null&lt;/jk&gt;.<a name="line.1301"></a>
-<span class="sourceLineNo">1302</span>    */<a name="line.1302"></a>
-<span class="sourceLineNo">1303</span>   public final &lt;T&gt; ClassMeta&lt;T&gt; getClassMetaForObject(T o) {<a name="line.1303"></a>
-<span class="sourceLineNo">1304</span>      if (o == null)<a name="line.1304"></a>
-<span class="sourceLineNo">1305</span>         return null;<a name="line.1305"></a>
-<span class="sourceLineNo">1306</span>      return (ClassMeta&lt;T&gt;)getClassMeta(o.getClass());<a name="line.1306"></a>
-<span class="sourceLineNo">1307</span>   }<a name="line.1307"></a>
-<span class="sourceLineNo">1308</span><a name="line.1308"></a>
-<span class="sourceLineNo">1309</span><a name="line.1309"></a>
-<span class="sourceLineNo">1310</span>   /**<a name="line.1310"></a>
-<span class="sourceLineNo">1311</span>    * Used for determining the class type on a method or field where a {@code @BeanProperty} annotation<a name="line.1311"></a>
-<span class="sourceLineNo">1312</span>    *    may be present.<a name="line.1312"></a>
-<span class="sourceLineNo">1313</span>    *<a name="line.1313"></a>
-<span class="sourceLineNo">1314</span>    * @param &lt;T&gt; The class type we're wrapping.<a name="line.1314"></a>
-<span class="sourceLineNo">1315</span>    * @param p The property annotation on the type if there is one.<a name="line.1315"></a>
-<span class="sourceLineNo">1316</span>    * @param t The type.<a name="line.1316"></a>
-<span class="sourceLineNo">1317</span>    * @param typeVarImpls Contains known resolved type parameters on the specified class so<a name="line.1317"></a>
-<span class="sourceLineNo">1318</span>    *    that we can result {@code ParameterizedTypes} and {@code TypeVariables}.&lt;br&gt;<a name="line.1318"></a>
-<span class="sourceLineNo">1319</span>    * Can be &lt;jk&gt;null&lt;/jk&gt; if the information is not known.<a name="line.1319"></a>
-<span class="sourceLineNo">1320</span>    * @return The new {@code ClassMeta} object wrapped around the {@code Type} object.<a name="line.1320"></a>
-<span class="sourceLineNo">1321</span>    */<a name="line.1321"></a>
-<span class="sourceLineNo">1322</span>   protected final &lt;T&gt; ClassMeta&lt;T&gt; resolveClassMeta(BeanProperty p, Type t, Map&lt;Class&lt;?&gt;,Class&lt;?&gt;[]&gt; typeVarImpls) {<a name="line.1322"></a>
-<span class="sourceLineNo">1323</span>      ClassMeta&lt;T&gt; cm = resolveClassMeta(t, typeVarImpls);<a name="line.1323"></a>
-<span class="sourceLineNo">1324</span>      ClassMeta&lt;T&gt; cm2 = cm;<a name="line.1324"></a>
-<span class="sourceLineNo">1325</span>      if (p != null) {<a name="line.1325"></a>
-<span class="sourceLineNo">1326</span><a name="line.1326"></a>
-<span class="sourceLineNo">1327</span>         if (p.type() != Object.class)<a name="line.1327"></a>
-<span class="sourceLineNo">1328</span>            cm2 = resolveClassMeta(p.type(), typeVarImpls);<a name="line.1328"></a>
-<span class="sourceLineNo">1329</span><a name="line.1329"></a>
-<span class="sourceLineNo">1330</span>         if (cm2.isMap()) {<a name="line.1330"></a>
-<span class="sourceLineNo">1331</span>            Class&lt;?&gt;[] pParams = (p.params().length == 0 ? new Class[]{Object.class, Object.class} : p.params());<a name="line.1331"></a>
-<span class="sourceLineNo">1332</span>            if (pParams.length != 2)<a name="line.1332"></a>
-<span class="sourceLineNo">1333</span>               throw new RuntimeException("Invalid number of parameters specified for Map (must be 2): " + pParams.length);<a name="line.1333"></a>
-<span class="sourceLineNo">1334</span>            ClassMeta&lt;?&gt; keyType = resolveType(pParams[0], cm2.getKeyType(), cm.getKeyType());<a name="line.1334"></a>
-<span class="sourceLineNo">1335</span>            ClassMeta&lt;?&gt; valueType = resolveType(pParams[1], cm2.getValueType(), cm.getValueType());<a name="line.1335"></a>
-<span class="sourceLineNo">1336</span>            if (keyType.isObject() &amp;&amp; valueType.isObject())<a name="line.1336"></a>
-<span class="sourceLineNo">1337</span>               return cm2;<a name="line.1337"></a>
-<span class="sourceLineNo">1338</span>            return new ClassMeta&lt;T&gt;(cm2, keyType, valueType, null);<a name="line.1338"></a>
-<span class="sourceLineNo">1339</span>         }<a name="line.1339"></a>
-<span class="sourceLineNo">1340</span><a name="line.1340"></a>
-<span class="sourceLineNo">1341</span>         if (cm2.isCollection()) {<a name="line.1341"></a>
-<span class="sourceLineNo">1342</span>            Class&lt;?&gt;[] pParams = (p.params().length == 0 ? new Class[]{Object.class} : p.params());<a name="line.1342"></a>
-<span class="sourceLineNo">1343</span>            if (pParams.length != 1)<a name="line.1343"></a>
-<span class="sourceLineNo">1344</span>               throw new RuntimeException("Invalid number of parameters specified for Collection (must be 1): " + pParams.length);<a name="line.1344"></a>
-<span class="sourceLineNo">1345</span>            ClassMeta&lt;?&gt; elementType = resolveType(pParams[0], cm2.getElementType(), cm.getElementType());<a name="line.1345"></a>
-<span class="sourceLineNo">1346</span>            if (elementType.isObject())<a name="line.1346"></a>
-<span class="sourceLineNo">1347</span>               return cm2;<a name="line.1347"></a>
-<span class="sourceLineNo">1348</span>            return new ClassMeta&lt;T&gt;(cm2, null, null, elementType);<a name="line.1348"></a>
-<span class="sourceLineNo">1349</span>         }<a name="line.1349"></a>
-<span class="sourceLineNo">1350</span><a name="line.1350"></a>
-<span class="sourceLineNo">1351</span>         return cm2;<a name="line.1351"></a>
-<span class="sourceLineNo">1352</span>      }<a name="line.1352"></a>
-<span class="sourceLineNo">1353</span><a name="line.1353"></a>
-<span class="sourceLineNo">1354</span>      return cm;<a name="line.1354"></a>
-<span class="sourceLineNo">1355</span>   }<a name="line.1355"></a>
-<span class="sourceLineNo">1356</span><a name="line.1356"></a>
-<span class="sourceLineNo">1357</span>   private ClassMeta&lt;?&gt; resolveType(Type...t) {<a name="line.1357"></a>
-<span class="sourceLineNo">1358</span>      for (Type tt : t) {<a name="line.1358"></a>
-<span class="sourceLineNo">1359</span>         if (tt != null) {<a name="line.1359"></a>
-<span class="sourceLineNo">1360</span>            ClassMeta&lt;?&gt; cm = getClassMeta(tt);<a name="line.1360"></a>
-<span class="sourceLineNo">1361</span>            if (tt != cmObject)<a name="line.1361"></a>
-<span class="sourceLineNo">1362</span>               return cm;<a name="line.1362"></a>
-<span class="sourceLineNo">1363</span>         }<a name="line.1363"></a>
-<span class="sourceLineNo">1364</span>      }<a name="line.1364"></a>
-<span class="sourceL

<TRUNCATED>


Mime
View raw message