org.aspectj.weaver.bcel
Class BcelGenericSignatureToTypeXConverter

java.lang.Object
  extended by org.aspectj.weaver.bcel.BcelGenericSignatureToTypeXConverter

public class BcelGenericSignatureToTypeXConverter
extends java.lang.Object

A utility class that assists in unpacking constituent parts of generic signature attributes and returning their equivalents in UnresolvedType world.


Nested Class Summary
static class BcelGenericSignatureToTypeXConverter.GenericSignatureFormatException
           
 
Constructor Summary
BcelGenericSignatureToTypeXConverter()
           
 
Method Summary
static ResolvedType classTypeSignature2TypeX(GenericSignature.ClassTypeSignature aClassTypeSignature, GenericSignature.FormalTypeParameter[] typeParams, World world)
           
static ResolvedType fieldTypeSignature2TypeX(GenericSignature.FieldTypeSignature aFieldTypeSignature, GenericSignature.FormalTypeParameter[] typeParams, World world)
           
static TypeVariable formalTypeParameter2TypeVariable(GenericSignature.FormalTypeParameter aFormalTypeParameter, GenericSignature.FormalTypeParameter[] typeParams, World world)
           
static ResolvedType typeSignature2TypeX(GenericSignature.TypeSignature aTypeSig, GenericSignature.FormalTypeParameter[] typeParams, World world)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BcelGenericSignatureToTypeXConverter

public BcelGenericSignatureToTypeXConverter()
Method Detail

classTypeSignature2TypeX

public static ResolvedType classTypeSignature2TypeX(GenericSignature.ClassTypeSignature aClassTypeSignature,
                                                    GenericSignature.FormalTypeParameter[] typeParams,
                                                    World world)
                                             throws BcelGenericSignatureToTypeXConverter.GenericSignatureFormatException
Throws:
BcelGenericSignatureToTypeXConverter.GenericSignatureFormatException

fieldTypeSignature2TypeX

public static ResolvedType fieldTypeSignature2TypeX(GenericSignature.FieldTypeSignature aFieldTypeSignature,
                                                    GenericSignature.FormalTypeParameter[] typeParams,
                                                    World world)
                                             throws BcelGenericSignatureToTypeXConverter.GenericSignatureFormatException
Throws:
BcelGenericSignatureToTypeXConverter.GenericSignatureFormatException

formalTypeParameter2TypeVariable

public static TypeVariable formalTypeParameter2TypeVariable(GenericSignature.FormalTypeParameter aFormalTypeParameter,
                                                            GenericSignature.FormalTypeParameter[] typeParams,
                                                            World world)
                                                     throws BcelGenericSignatureToTypeXConverter.GenericSignatureFormatException
Throws:
BcelGenericSignatureToTypeXConverter.GenericSignatureFormatException

typeSignature2TypeX

public static ResolvedType typeSignature2TypeX(GenericSignature.TypeSignature aTypeSig,
                                               GenericSignature.FormalTypeParameter[] typeParams,
                                               World world)
                                        throws BcelGenericSignatureToTypeXConverter.GenericSignatureFormatException
Throws:
BcelGenericSignatureToTypeXConverter.GenericSignatureFormatException