public static class Descriptor.Iterator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
curPos |
private java.lang.String |
desc |
private int |
index |
private boolean |
param |
Constructor and Description |
---|
Iterator(java.lang.String s)
Constructs an iterator.
|
Modifier and Type | Method and Description |
---|---|
char |
currentChar()
Returns the first character of the current element.
|
boolean |
hasNext()
Returns true if the iteration has more elements.
|
boolean |
is2byte()
Returns true if the current element is double or long type.
|
boolean |
isParameter()
Returns true if the current element is a parameter type.
|
int |
next()
Returns the position of the next type character.
|
private java.lang.String desc
private int index
private int curPos
private boolean param
public Iterator(java.lang.String s)
s
- descriptor.public boolean hasNext()
public boolean isParameter()
public char currentChar()
public boolean is2byte()
public int next()