org.multijava.mjc
Class MjcSignatureParser
java.lang.Object
org.multijava.mjc.MjcSignatureParser
- All Implemented Interfaces:
- SignatureParser
- public class MjcSignatureParser
- extends Object
- implements SignatureParser
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
protected static final MjcSignatureParser instance
current
private int current
MjcSignatureParser
public MjcSignatureParser()
parseSignature
public final CType parseSignature(String signature)
- Parses a VM-standard type signature.
- Parameters:
signature - the type signature
- Returns:
- the type represented by the signature
parseSignature
protected CType parseSignature(String signature,
int from,
int to)
- Parses a VM-standard type signature within a signature string.
- Parameters:
signature - the type signaturefrom - the start indexto - the end index
- Returns:
- the type represented by the signature
parseGenericTypeSignature
protected CType parseGenericTypeSignature(String signature,
char[] sig)
parseTypeArgumentSignature
protected CClassType[] parseTypeArgumentSignature(String signature,
char[] sig)
parseTypeParameter
protected CTypeVariable[] parseTypeParameter(String signature,
char[] sig)
parseClassSignature
public SignatureParser.ClassSignature parseClassSignature(String signature)
- Returns an object representing the types the signature of a class
- Specified by:
parseClassSignature in interface SignatureParser
getInstance
public static MjcSignatureParser getInstance()
JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.