Verwendungen von Klasse
org.aspectj.weaver.patterns.TypePattern
Packages, die TypePattern verwenden
Package
Beschreibung
-
Verwendungen von TypePattern in org.aspectj.weaver
Felder in org.aspectj.weaver, die deklariert sind als TypePatternMethoden in org.aspectj.weaver, die TypePattern zurückgebenMethoden in org.aspectj.weaver mit Parametern vom Typ TypePatternModifizierer und TypMethodeBeschreibungstatic AdviceAdvice.makeSoftener(World world, Pointcut entry, TypePattern exceptionType, ResolvedType inAspect, IHasSourceLocation loc) Konstruktoren in org.aspectj.weaver mit Parametern vom Typ TypePatternModifiziererKonstruktorBeschreibungFieldHostTypeMunger(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) -
Verwendungen von TypePattern in org.aspectj.weaver.bcel
Methoden in org.aspectj.weaver.bcel, die TypePattern zurückgeben -
Verwendungen von TypePattern in org.aspectj.weaver.internal.tools
Konstruktoren in org.aspectj.weaver.internal.tools mit Parametern vom Typ TypePattern -
Verwendungen von TypePattern in org.aspectj.weaver.patterns
Unterklassen von TypePattern in org.aspectj.weaver.patternsModifizierer und TypKlasseBeschreibungclassleft && rightclassclassThis type represents a type pattern of '*' but with an annotation specified, e.g.classclassclassclassclasspr354470.class!classclassleft || 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). resolveBindings() tries to work out what we've really got and turn it into a type pattern that we can use for matching.Felder in org.aspectj.weaver.patterns, die deklariert sind als TypePatternModifizierer und TypFeldBeschreibungstatic final TypePatternTypePattern.ANYprotected TypePatternDeclareParents.childstatic final TypePatternTypePattern.ELLIPSISstatic final TypePatternTypePattern.NOReferencePointcut.onTypeSymbolicMethoden in org.aspectj.weaver.patterns, die TypePattern zurückgebenModifizierer und TypMethodeBeschreibungTypePatternList.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 appropriate for the advice, rather than for the lexical declaration, i.e. this handles transformations through named pointcuts.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. non-pattern We will be replaced by what we returnMethoden in org.aspectj.weaver.patterns mit Parametern vom Typ TypePatternModifizierer und TypMethodeBeschreibungTypePatternQuestions.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) Konstruktoren in org.aspectj.weaver.patterns mit Parametern vom Typ TypePatternModifiziererKonstruktorBeschreibungAndTypePattern(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) Konstruktorparameter in org.aspectj.weaver.patterns mit Typargumenten vom Typ TypePatternModifiziererKonstruktorBeschreibungDeclareParents(TypePattern child, List<TypePattern> parents, boolean isExtends)