public final class SegmentUtils extends Object
Constructor and Description |
---|
SegmentUtils() |
Modifier and Type | Method and Description |
---|---|
static int |
countArgs(String descriptor) |
protected static int |
countArgs(String descriptor,
int widthOfLongsAndDoubles)
Count the number of arguments in the descriptor.
|
static int |
countBit16(int[] flags) |
static int |
countBit16(long[] flags) |
static int |
countBit16(long[][] flags) |
static int |
countInvokeInterfaceArgs(String descriptor) |
static int |
countMatches(long[][] flags,
IMatcher matcher) |
static int |
countMatches(long[] flags,
IMatcher matcher) |
public SegmentUtils()
public static int countInvokeInterfaceArgs(String descriptor)
protected static int countArgs(String descriptor, int widthOfLongsAndDoubles)
descriptor
- String for which arguments are countedwidthOfLongsAndDoubles
- int increment to apply for longs doubles. This is typically 1 when counting
arguments alone, or 2 when counting arguments for invokeinterface.public static int countMatches(long[] flags, IMatcher matcher)
public static int countBit16(int[] flags)
public static int countBit16(long[] flags)
public static int countBit16(long[][] flags)
public static int countMatches(long[][] flags, IMatcher matcher)
Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.