ProGuard

proguard.classfile.util
Class DescriptorClassEnumeration

java.lang.Object
  extended byproguard.classfile.util.DescriptorClassEnumeration

public class DescriptorClassEnumeration
extends Object

A DescriptorClassEnumeration provides an enumeration of all classes mentioned in a given descriptor string.

A DescriptorClassEnumeration object can be reused for processing different subsequent descriptors, by means of the setDescriptor method.


Constructor Summary
DescriptorClassEnumeration(String descriptor)
           
 
Method Summary
 int classCount()
          Returns the number of classes contained in the descriptor.
 boolean hasMoreClassNames()
           
 String nextClassName()
           
 String nextFluff()
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DescriptorClassEnumeration

public DescriptorClassEnumeration(String descriptor)
Method Detail

reset

public void reset()

classCount

public int classCount()
Returns the number of classes contained in the descriptor. This is the number of class names that the enumeration will return.


hasMoreClassNames

public boolean hasMoreClassNames()

nextFluff

public String nextFluff()

nextClassName

public String nextClassName()

ProGuard