Uses of Class
org.aspectj.weaver.patterns.TypePattern
Packages that use TypePattern
Package
Description
-
Uses of TypePattern in org.aspectj.weaver
Fields in org.aspectj.weaver declared as TypePatternMethods in org.aspectj.weaver that return TypePatternMethods in org.aspectj.weaver with parameters of type TypePatternModifier and TypeMethodDescriptionstatic AdviceAdvice.makeSoftener(World world, Pointcut entry, TypePattern exceptionType, ResolvedType inAspect, IHasSourceLocation loc)Constructors in org.aspectj.weaver with parameters of type TypePatternModifierConstructorDescriptionFieldHostTypeMunger(ResolvedMember field, UnresolvedType aspect, TypePattern typePattern)Construct a new type munger for @AspectJ ITDMethodDelegateTypeMunger(ResolvedMember signature, UnresolvedType aspect, String implClassName, TypePattern typePattern)Construct a new type munger for @AspectJ ITDMethodDelegateTypeMunger(ResolvedMember signature, UnresolvedType aspect, String implClassName, TypePattern typePattern, String factoryMethodName, String factoryMethodSignature) -
Uses of TypePattern in org.aspectj.weaver.bcel
Methods in org.aspectj.weaver.bcel that return TypePattern -
Uses of TypePattern in org.aspectj.weaver.internal.tools
Constructors in org.aspectj.weaver.internal.tools with parameters of type TypePattern -
Uses of TypePattern in org.aspectj.weaver.patterns
Subclasses of TypePattern in org.aspectj.weaver.patternsModifier and TypeClassDescriptionclassleft && rightclassclassThis type represents a type pattern of '*' but with an annotation specified, e.g.classclassclassclassclasspr354470.class!TypePatternclassclassleft || rightclassA TypeCategoryTypePattern matches on the category of a type, one of class/interface/aspect/inner/anonymous/enum/annotation, and these are specified in the pointcut via isClass() isInterface() isAspect() isInner() isAnonymous() isEnum() isAnnotation().classThe PatternParser always creates WildTypePatterns for type patterns in pointcut expressions (apart from *, which is sometimes directly turned into TypePattern.ANY).Fields in org.aspectj.weaver.patterns declared as TypePatternModifier and TypeFieldDescriptionstatic TypePatternTypePattern.ANYprotected TypePatternDeclareParents.childstatic TypePatternTypePattern.ELLIPSISstatic TypePatternTypePattern.NOReferencePointcut.onTypeSymbolicMethods in org.aspectj.weaver.patterns that return TypePatternModifier and TypeMethodDescriptionTypePatternList.get(int index)WildTypePattern.getAdditionalIntefaceBounds()TypeVariablePattern.getAdditionalInterfaceBounds()DeclareParents.getChild()SignaturePattern.getDeclaringType()DeclareSoft.getException()AndTypePattern.getLeft()OrTypePattern.getLeft()TypeVariablePattern.getLowerBound()WildTypePattern.getLowerBound()NotTypePattern.getNegatedPattern()PerThisOrTargetPointcutVisitor.getPerTypePointcut(Pointcut perClausePointcut)TypeVariablePattern.getRawTypePattern()SignaturePattern.getReturnType()AndTypePattern.getRight()OrTypePattern.getRight()ThisOrTargetPointcut.getType()DeclareAnnotation.getTypePattern()DeclareTypeErrorOrWarning.getTypePattern()PerTypeWithin.getTypePattern()WildAnnotationTypePattern.getTypePattern()WithinPointcut.getTypePattern()TypePatternList.getTypePatterns()TypeVariablePattern.getUpperBound()WildTypePattern.getUpperBound()protected TypePatternTypePattern.notExactType(IScope s)AndTypePattern.parameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)AnyTypePattern.parameterizeWith(Map<String,UnresolvedType> arg0, World w)AnyWithAnnotationTypePattern.parameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)BindingTypePattern.parameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)EllipsisTypePattern.parameterizeWith(Map typeVariableMap, World w)ExactTypePattern.parameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)return a version of this type pattern with all type variables references replaced by the corresponding entry in the map.HasMemberTypePattern.parameterizeWith(Map typeVariableMap, World w)NotTypePattern.parameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)NoTypePattern.parameterizeWith(Map<String,UnresolvedType> arg0, World w)OrTypePattern.parameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)TypeCategoryTypePattern.parameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)abstract TypePatternTypePattern.parameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)return a version of this type pattern in which all type variable references have been replaced by their corresponding entry in the map.WildTypePattern.parameterizeWith(Map<String,UnresolvedType> typeVariableMap, World w)PatternParser.parseGenericsWildcardTypePattern()PatternParser.parseHasFieldTypePattern()PatternParser.parseHasMethodTypePattern()PatternParser.parseIsTypePattern()Attempt to parse a typeIs(<category>) construct.PatternParser.parseSingleTypePattern()PatternParser.parseSingleTypePattern(boolean insideTypeParameters)PatternParser.parseTypePattern()PatternParser.parseTypePattern(boolean insideTypeParameters, boolean parameterAnnotationsPossible)static TypePatternAndTypePattern.read(VersionedDataInputStream s, ISourceContext context)static TypePatternAnyWithAnnotationTypePattern.read(VersionedDataInputStream s, ISourceContext c)static TypePatternBindingTypePattern.read(VersionedDataInputStream s, ISourceContext context)static TypePatternExactTypePattern.read(VersionedDataInputStream s, ISourceContext context)static TypePatternHasMemberTypePattern.read(VersionedDataInputStream s, ISourceContext context)static TypePatternNotTypePattern.read(VersionedDataInputStream s, ISourceContext context)static TypePatternOrTypePattern.read(VersionedDataInputStream s, ISourceContext context)static TypePatternTypeCategoryTypePattern.read(VersionedDataInputStream s, ISourceContext context)static TypePatternTypePattern.read(VersionedDataInputStream s, ISourceContext context)static TypePatternWildTypePattern.read(VersionedDataInputStream s, ISourceContext context)static TypePatternExactTypePattern.readTypePattern150(VersionedDataInputStream s, ISourceContext context)static TypePatternWildTypePattern.readTypePattern150(VersionedDataInputStream s, ISourceContext context)static TypePatternExactTypePattern.readTypePatternOldStyle(DataInputStream s, ISourceContext context)static TypePatternWildTypePattern.readTypePatternOldStyle(VersionedDataInputStream s, ISourceContext context)BindingTypePattern.remapAdviceFormals(IntMap bindings)TypePattern.remapAdviceFormals(IntMap bindings)This is called during concretization of pointcuts, it is used by BindingTypePattern to return a new BindingTypePattern with a formal index appropiate for the advice, rather than for the lexical declaration, i.e.AndTypePattern.resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType)AnyWithAnnotationTypePattern.resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType)ExactTypePattern.resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType)HasMemberTypePattern.resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType)NotTypePattern.resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType)OrTypePattern.resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType)TypePattern.resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType)This can modify in place, or return a new TypePattern if the type changes.WildTypePattern.resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType)Need to determine if I'm really a pattern or a reference to a formal We may wish to further optimize the case of pattern vs.Methods in org.aspectj.weaver.patterns with parameters of type TypePatternModifier and TypeMethodDescriptionTypePatternQuestions.askQuestion(TypePattern pattern, ResolvedType type, TypePattern.MatchKind kind)protected booleanAndTypePattern.couldEverMatchSameTypesAs(TypePattern other)protected booleanAnyTypePattern.couldEverMatchSameTypesAs(TypePattern other)protected booleanAnyWithAnnotationTypePattern.couldEverMatchSameTypesAs(TypePattern other)protected booleanEllipsisTypePattern.couldEverMatchSameTypesAs(TypePattern other)protected booleanExactTypePattern.couldEverMatchSameTypesAs(TypePattern other)protected booleanNotTypePattern.couldEverMatchSameTypesAs(TypePattern other)protected booleanNoTypePattern.couldEverMatchSameTypesAs(TypePattern other)protected booleanOrTypePattern.couldEverMatchSameTypesAs(TypePattern other)protected booleanTypePattern.couldEverMatchSameTypesAs(TypePattern other)protected booleanWildTypePattern.couldEverMatchSameTypesAs(TypePattern other)booleanSignaturePattern.declaringTypeMatchAllowingForCovariance(Member member, UnresolvedType shadowDeclaringType, World world, TypePattern returnTypePattern, ResolvedType sigReturn)protected TestNameBindingPointcut.exposeStateForVar(Var var, TypePattern type, ExposedState state, World world)Constructors in org.aspectj.weaver.patterns with parameters of type TypePatternModifierConstructorDescriptionAndTypePattern(TypePattern left, TypePattern right)DeclareAnnotation(DeclareAnnotation.Kind kind, TypePattern typePattern)Constructor for declare atType.DeclareParents(TypePattern child, List<TypePattern> parents, boolean isExtends)protectedDeclareParents(TypePattern child, TypePatternList parents, boolean isExtends)DeclareParentsMixin(TypePattern child, List parents)DeclareParentsMixin(TypePattern child, TypePatternList parents)DeclareSoft(TypePattern exception, Pointcut pointcut)DeclareTypeErrorOrWarning(boolean isError, TypePattern typePattern, String message)HandlerPointcut(TypePattern exceptionType)HasMemberTypePatternFinder(TypePattern aPattern)NotTypePattern(TypePattern pattern)OrTypePattern(TypePattern left, TypePattern right)Question(TypePattern pattern, ResolvedType type, TypePattern.MatchKind kind)ReferencePointcut(TypePattern onTypeSymbolic, String name, TypePatternList arguments)SignaturePattern(MemberKind kind, ModifiersPattern modifiers, TypePattern returnType, TypePattern declaringType, NamePattern name, TypePatternList parameterTypes, ThrowsPattern throwsPattern, AnnotationTypePattern annotationPattern)ThisOrTargetPointcut(boolean isThis, TypePattern type)TypePatternList(TypePattern[] arguments)TypeVariablePattern(String variableName, TypePattern upperBound)Create a named type variable with the given upper bound and no lower bounds Use this constructor for the T extends Foo caseTypeVariablePattern(String variableName, TypePattern upperLimit, TypePattern[] interfaceBounds, TypePattern lowerBound)WildAnnotationTypePattern(TypePattern typePattern)WildAnnotationTypePattern(TypePattern typePattern, Map<String,String> annotationValues)WildTypePattern(List<NamePattern> names, boolean includeSubtypes, int dim, int endPos, boolean isVarArg, TypePatternList typeParams, TypePattern upperBound, TypePattern[] additionalInterfaceBounds, TypePattern lowerBound)WithinPointcut(TypePattern type)Constructor parameters in org.aspectj.weaver.patterns with type arguments of type TypePatternModifierConstructorDescriptionDeclareParents(TypePattern child, List<TypePattern> parents, boolean isExtends)