|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectproguard.classfile.util.InternalTypeEnumeration
public class InternalTypeEnumeration
An InternalTypeEnumeration provides an enumeration of all
parameter types listed in a given internal method descriptor or signature.
The signature can also be a class signature. The return type of a method
descriptor can retrieved separately.
| Constructor Summary | |
|---|---|
InternalTypeEnumeration(java.lang.String descriptor)
Creates a new InternalTypeEnumeration for the given method descriptor. |
|
| Method Summary | |
|---|---|
java.lang.String |
formalTypeParameters()
Returns the formal type parameters from the descriptor, assuming it's a method descriptor. |
boolean |
hasMoreTypes()
Returns whether the enumeration can provide more types from the method descriptor. |
static void |
main(java.lang.String[] args)
A main method for testing the type enumeration. |
java.lang.String |
nextType()
Returns the next type from the method descriptor. |
java.lang.String |
returnType()
Returns the return type from the descriptor, assuming it's a method descriptor. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InternalTypeEnumeration(java.lang.String descriptor)
| Method Detail |
|---|
public java.lang.String formalTypeParameters()
public boolean hasMoreTypes()
public java.lang.String nextType()
public java.lang.String returnType()
public static void main(java.lang.String[] args)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||