public class DescriptorClassEnumeration extends Object
DescriptorClassEnumeration provides an enumeration of all
classes mentioned in a given descriptor or signature.| Constructor and Description |
|---|
DescriptorClassEnumeration(String descriptor)
Creates a new DescriptorClassEnumeration for the given descriptor.
|
| Modifier and Type | Method and Description |
|---|---|
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(String[] args)
A main method for testing the class name enumeration.
|
String |
nextClassName()
Returns the next class name from the descriptor.
|
String |
nextFluff()
Returns the next fluff (surrounding class names) from the descriptor.
|
public DescriptorClassEnumeration(String descriptor)
public int classCount()
public boolean hasMoreClassNames()
public String nextFluff()
public String nextClassName()
public boolean isInnerClassName()
public static void main(String[] args)
Copyright © 2015. All Rights Reserved.