src/share/classes/jdk/internal/org/objectweb/asm/Type.java
Print this page
@@ -410,12 +410,12 @@
*
* @param desc the descriptor of a method.
* @return the size of the arguments of the method (plus one for the
* implicit this argument), argSize, and the size of its return
* value, retSize, packed into a single int i =
- * <tt>(argSize << 2) | retSize</tt> (argSize is therefore equal
- * to <tt>i >> 2</tt>, and retSize to <tt>i & 0x03</tt>).
+ * <tt>(argSize {@literal <<} 2) | retSize</tt> (argSize is therefore equal
+ * to <tt>i {@literal >>} 2</tt>, and retSize to <tt>i {@literal &} 0x03</tt>).
*/
public static int getArgumentsAndReturnSizes(final String desc) {
int n = 1;
int c = 1;
while (true) {
@@ -613,13 +613,13 @@
* Returns the size of the arguments and of the return value of methods of
* this type. This method should only be used for method types.
*
* @return the size of the arguments (plus one for the implicit this
* argument), argSize, and the size of the return value, retSize,
- * packed into a single int i = <tt>(argSize << 2) | retSize</tt>
- * (argSize is therefore equal to <tt>i >> 2</tt>, and retSize to
- * <tt>i & 0x03</tt>).
+ * packed into a single int i = <tt>(argSize {@literal <<} 2) | retSize</tt>
+ * (argSize is therefore equal to <tt>i {@literal >>} 2</tt>, and retSize to
+ * <tt>i {@literal &} 0x03</tt>).
*/
public int getArgumentsAndReturnSizes() {
return getArgumentsAndReturnSizes(getDescriptor());
}