Top Description Inners Fields Constructors Methods
org.aspectj.weaver.bcel

public Class BcelGenericSignatureToTypeXConverter

extends Object
Class Inheritance
Imports
java.util.HashMap, .Map, org.aspectj.util.GenericSignature, .GenericSignature.SimpleClassTypeSignature, org.aspectj.weaver.BoundedReferenceType, .ReferenceType, .ResolvedType, .TypeFactory, .TypeVariable, .TypeVariableReferenceType, .UnresolvedType, .World, org.aspectj.weaver.tools.Trace, .TraceFactory

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

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class
public static class

Field Summary

Modifier and TypeField and Description
private static Trace

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static ResolvedType
private static ResolvedType
public static ResolvedType
private static ResolvedType
private static void
public static TypeVariable
private static TypeVariable
private static ResolvedType
public static ResolvedType
private static ResolvedType
private static ResolvedType
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

traceback to summary
private static Trace trace

Constructor Detail

BcelGenericSignatureToTypeXConverterback to summary
public BcelGenericSignatureToTypeXConverter()

Method Detail

classTypeSignature2TypeXback to summary
public static ResolvedType classTypeSignature2TypeX(GenericSignature.ClassTypeSignature aClassTypeSignature, GenericSignature.FormalTypeParameter[] typeParams, World world) throws GenericSignatureFormatException
classTypeSignature2TypeXback to summary
private static ResolvedType classTypeSignature2TypeX(GenericSignature.ClassTypeSignature aClassTypeSignature, GenericSignature.FormalTypeParameter[] typeParams, World world, Map<GenericSignature.FormalTypeParameter, ReferenceType> inProgressTypeVariableResolutions) throws GenericSignatureFormatException
fieldTypeSignature2TypeXback to summary
public static ResolvedType fieldTypeSignature2TypeX(GenericSignature.FieldTypeSignature aFieldTypeSignature, GenericSignature.FormalTypeParameter[] typeParams, World world) throws GenericSignatureFormatException
fieldTypeSignature2TypeXback to summary
private static ResolvedType fieldTypeSignature2TypeX(GenericSignature.FieldTypeSignature aFieldTypeSignature, GenericSignature.FormalTypeParameter[] typeParams, World world, Map<GenericSignature.FormalTypeParameter, ReferenceType> inProgressTypeVariableResolutions) throws GenericSignatureFormatException
fixUpCircularDependenciesback to summary
private static void fixUpCircularDependencies(ResolvedType aTypeX, Map<GenericSignature.FormalTypeParameter, ReferenceType> typeVariableResolutions)
formalTypeParameter2TypeVariableback to summary
public static TypeVariable formalTypeParameter2TypeVariable(GenericSignature.FormalTypeParameter aFormalTypeParameter, GenericSignature.FormalTypeParameter[] typeParams, World world) throws GenericSignatureFormatException
formalTypeParameter2TypeVariableback to summary
private static TypeVariable formalTypeParameter2TypeVariable(GenericSignature.FormalTypeParameter aFormalTypeParameter, GenericSignature.FormalTypeParameter[] typeParams, World world, Map<GenericSignature.FormalTypeParameter, ReferenceType> inProgressTypeVariableResolutions) throws GenericSignatureFormatException
typeArgument2TypeXback to summary
private static ResolvedType typeArgument2TypeX(GenericSignature.TypeArgument aTypeArgument, GenericSignature.FormalTypeParameter[] typeParams, World world, Map<GenericSignature.FormalTypeParameter, ReferenceType> inProgressTypeVariableResolutions) throws GenericSignatureFormatException
typeSignature2TypeXback to summary
public static ResolvedType typeSignature2TypeX(GenericSignature.TypeSignature aTypeSig, GenericSignature.FormalTypeParameter[] typeParams, World world) throws GenericSignatureFormatException
typeSignature2TypeXback to summary
private static ResolvedType typeSignature2TypeX(GenericSignature.TypeSignature aTypeSig, GenericSignature.FormalTypeParameter[] typeParams, World world, Map<GenericSignature.FormalTypeParameter, ReferenceType> inProgressTypeVariableResolutions) throws GenericSignatureFormatException
typeVariableSignature2TypeXback to summary
private static ResolvedType typeVariableSignature2TypeX(GenericSignature.TypeVariableSignature aTypeVarSig, GenericSignature.FormalTypeParameter[] typeParams, World world, Map<GenericSignature.FormalTypeParameter, ReferenceType> inProgressTypeVariableResolutions) throws GenericSignatureFormatException
org.aspectj.weaver.bcel back to summary

