Package org.aspectj.weaver.patterns
Klasse HasMemberTypePattern
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.TypePattern
org.aspectj.weaver.patterns.HasMemberTypePattern
- Alle implementierten Schnittstellen:
IHasPosition,IHasSourceLocation
- Bekannte direkte Unterklassen:
HasMemberTypePatternForPerThisMatching
- Autor:
- colyer Matches types that have a certain method / constructor / field Currently only allowed within declare parents and declare @type
-
Verschachtelte Klassen - Übersicht
Von Klasse geerbte verschachtelte Klassen/Schnittstellen org.aspectj.weaver.patterns.TypePattern
TypePattern.MatchKind -
Feldübersicht
Von Klasse geerbte Felder org.aspectj.weaver.patterns.TypePattern
AND, annotationPattern, ANY, ANY_KEY, ANY_WITH_ANNO, BINDING, DYNAMIC, ELLIPSIS, ELLIPSIS_KEY, EXACT, HAS_MEMBER, includeSubtypes, isVarArgs, NO, NO_KEY, NOT, OR, STATIC, TYPE_CATEGORY, typeParameters, WILDVon Klasse geerbte Felder org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungaccept(PatternNodeVisitor visitor, Object data) booleaninthashCode()protected booleanhasMethod(ResolvedType type) protected booleanmatchesArray(UnresolvedType type) protected booleanmatchesExactly(ResolvedType type) protected booleanmatchesExactly(ResolvedType type, ResolvedType annotatedType) parameterizeWith(Map 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.static TypePatternread(VersionedDataInputStream s, ISourceContext context) resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType) This can modify in place, or return a new TypePattern if the type changes.toString()traverse(PatternNodeVisitor visitor, Object data) voidVon Klasse geerbte Methoden org.aspectj.weaver.patterns.TypePattern
couldEverMatchSameTypesAs, getAnnotationPattern, getDimensions, getExactType, getTypeParameters, hasFailedResolution, isArray, isBangVoid, isEllipsis, isIncludeSubtypes, isStar, isStarAnnotation, isVarArgs, isVoid, matches, matchesStatically, matchesSubtypes, matchesSubtypes, notExactType, postRead, remapAdviceFormals, resolve, resolveExactType, setAnnotationTypePattern, setIsVarArgs, setTypeParametersVon Klasse geerbte Methoden org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, writeLocation
-
Konstruktordetails
-
HasMemberTypePattern
-
-
Methodendetails
-
matchesExactly
- Angegeben von:
matchesExactlyin KlasseTypePattern
-
getSignaturePattern
-
hasMethod
-
matchesExactly
- Angegeben von:
matchesExactlyin KlasseTypePattern
-
matchesArray
- Angegeben von:
matchesArrayin KlasseTypePattern
-
matchesInstanceof
- Angegeben von:
matchesInstanceofin KlasseTypePattern
-
parameterizeWith
Beschreibung aus Klasse kopiert:TypePatternreturn a version of this type pattern in which all type variable references have been replaced by their corresponding entry in the map.- Angegeben von:
parameterizeWithin KlasseTypePattern
-
resolveBindings
public TypePattern resolveBindings(IScope scope, Bindings bindings, boolean allowBinding, boolean requireExactType) Beschreibung aus Klasse kopiert:TypePatternThis can modify in place, or return a new TypePattern if the type changes.- Setzt außer Kraft:
resolveBindingsin KlasseTypePattern
-
equals
-
hashCode
public int hashCode() -
toString
-
write
- Angegeben von:
writein KlassePatternNode- Löst aus:
IOException
-
read
public static TypePattern read(VersionedDataInputStream s, ISourceContext context) throws IOException - Löst aus:
IOException
-
accept
- Angegeben von:
acceptin KlassePatternNode
-
traverse
- Setzt außer Kraft:
traversein KlassePatternNode
-