net.sf.rej.java.attribute.generics
Class SignatureParser
java.lang.Object
net.sf.rej.java.attribute.generics.SignatureParser
public class SignatureParser
- extends java.lang.Object
Utility class that performs parsing of signatures strings.
- Author:
- Sami Koivu
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SignatureParser
public SignatureParser(java.lang.String signature)
peekNextType
public net.sf.rej.java.attribute.generics.SignatureParser.ElementType peekNextType()
hasMore
public boolean hasMore()
getDimensionCount
public int getDimensionCount()
getGenericType
public GenericJavaType getGenericType()
getPrimitiveName
public static java.lang.String getPrimitiveName(char c)
getFirstIndex
public int getFirstIndex(java.lang.String... targets)
getTypeParameterIdentifier
public java.lang.String getTypeParameterIdentifier()
getFormalTypeParameters
public java.util.List<FormalTypeParameter> getFormalTypeParameters()
getMethodParameters
public java.util.List<GenericJavaType> getMethodParameters()