Klasse FieldLocator
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.matching.PatternLocator
org.aspectj.org.eclipse.jdt.internal.core.search.matching.VariableLocator
org.aspectj.org.eclipse.jdt.internal.core.search.matching.FieldLocator
- Alle implementierten Schnittstellen:
IQualifiedTypeResolutionListener,IIndexConstants
-
Feldübersicht
FelderVon Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.search.matching.VariableLocator
patternVon Klasse geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.search.matching.PatternLocator
ACCURATE_MATCH, ALL_CONTAINER, CAMELCASE_FLAVOR, CLASS_CONTAINER, COMPILATION_UNIT_CONTAINER, ERASURE_MATCH, EXACT_FLAVOR, FIELD_CONTAINER, FLAVORS_MASK, IMPOSSIBLE_MATCH, INACCURATE_MATCH, isCaseSensitive, isEquivalentMatch, isErasureMatch, MATCH_LEVEL_MASK, matchMode, mayBeGeneric, METHOD_CONTAINER, mustResolve, NO_FLAVOR, OVERRIDDEN_METHOD_FLAVOR, PATTERN_FLAVOR, POSSIBLE_MATCH, PREFIX_FLAVOR, RAW_MASK, REGEXP_FLAVOR, RULE_MASK, SUB_INVOCATION_FLAVOR, SUPER_INVOCATION_FLAVOR, SUPERTYPE_REF_FLAVORVon Schnittstelle geerbte Felder org.aspectj.org.eclipse.jdt.internal.core.search.indexing.IIndexConstants
AND_PATTERN, ANNOT_REF_PATTERN, ANNOTATION_REF, ANNOTATION_TYPE_SUFFIX, CLASS_AND_ENUM_SUFFIX, CLASS_AND_INTERFACE_SUFFIX, CLASS_SUFFIX, CONSTRUCTOR_DECL, CONSTRUCTOR_PATTERN, CONSTRUCTOR_REF, COUNTS, DEFAULT_CONSTRUCTOR, ENUM_SUFFIX, FIELD_DECL, FIELD_PATTERN, INTERFACE_AND_ANNOTATION_SUFFIX, INTERFACE_SUFFIX, LOCAL_VAR_PATTERN, META_INDEX_CATEGORIES, META_INDEX_QUALIFIED_SUPER_TYPE_QUALIFIER_REF, META_INDEX_QUALIFIED_TYPE_QUALIFIER_REF, META_INDEX_SIMPLE_SUPER_TYPE_QUALIFIER_REF, META_INDEX_SIMPLE_TYPE_QUALIFIER_REF, METHOD_DECL, METHOD_DECL_PLUS, METHOD_PATTERN, METHOD_REF, MODULE_DECL, MODULE_INFO, MODULE_PATTERN, MODULE_REF, OBJECT, ONE_STAR, ONE_STAR_CHAR, ONE_ZERO, ONE_ZERO_CHAR, OR_PATTERN, PARAMETER_SEPARATOR, PKG_DECL_PATTERN, PKG_REF_PATTERN, REF, SECONDARY_SUFFIX, SEPARATOR, SUPER_REF, SUPER_REF_PATTERN, TYPE_DECL, TYPE_DECL_PATTERN, TYPE_PARAM_PATTERN, TYPE_REF_PATTERN, TYPE_SUFFIX, ZERO_CHAR -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected intintmatch(ASTNode node, MatchingNodeSet nodeSet) Check if the given ast node syntactically matches this pattern.intmatch(FieldDeclaration node, MatchingNodeSet nodeSet) protected intReturns the type(s) of container for this pattern.protected intmatchField(FieldBinding field, boolean matchName) protected voidmatchLevelAndReportImportRef(ImportReference importRef, Binding binding, MatchLocator locator) Reports the match of the given import reference if the resolveLevel is high enough.protected intmatchReference(Reference node, MatchingNodeSet nodeSet, boolean writeOnlyAccess) protected voidmatchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator) Reports the match of the given reference.protected voidmatchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) Reports the match of the given reference.protected intprotected voidreportDeclaration(FieldBinding fieldBinding, MatchLocator locator, SimpleSet knownFields) intresolveLevel(ASTNode possiblelMatchingNode) Finds out whether the given ast node matches this search pattern.protected intresolveLevel(NameReference nameRef) intresolveLevel(Binding binding) Finds out whether the given binding matches this search pattern.protected intresolveLevelForType(TypeBinding typeBinding) protected voidupdateMatch(ParameterizedTypeBinding parameterizedBinding, char[][][] patternTypeArguments, MatchLocator locator) Von Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.search.matching.VariableLocator
match, match, toStringVon Klasse geerbte Methoden org.aspectj.org.eclipse.jdt.internal.core.search.matching.PatternLocator
clear, getQualifiedPattern, getQualifiedSourceName, getTypeNameBinding, initializePolymorphicSearch, match, match, match, match, match, match, match, match, match, match, match, match, match, matchesName, matchesTypeReference, matchLevel, matchNameValue, matchReportImportRef, newDeclarationMatch, patternLocator, qualifiedPattern, qualifiedSourceName, recordResolution, resolveLevelForType, resolveLevelForType, resolveLevelForType, updateMatch, updateMatch
-
Felddetails
-
isDeclarationOfAccessedFieldsPattern
protected boolean isDeclarationOfAccessedFieldsPattern
-
-
Konstruktordetails
-
FieldLocator
-
-
Methodendetails
-
fineGrain
protected int fineGrain()- Setzt außer Kraft:
fineGrainin KlassePatternLocator
-
match
Beschreibung aus Klasse kopiert:PatternLocatorCheck if the given ast node syntactically matches this pattern. If it does, add it to the match set. Returns the match level.- Setzt außer Kraft:
matchin KlassePatternLocator
-
match
- Setzt außer Kraft:
matchin KlassePatternLocator
-
matchContainer
protected int matchContainer()Beschreibung aus Klasse kopiert:PatternLocatorReturns the type(s) of container for this pattern. It is a bit combination of types, denoting compilation unit, class declarations, field declarations or method declarations.- Setzt außer Kraft:
matchContainerin KlassePatternLocator
-
matchField
-
matchLevelAndReportImportRef
protected void matchLevelAndReportImportRef(ImportReference importRef, Binding binding, MatchLocator locator) throws org.eclipse.core.runtime.CoreException Beschreibung aus Klasse kopiert:PatternLocatorReports the match of the given import reference if the resolveLevel is high enough.- Setzt außer Kraft:
matchLevelAndReportImportRefin KlassePatternLocator- Löst aus:
org.eclipse.core.runtime.CoreException
-
matchReference
- Setzt außer Kraft:
matchReferencein KlasseVariableLocator
-
matchReportReference
protected void matchReportReference(ASTNode reference, IJavaElement element, Binding elementBinding, int accuracy, MatchLocator locator) throws org.eclipse.core.runtime.CoreException Beschreibung aus Klasse kopiert:PatternLocatorReports the match of the given reference.- Setzt außer Kraft:
matchReportReferencein KlassePatternLocator- Löst aus:
org.eclipse.core.runtime.CoreException
-
matchReportReference
protected void matchReportReference(ASTNode reference, IJavaElement element, IJavaElement localElement, IJavaElement[] otherElements, Binding elementBinding, int accuracy, MatchLocator locator) throws org.eclipse.core.runtime.CoreException Beschreibung aus Klasse kopiert:PatternLocatorReports the match of the given reference. Also provide a local element to eventually report in match.- Setzt außer Kraft:
matchReportReferencein KlassePatternLocator- Löst aus:
org.eclipse.core.runtime.CoreException
-
updateMatch
protected void updateMatch(ParameterizedTypeBinding parameterizedBinding, char[][][] patternTypeArguments, MatchLocator locator) - Setzt außer Kraft:
updateMatchin KlassePatternLocator
-
reportDeclaration
protected void reportDeclaration(FieldBinding fieldBinding, MatchLocator locator, SimpleSet knownFields) throws org.eclipse.core.runtime.CoreException - Löst aus:
org.eclipse.core.runtime.CoreException
-
referenceType
protected int referenceType()- Setzt außer Kraft:
referenceTypein KlassePatternLocator
-
resolveLevel
Beschreibung aus Klasse kopiert:PatternLocatorFinds out whether the given ast node matches this search pattern. Returns IMPOSSIBLE_MATCH if it doesn't. Returns INACCURATE_MATCH if it potentially matches this search pattern (i.e. it has already been resolved but resolving failed.) Returns ACCURATE_MATCH if it matches exactly this search pattern (i.e. it doesn't need to be resolved or it has already been resolved.)- Setzt außer Kraft:
resolveLevelin KlassePatternLocator
-
resolveLevel
Beschreibung aus Klasse kopiert:PatternLocatorFinds out whether the given binding matches this search pattern. Returns ACCURATE_MATCH if it does. Returns INACCURATE_MATCH if resolve failed but match is still possible. Returns IMPOSSIBLE_MATCH otherwise. Default is to return INACCURATE_MATCH.- Setzt außer Kraft:
resolveLevelin KlassePatternLocator
-
resolveLevel
-
resolveLevelForType
-