http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/b852a3e8/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html b/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html index e6f4455..574f882 100644 --- a/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html +++ b/content/site/apidocs/org/apache/juneau/internal/ClassUtils.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9}; +var methods = {"i0":9,"i1":9,"i2":9,"i3":9,"i4":9,"i5":9,"i6":9,"i7":9,"i8":9,"i9":9,"i10":9,"i11":9,"i12":9,"i13":9,"i14":9,"i15":9,"i16":9,"i17":9,"i18":9,"i19":9,"i20":9,"i21":9,"i22":9,"i23":9,"i24":9,"i25":9,"i26":9,"i27":9,"i28":9}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -108,7 +108,7 @@ var activeTableTab = "activeTableTab"; <li class="blockList"> <hr> <br> -<pre>public final class <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.24">ClassUtils</a> +<pre>public final class <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.25">ClassUtils</a> extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> <div class="block">Class-related utility methods.</div> </li> @@ -217,91 +217,98 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </td> </tr> <tr id="i6" class="altColor"> +<td class="colFirst"><code>static <T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>><br>T</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getMethodAnnotation-java.lang.Class-java.lang.reflect.Method-">getMethodAnnotation</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> a, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code> +<div class="block">Returns the specified annotation on the specified method.</div> +</td> +</tr> +<tr id="i7" class="rowColor"> <td class="colFirst"><code>static <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal">ClassUtils.MethodInfo</a>[]</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getMethodInfo-java.util.Collection-">getMethodInfo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>> m)</code> <div class="block">Returns <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal"><code>ClassUtils.MethodInfo</code></a> beans that describe the specified methods.</div> </td> </tr> -<tr id="i7" class="rowColor"> +<tr id="i8" class="altColor"> <td class="colFirst"><code>static <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal">ClassUtils.MethodInfo</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getMethodInfo-java.lang.reflect.Method-">getMethodInfo</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code> <div class="block">Returns a <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal"><code>ClassUtils.MethodInfo</code></a> bean that describes the specified method.</div> </td> </tr> -<tr id="i8" class="altColor"> +<tr id="i9" class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getMethodSignature-java.lang.reflect.Method-">getMethodSignature</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code> <div class="block">Returns the signature of the specified method.</div> </td> </tr> -<tr id="i9" class="rowColor"> +<tr id="i10" class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getPrimitiveForWrapper-java.lang.Class-">getPrimitiveForWrapper</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">If the specified class is a primitive wrapper (e.g.</div> </td> </tr> -<tr id="i10" class="altColor"> +<tr id="i11" class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getPrimitiveWrapper-java.lang.Class-">getPrimitiveWrapper</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">If the specified class is a primitive (e.g.</div> </td> </tr> -<tr id="i11" class="rowColor"> +<tr id="i12" class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getReadableClassName-java.lang.Class-">getReadableClassName</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">Shortcut for calling <code><jsm>getReadableClassName</jsm>(c.getName())</code></div> </td> </tr> -<tr id="i12" class="altColor"> +<tr id="i13" class="rowColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getReadableClassName-java.lang.String-">getReadableClassName</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> className)</code> <div class="block">Converts the specified class name to a readable form when class name is a special construct like <js>"[[Z"</js>.</div> </td> </tr> -<tr id="i13" class="rowColor"> +<tr id="i14" class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getReadableClassNameForObject-java.lang.Object-">getReadableClassNameForObject</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</code> <div class="block">Shortcut for calling <code><jsm>getReadableClassName</jsm>(c.getClass().getName())</code></div> </td> </tr> -<tr id="i14" class="altColor"> +<tr id="i15" class="rowColor"> <td class="colFirst"><code>static <a href="../../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getReadableClassNames-java.lang.Object:A-">getReadableClassNames</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] o)</code> <div class="block">Given the specified list of objects, return readable names for the class types of the objects.</div> </td> </tr> -<tr id="i15" class="rowColor"> +<tr id="i16" class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#getWrapperIfPrimitive-java.lang.Class-">getWrapperIfPrimitive</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">If the specified class is a primitive (e.g.</div> </td> </tr> -<tr id="i16" class="altColor"> +<tr id="i17" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isNotDeprecated-java.lang.Class-">isNotDeprecated</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">Returns <jk>true</jk> if the specified class has the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang"><code>@Deprecated</code></a> annotation on it.</div> </td> </tr> -<tr id="i17" class="rowColor"> +<tr id="i18" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isNotDeprecated-java.lang.reflect.Constructor-">isNotDeprecated</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> c)</code> <div class="block">Returns <jk>true</jk> if the specified constructor has the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang"><code>@Deprecated</code></a> annotation on it.</div> </td> </tr> -<tr id="i18" class="altColor"> +<tr id="i19" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isNotDeprecated-java.lang.reflect.Method-">isNotDeprecated</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code> <div class="block">Returns <jk>true</jk> if the specified method has the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang"><code>@Deprecated</code></a> annotation on it.</div> </td> </tr> -<tr id="i19" class="rowColor"> +<tr id="i20" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isParentClass-java.lang.Class-java.lang.Class-">isParentClass</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> parent, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> child)</code> <div class="block">Returns <jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.</div> </td> </tr> -<tr id="i20" class="altColor"> +<tr id="i21" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isParentClass-java.lang.Class-java.lang.Class-boolean-">isParentClass</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> parent, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> child, @@ -309,44 +316,44 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <div class="block">Returns <jk>true</jk> if <code>parent</code> is a parent class of <code>child</code>.</div> </td> </tr> -<tr id="i21" class="rowColor"> +<tr id="i22" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isParentClass-java.lang.Class-java.lang.reflect.Type-">isParentClass</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> parent, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> child)</code> <div class="block">Returns <jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.</div> </td> </tr> -<tr id="i22" class="altColor"> +<tr id="i23" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isPublic-java.lang.Class-">isPublic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">Returns <jk>true</jk> if the specified class is public.</div> </td> </tr> -<tr id="i23" class="rowColor"> +<tr id="i24" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isPublic-java.lang.reflect.Constructor-">isPublic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> c)</code> <div class="block">Returns <jk>true</jk> if the specified constructor is public.</div> </td> </tr> -<tr id="i24" class="altColor"> +<tr id="i25" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isPublic-java.lang.reflect.Method-">isPublic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code> <div class="block">Returns <jk>true</jk> if the specified method is public.</div> </td> </tr> -<tr id="i25" class="rowColor"> +<tr id="i26" class="altColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isStatic-java.lang.Class-">isStatic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</code> <div class="block">Returns <jk>true</jk> if the specified class is public.</div> </td> </tr> -<tr id="i26" class="altColor"> +<tr id="i27" class="rowColor"> <td class="colFirst"><code>static boolean</code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#isStatic-java.lang.reflect.Method-">isStatic</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</code> <div class="block">Returns <jk>true</jk> if the specified method is static.</div> </td> </tr> -<tr id="i27" class="rowColor"> +<tr id="i28" class="altColor"> <td class="colFirst"><code>static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?></code></td> <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/apache/juneau/internal/ClassUtils.html#resolveParameterType-java.lang.Class-int-java.lang.Class-">resolveParameterType</a></span>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c, int index, @@ -382,7 +389,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>ClassUtils</h4> -<pre>public <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.24">ClassUtils</a>()</pre> +<pre>public <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.25">ClassUtils</a>()</pre> </li> </ul> </li> @@ -399,7 +406,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getReadableClassNames</h4> -<pre>public static <a href="../../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.32">getReadableClassNames</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] o)</pre> +<pre>public static <a href="../../../../org/apache/juneau/ObjectList.html" title="class in org.apache.juneau">ObjectList</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.33">getReadableClassNames</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>[] o)</pre> <div class="block">Given the specified list of objects, return readable names for the class types of the objects.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -415,7 +422,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getReadableClassName</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.45">getReadableClassName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.46">getReadableClassName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> <div class="block">Shortcut for calling <code><jsm>getReadableClassName</jsm>(c.getName())</code></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -431,7 +438,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getReadableClassNameForObject</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.57">getReadableClassNameForObject</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.58">getReadableClassNameForObject</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a> o)</pre> <div class="block">Shortcut for calling <code><jsm>getReadableClassName</jsm>(c.getClass().getName())</code></div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -447,7 +454,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getReadableClassName</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.79">getReadableClassName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> className)</pre> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.80">getReadableClassName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> className)</pre> <div class="block">Converts the specified class name to a readable form when class name is a special construct like <js>"[[Z"</js>. <h5 class='section'>Example:</h5> @@ -473,7 +480,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getClassFromReadableName</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.120">getClassFromReadableName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> cl, +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.121">getClassFromReadableName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassLoader.html?is-external=true" title="class or interface in java.lang">ClassLoader</a> cl, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name) throws <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/ClassNotFoundException.html?is-external=true" title="class or interface in java.lang">ClassNotFoundException</a></pre> <div class="block">Converts the string generated by <a href="../../../../org/apache/juneau/internal/ClassUtils.html#getReadableClassName-java.lang.Class-"><code>getReadableClassName(Class)</code></a> back into a <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang"><code>Class</code></a>. @@ -496,7 +503,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>isParentClass</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.132">isParentClass</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> parent, +<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.133">isParentClass</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> parent, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> child, boolean strict)</pre> <div class="block">Returns <jk>true</jk> if <code>parent</code> is a parent class of <code>child</code>.</div> @@ -516,7 +523,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>isParentClass</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.143">isParentClass</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> parent, +<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.144">isParentClass</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> parent, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> child)</pre> <div class="block">Returns <jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.</div> <dl> @@ -534,7 +541,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>isParentClass</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.154">isParentClass</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> parent, +<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.155">isParentClass</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> parent, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Type.html?is-external=true" title="class or interface in java.lang.reflect">Type</a> child)</pre> <div class="block">Returns <jk>true</jk> if <code>parent</code> is a parent class or the same as <code>child</code>.</div> <dl> @@ -552,7 +559,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getMethodSignature</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.181">getMethodSignature</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.182">getMethodSignature</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> <div class="block">Returns the signature of the specified method. For no-arg methods, the signature will be a simple string such as <js>"toString"</js>. For methods with one or more args, the arguments will be fully-qualified class names (e.g. <js>"append(java.util.StringBuilder,boolean)"</js>)</div> @@ -570,7 +577,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getPrimitiveWrapper</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.223">getPrimitiveWrapper</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.224">getPrimitiveWrapper</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> <div class="block">If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>) returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).</div> <dl> @@ -587,7 +594,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getPrimitiveForWrapper</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.234">getPrimitiveForWrapper</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.235">getPrimitiveForWrapper</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> <div class="block">If the specified class is a primitive wrapper (e.g. <code><jk>Integer</jk>.<jk>class</jk></code>) returns it's primitive class (e.g. <code>int.<jk>class</jk></code>).</div> <dl> @@ -604,7 +611,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getWrapperIfPrimitive</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.245">getWrapperIfPrimitive</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.246">getWrapperIfPrimitive</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> <div class="block">If the specified class is a primitive (e.g. <code><jk>int</jk>.<jk>class</jk></code>) returns it's wrapper class (e.g. <code>Integer.<jk>class</jk></code>).</div> <dl> @@ -621,7 +628,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>isNotDeprecated</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.257">isNotDeprecated</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.258">isNotDeprecated</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> <div class="block">Returns <jk>true</jk> if the specified class has the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang"><code>@Deprecated</code></a> annotation on it.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -637,7 +644,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>isNotDeprecated</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.267">isNotDeprecated</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.268">isNotDeprecated</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> <div class="block">Returns <jk>true</jk> if the specified method has the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang"><code>@Deprecated</code></a> annotation on it.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -653,7 +660,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>isNotDeprecated</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.278">isNotDeprecated</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> c)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.279">isNotDeprecated</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> c)</pre> <div class="block">Returns <jk>true</jk> if the specified constructor has the <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Deprecated.html?is-external=true" title="class or interface in java.lang"><code>@Deprecated</code></a> annotation on it.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -669,7 +676,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>isPublic</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.288">isPublic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.289">isPublic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> <div class="block">Returns <jk>true</jk> if the specified class is public.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -685,7 +692,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>isStatic</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.298">isStatic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.299">isStatic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c)</pre> <div class="block">Returns <jk>true</jk> if the specified class is public.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -701,7 +708,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>isPublic</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.308">isPublic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.309">isPublic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> <div class="block">Returns <jk>true</jk> if the specified method is public.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -717,7 +724,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>isStatic</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.318">isStatic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.319">isStatic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> <div class="block">Returns <jk>true</jk> if the specified method is static.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -733,7 +740,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>isPublic</h4> -<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.328">isPublic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> c)</pre> +<pre>public static boolean <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.329">isPublic</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><?> c)</pre> <div class="block">Returns <jk>true</jk> if the specified constructor is public.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -743,13 +750,38 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? </dl> </li> </ul> +<a name="getMethodAnnotation-java.lang.Class-java.lang.reflect.Method-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getMethodAnnotation</h4> +<pre>public static <T extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Annotation.html?is-external=true" title="class or interface in java.lang.annotation">Annotation</a>> T <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.347">getMethodAnnotation</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> a, + <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> +<div class="block">Returns the specified annotation on the specified method. + <p> + Similar to <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true#getAnnotation-java.lang.Class-" title="class or interface in java.lang.reflect"><code>Method.getAnnotation(Class)</code></a>, but searches up the parent hierarchy for the annotation + defined on parent classes and interfaces. + <p> + Normally, annotations defined on methods of parent classes and interfaces are not inherited by the child + methods. + This utility method gets around that limitation by searching the class hierarchy for the "same" method.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>a</code> - The annotation to search for.</dd> +<dd><code>m</code> - The method to search.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>The annotation, or <jk>null</jk> if it wasn't found.</dd> +</dl> +</li> +</ul> <a name="findNoArgConstructor-java.lang.Class-org.apache.juneau.Visibility-"> <!-- --> </a> <ul class="blockList"> <li class="blockList"> <h4>findNoArgConstructor</h4> -<pre>public static final <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.344">findNoArgConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, +<pre>public static final <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.388">findNoArgConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, <a href="../../../../org/apache/juneau/Visibility.html" title="enum in org.apache.juneau">Visibility</a> v)</pre> <div class="block">Locates the no-arg constructor for the specified class. Constructor must match the visibility requirements specified by parameter 'v'. @@ -770,7 +802,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>resolveParameterType</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.365">resolveParameterType</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c, +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.409">resolveParameterType</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c, int index, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> oc)</pre> <div class="block">Finds the real parameter type of the specified class.</div> @@ -790,7 +822,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>findPublicMethod</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.455">findPublicMethod</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c, +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.499">findPublicMethod</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> c, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?> returnType, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... parameterTypes)</pre> @@ -816,7 +848,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>findPublicConstructor</h4> -<pre>public static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.487">findPublicConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, +<pre>public static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.531">findPublicConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>... parameterTypes)</pre> <div class="block">Finds a public constructor with the specified parameters without throwing an exception.</div> <dl> @@ -835,7 +867,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>findPublicConstructor</h4> -<pre>public static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.515">findPublicConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, +<pre>public static <T> <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Constructor.html?is-external=true" title="class or interface in java.lang.reflect">Constructor</a><T> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.559">findPublicConstructor</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><T> c, <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre> <div class="block">Finds the public constructor that can take in the specified arguments.</div> <dl> @@ -854,7 +886,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getClasses</h4> -<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.525">getClasses</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre> +<pre>public static <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Class.html?is-external=true" title="class or interface in java.lang">Class</a><?>[] <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.569">getClasses</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a>... args)</pre> <div class="block">Returns the class types for the specified arguments.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -870,7 +902,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockList"> <li class="blockList"> <h4>getMethodInfo</h4> -<pre>public static <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal">ClassUtils.MethodInfo</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.646">getMethodInfo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> +<pre>public static <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal">ClassUtils.MethodInfo</a> <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.690">getMethodInfo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a> m)</pre> <div class="block">Returns a <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal"><code>ClassUtils.MethodInfo</code></a> bean that describes the specified method.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt> @@ -886,7 +918,7 @@ extends <a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Object.html? <ul class="blockListLast"> <li class="blockList"> <h4>getMethodInfo</h4> -<pre>public static <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal">ClassUtils.MethodInfo</a>[] <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.655">getMethodInfo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>> m)</pre> +<pre>public static <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal">ClassUtils.MethodInfo</a>[] <a href="../../../../src-html/org/apache/juneau/internal/ClassUtils.html#line.699">getMethodInfo</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</a><<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/reflect/Method.html?is-external=true" title="class or interface in java.lang.reflect">Method</a>> m)</pre> <div class="block">Returns <a href="../../../../org/apache/juneau/internal/ClassUtils.MethodInfo.html" title="class in org.apache.juneau.internal"><code>ClassUtils.MethodInfo</code></a> beans that describe the specified methods.</div> <dl> <dt><span class="paramLabel">Parameters:</span></dt>
http://git-wip-us.apache.org/repos/asf/incubator-juneau-website/blob/b852a3e8/content/site/apidocs/org/apache/juneau/internal/DelegateMap.html ---------------------------------------------------------------------- diff --git a/content/site/apidocs/org/apache/juneau/internal/DelegateMap.html b/content/site/apidocs/org/apache/juneau/internal/DelegateMap.html index f35a735..df71245 100644 --- a/content/site/apidocs/org/apache/juneau/internal/DelegateMap.html +++ b/content/site/apidocs/org/apache/juneau/internal/DelegateMap.html @@ -230,7 +230,7 @@ implements <a href="../../../../org/apache/juneau/Delegate.html" title="interfac <!-- --> </a> <h3>Methods inherited from class org.apache.juneau.<a href="../../../../org/apache/juneau/ObjectMap.html" title="class in org.apache.juneau">ObjectMap</a></h3> -<code><a href="../../../../org/apache/juneau/ObjectMap.html#append-java.lang.String-java.lang.Object-">append</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#appendAll-java.util.Map-">appendAll</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#cast-java.lang.Class-">cast</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#cast-org.apache.juneau.ClassMeta-">cast</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#containsKey-java.lang.Object-">containsKey</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#containsOuterKey-java.lang.Object-">containsOuterKey</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#deleteAt-java.lang.String-">deleteAt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#entrySet--">entrySet</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#exclude-java.lang.String...-">exclude</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#find-java.lang.Class-java.lang.String...-">find</a>, <a href ="../../../../org/apache/juneau/ObjectMap.html#find-java.lang.String...-">find</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findBoolean-java.lang.String...-">findBoolean</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findInt-java.lang.String...-">findInt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findKeyIgnoreCase-java.lang.String-">findKeyIgnoreCase</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findList-java.lang.String...-">findList</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findLong-java.lang.String...-">findLong</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findMap-java.lang.String...-">findMap</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findObjectList-java.lang.String...-">findObjectList</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findObjectMap-java.lang.String...-">findObjectMap</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findString-java.lang.String. ..-">findString</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-java.lang.Class-java.lang.String-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-java.lang.Class-java.lang.String-T-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-org.apache.juneau.ClassMeta-java.lang.String-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-org.apache.juneau.ClassMeta-java.lang.String-T-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-java.lang.Object-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-org.apache.juneau.transform.PojoSwap-java.lang.String-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-java.lang.String-java.lang.Object-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getAt-java.lang.Class-java.lang.String-">getAt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getBeanSession--">getBeanSession</a>, <a href="../../../../org/apach e/juneau/ObjectMap.html#getBoolean-java.lang.String-">getBoolean</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getBoolean-java.lang.String-java.lang.Boolean-">getBoolean</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getClassMeta-java.lang.String-">getClassMeta</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getFirstKey--">getFirstKey</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getInner--">getInner</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getInt-java.lang.String-">getInt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getInt-java.lang.String-java.lang.Integer-">getInt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getList-java.lang.String-">getList</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getList-java.lang.String-java.util.List-">getList</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getLong-java.lang.String-">getLong</a>, <a href="../../../../org/apache/juneau/O bjectMap.html#getLong-java.lang.String-java.lang.Long-">getLong</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getMap-java.lang.String-">getMap</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getMap-java.lang.String-java.util.Map-">getMap</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getObjectList-java.lang.String-">getObjectList</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getObjectList-java.lang.String-org.apache.juneau.ObjectList-">getObjectList</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getObjectMap-java.lang.String-">getObjectMap</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getObjectMap-java.lang.String-org.apache.juneau.ObjectMap-">getObjectMap</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getString-java.lang.String-">getString</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getString-java.lang.String-java.lang.String-">getString</a>, <a href="../../../../org/apache/juneau/O bjectMap.html#getStringArray-java.lang.String-">getStringArray</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getStringArray-java.lang.String-java.lang.String:A-">getStringArray</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#include-java.lang.String...-">include</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#keySet--">keySet</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#postAt-java.lang.String-java.lang.Object-">postAt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#putAt-java.lang.String-java.lang.Object-">putAt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#putIfEmpty-java.lang.String-java.lang.Object-">putIfEmpty</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#putIfNull-java.lang.String-java.lang.Object-">putIfNull</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#putJson-java.lang.String-java.lang.String-">putJson</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#remove-java.lang .Class-java.lang.String-T-">remove</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#removeAll-java.util.Collection-">removeAll</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#removeAll-java.lang.String...-">removeAll</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#serializeTo-java.io.Writer-">serializeTo</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#setBeanSession-org.apache.juneau.BeanSession-">setBeanSession</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#setInner-org.apache.juneau.ObjectMap-">setInner</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#toString--">toString</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#toString-org.apache.juneau.serializer.WriterSerializer-">toString</a></code></li> +<code><a href="../../../../org/apache/juneau/ObjectMap.html#append-java.lang.String-java.lang.Object-">append</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#appendAll-java.util.Map-">appendAll</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#cast-java.lang.Class-">cast</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#cast-org.apache.juneau.ClassMeta-">cast</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#containsKey-java.lang.Object-">containsKey</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#containsOuterKey-java.lang.Object-">containsOuterKey</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#deleteAt-java.lang.String-">deleteAt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#entrySet--">entrySet</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#exclude-java.lang.String...-">exclude</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#find-java.lang.Class-java.lang.String...-">find</a>, <a href ="../../../../org/apache/juneau/ObjectMap.html#find-java.lang.String...-">find</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findBoolean-java.lang.String...-">findBoolean</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findInt-java.lang.String...-">findInt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findKeyIgnoreCase-java.lang.String-">findKeyIgnoreCase</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findList-java.lang.String...-">findList</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findLong-java.lang.String...-">findLong</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findMap-java.lang.String...-">findMap</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findObjectList-java.lang.String...-">findObjectList</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findObjectMap-java.lang.String...-">findObjectMap</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#findString-java.lang.String. ..-">findString</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-java.lang.Class-java.lang.String-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-java.lang.Class-java.lang.String-T-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-org.apache.juneau.ClassMeta-java.lang.String-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-org.apache.juneau.ClassMeta-java.lang.String-T-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-java.lang.Object-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-org.apache.juneau.transform.PojoSwap-java.lang.String-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#get-java.lang.String-java.lang.Object-">get</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getAt-java.lang.Class-java.lang.String-">getAt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getBeanSession--">getBeanSession</a>, <a href="../../../../org/apach e/juneau/ObjectMap.html#getBoolean-java.lang.String-">getBoolean</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getBoolean-java.lang.String-java.lang.Boolean-">getBoolean</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getClassMeta-java.lang.String-">getClassMeta</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getFirstKey--">getFirstKey</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getInt-java.lang.String-">getInt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getInt-java.lang.String-java.lang.Integer-">getInt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getList-java.lang.String-">getList</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getList-java.lang.String-java.util.List-">getList</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getLong-java.lang.String-">getLong</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getLong-java.lang.String-java.lang.Long-">getLong</a>, <a href=".. /../../../org/apache/juneau/ObjectMap.html#getMap-java.lang.String-">getMap</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getMap-java.lang.String-java.util.Map-">getMap</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getObjectList-java.lang.String-">getObjectList</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getObjectList-java.lang.String-org.apache.juneau.ObjectList-">getObjectList</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getObjectMap-java.lang.String-">getObjectMap</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getObjectMap-java.lang.String-org.apache.juneau.ObjectMap-">getObjectMap</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getString-java.lang.String-">getString</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getString-java.lang.String-java.lang.String-">getString</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#getStringArray-java.lang.String-">getStringArray</a>, <a href="../ ../../../org/apache/juneau/ObjectMap.html#getStringArray-java.lang.String-java.lang.String:A-">getStringArray</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#include-java.lang.String...-">include</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#keySet--">keySet</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#postAt-java.lang.String-java.lang.Object-">postAt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#putAt-java.lang.String-java.lang.Object-">putAt</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#putIfEmpty-java.lang.String-java.lang.Object-">putIfEmpty</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#putIfNull-java.lang.String-java.lang.Object-">putIfNull</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#putJson-java.lang.String-java.lang.String-">putJson</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#remove-java.lang.Class-java.lang.String-T-">remove</a>, <a href="../../../../org/apache/juneau/O bjectMap.html#removeAll-java.util.Collection-">removeAll</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#removeAll-java.lang.String...-">removeAll</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#serializeTo-java.io.Writer-">serializeTo</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#setBeanSession-org.apache.juneau.BeanSession-">setBeanSession</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#setInner-java.util.Map-">setInner</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#toString--">toString</a>, <a href="../../../../org/apache/juneau/ObjectMap.html#toString-org.apache.juneau.serializer.WriterSerializer-">toString</a></code></li> </ul> <ul class="blockList"> <li class="blockList"><a name="methods.inherited.from.class.java.util.LinkedHashMap">
