|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.classfile.util.DescriptorClassEnumeration
public class DescriptorClassEnumeration
A DescriptorClassEnumeration provides an enumeration of all
classes mentioned in a given descriptor or signature.
| Constructor Summary | |
|---|---|
DescriptorClassEnumeration(java.lang.String descriptor)
Creates a new DescriptorClassEnumeration for the given descriptor. |
|
| Method Summary | |
|---|---|
int |
classCount()
Returns the number of classes contained in the descriptor. |
boolean |
hasMoreClassNames()
Returns whether the enumeration can provide more class names from the descriptor. |
boolean |
isInnerClassName()
Returns whether the most recently returned class name was a recomposed inner class name from a signature. |
static void |
main(java.lang.String[] args)
A main method for testing the class name enumeration. |
java.lang.String |
nextClassName()
Returns the next class name from the descriptor. |
java.lang.String |
nextFluff()
Returns the next fluff (surrounding class names) from the descriptor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DescriptorClassEnumeration(java.lang.String descriptor)
| Method Detail |
|---|
public int classCount()
public boolean hasMoreClassNames()
public java.lang.String nextFluff()
public java.lang.String nextClassName()
public boolean isInnerClassName()
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||