private Class BcelGenericSignatureToTypeXConverter.FTPHolder

extends ReferenceType
Class Inheritance

Field Summary

Modifier and TypeField and Description
public GenericSignature.FormalTypeParameter
Inherited from org.aspectj.weaver.ReferenceType:
EMPTY_ARRAY

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
public ResolvedType
resolve(World
the World within which to resolve.
world
)

Overrides org.aspectj.weaver.UnresolvedType.resolve.

Returns a resolved version of this type according to a particular world.
public String
toString()

Overrides org.aspectj.weaver.UnresolvedType.toString.

Returns a java language string representation of this type.
Inherited from org.aspectj.weaver.ReferenceType:
addAnnotationaddParentcanAnnotationTargetTypecheckDuplicatesdemoteToSimpleTypedoesNotExposeShadowMungersensureConsistentfindDerivativeTypefromTypeXgetAnnotationOfTypegetAnnotationsgetAnnotationTargetKindsgetAnnotationTypesgetCompilerVersiongetDeclaredFieldsgetDeclaredGenericSignaturegetDeclaredInterfacesgetDeclaredMethodsgetDeclaredPointcutsgetDeclaresgetDelegategetEndPosgetGenericSignaturegetGenericTypegetModifiersgetNameAsIdentifiergetOuterClassgetPerClausegetPrivilegedAccessesgetRetentionPolicygetSignatureForAttributegetSourceContextgetSourceLocationgetStartPosgetSuperclassgetTypeMungersgetTypeVariablesgetWeaverStatehasAnnotationhasAnnotationshasNewInterfacesisAnnotationisAnnotationStyleAspectisAnnotationWithRuntimeRetentionisAnonymousisAspectisAssignableFromisAssignableFromisClassisCoerceableFromisEnumisExposedToWeaverisGenericTypeisNestedsetDelegatesetEndPossetGenericTypesetStartPos

Field Detail

ftpToBeSubstitutedback to summary
public GenericSignature.FormalTypeParameter ftpToBeSubstituted

Constructor Detail

FTPHolderback to summary
public FTPHolder(GenericSignature.FormalTypeParameter ftp, World world)

Method Detail

isCacheableback to summary
public boolean isCacheable()

Overrides org.aspectj.weaver.ResolvedType.isCacheable.

resolveback to summary
public ResolvedType resolve(World world)

Overrides org.aspectj.weaver.UnresolvedType.resolve.

Doc from org.aspectj.weaver.UnresolvedType.resolve.

Returns a resolved version of this type according to a particular world.

Parameters
world:World

the World within which to resolve.

Returns:ResolvedType

a resolved type representing this type in the appropriate world.

toStringback to summary
public String toString()

Overrides org.aspectj.weaver.UnresolvedType.toString.

Doc from org.aspectj.weaver.UnresolvedType.toString.

Returns a java language string representation of this type.

Returns:String

Doc from java.lang.Object.toString.

a string representation of the object.

org.aspectj.weaver.bcel back to summary

public Class BcelGenericSignatureToTypeXConverter.GenericSignatureFormatException

extends Exception
Class Inheritance

Constructor Summary

AccessConstructor and Description
public

Constructor Detail

GenericSignatureFormatExceptionback to summary
public GenericSignatureFormatException(String explanation)