javassist.bytecode
Class Descriptor.Iterator
public static
class
Descriptor.Iterator
extends Object
An Iterator over a descriptor.
Method Summary |
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.
|
public Iterator(String s)
Constructs an iterator.
Parameters: s descriptor.
public char currentChar()
Returns the first character of the current element.
public boolean hasNext()
Returns true if the iteration has more elements.
public boolean is2byte()
Returns true if the current element is double or long type.
public boolean isParameter()
Returns true if the current element is a parameter type.
public int next()
Returns the position of the next type character.
That type character becomes a new current element.
Javassist, a Java-bytecode translator toolkit.
Copyright (C) 1999-2006 Shigeru Chiba. All Rights Reserved.