Klasse SourceIndexerRequestor
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.search.indexing.SourceIndexerRequestor
- Alle implementierten Schnittstellen:
ISourceElementRequestor,IIndexConstants
public class SourceIndexerRequestor
extends Object
implements ISourceElementRequestor, IIndexConstants
This class is used by the JavaParserIndexer. When parsing the java file, the requestor
recognizes the java elements (methods, fields, ...) and add them to an index.
-
Verschachtelte Klassen - Übersicht
Von Schnittstelle geerbte verschachtelte Klassen/Schnittstellen org.aspectj.org.eclipse.jdt.internal.compiler.ISourceElementRequestor
ISourceElementRequestor.FieldInfo, ISourceElementRequestor.MethodInfo, ISourceElementRequestor.ModuleInfo, ISourceElementRequestor.PackageExportInfo, ISourceElementRequestor.ParameterInfo, ISourceElementRequestor.RequiresInfo, ISourceElementRequestor.ServicesInfo, ISourceElementRequestor.TypeInfo, ISourceElementRequestor.TypeParameterInfo -
Feldübersicht
Von 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 TypMethodeBeschreibungvoidacceptAnnotationTypeReference(char[][] typeName, int sourceStart, int sourceEnd) voidacceptAnnotationTypeReference(char[] simpleTypeName, int sourcePosition) voidacceptConstructorReference(char[] typeName, int argCount, int sourcePosition) voidacceptFieldReference(char[] fieldName, int sourcePosition) voidacceptImport(int declarationStart, int declarationEnd, int nameStart, int nameEnd, char[][] tokens, boolean onDemand, int modifiers) voidacceptLineSeparatorPositions(int[] positions) voidacceptMethodReference(char[] methodName, int argCount, int sourcePosition) voidacceptPackage(ImportReference importReference) voidacceptProblem(CategorizedProblem problem) voidacceptTypeReference(char[][] typeName, int sourceStart, int sourceEnd) voidacceptTypeReference(char[] simpleTypeName, int sourcePosition) voidacceptUnknownReference(char[][] name, int sourceStart, int sourceEnd) voidacceptUnknownReference(char[] name, int sourcePosition) char[][]voidvoidenterConstructor(ISourceElementRequestor.MethodInfo methodInfo) voidenterField(ISourceElementRequestor.FieldInfo fieldInfo) voidenterInitializer(int declarationSourceStart, int modifiers) voidenterMethod(ISourceElementRequestor.MethodInfo methodInfo) voidenterModule(ISourceElementRequestor.ModuleInfo moduleInfo) voidenterType(ISourceElementRequestor.TypeInfo typeInfo) voidexitCompilationUnit(int declarationEnd) voidexitConstructor(int declarationEnd) voidexitField(int initializationStart, int declarationEnd, int declarationSourceEnd) voidexitInitializer(int declarationEnd) voidexitMethod(int declarationEnd, Expression defaultValue) voidexitRecordComponent(int declarationEnd, int declarationSourceEnd) voidexitType(int declarationEnd) voidvoidpushTypeName(char[] typeName) Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.aspectj.org.eclipse.jdt.internal.compiler.ISourceElementRequestor
exitModule
-
Konstruktordetails
-
SourceIndexerRequestor
-
-
Methodendetails
-
acceptAnnotationTypeReference
public void acceptAnnotationTypeReference(char[][] typeName, int sourceStart, int sourceEnd) - Angegeben von:
acceptAnnotationTypeReferencein SchnittstelleISourceElementRequestor- Siehe auch:
-
acceptAnnotationTypeReference
public void acceptAnnotationTypeReference(char[] simpleTypeName, int sourcePosition) - Angegeben von:
acceptAnnotationTypeReferencein SchnittstelleISourceElementRequestor- Siehe auch:
-
acceptConstructorReference
public void acceptConstructorReference(char[] typeName, int argCount, int sourcePosition) - Angegeben von:
acceptConstructorReferencein SchnittstelleISourceElementRequestor- Siehe auch:
-
acceptFieldReference
public void acceptFieldReference(char[] fieldName, int sourcePosition) - Angegeben von:
acceptFieldReferencein SchnittstelleISourceElementRequestor- Siehe auch:
-
acceptImport
public void acceptImport(int declarationStart, int declarationEnd, int nameStart, int nameEnd, char[][] tokens, boolean onDemand, int modifiers) - Angegeben von:
acceptImportin SchnittstelleISourceElementRequestor- Parameter:
declarationStart- This is the position of the first character of the import keyword.declarationEnd- This is the position of the ';' ending the import statement or the end of the comment following the import.nameStart- This is the position of the first character of the import declaration's name.nameEnd- This is the position of the last character of the import declaration's name.tokens- This are the tokens of the import like specified in the source.onDemand- set to true if the import is an import on demand (e.g. import java.io.*). False otherwise.modifiers- can be set to static from 1.5 on.- Siehe auch:
-
acceptLineSeparatorPositions
public void acceptLineSeparatorPositions(int[] positions) - Angegeben von:
acceptLineSeparatorPositionsin SchnittstelleISourceElementRequestor- Siehe auch:
-
acceptMethodReference
public void acceptMethodReference(char[] methodName, int argCount, int sourcePosition) - Angegeben von:
acceptMethodReferencein SchnittstelleISourceElementRequestor- Siehe auch:
-
acceptPackage
- Angegeben von:
acceptPackagein SchnittstelleISourceElementRequestor- Siehe auch:
-
acceptProblem
- Angegeben von:
acceptProblemin SchnittstelleISourceElementRequestor- Siehe auch:
-
acceptTypeReference
public void acceptTypeReference(char[][] typeName, int sourceStart, int sourceEnd) - Angegeben von:
acceptTypeReferencein SchnittstelleISourceElementRequestor- Siehe auch:
-
acceptTypeReference
public void acceptTypeReference(char[] simpleTypeName, int sourcePosition) - Angegeben von:
acceptTypeReferencein SchnittstelleISourceElementRequestor- Siehe auch:
-
acceptUnknownReference
public void acceptUnknownReference(char[][] name, int sourceStart, int sourceEnd) - Angegeben von:
acceptUnknownReferencein SchnittstelleISourceElementRequestor- Siehe auch:
-
acceptUnknownReference
public void acceptUnknownReference(char[] name, int sourcePosition) - Angegeben von:
acceptUnknownReferencein SchnittstelleISourceElementRequestor- Siehe auch:
-
enclosingTypeNames
public char[][] enclosingTypeNames() -
enterCompilationUnit
public void enterCompilationUnit()- Angegeben von:
enterCompilationUnitin SchnittstelleISourceElementRequestor- Siehe auch:
-
enterConstructor
- Angegeben von:
enterConstructorin SchnittstelleISourceElementRequestor- Siehe auch:
-
enterField
- Angegeben von:
enterFieldin SchnittstelleISourceElementRequestor- Siehe auch:
-
enterInitializer
public void enterInitializer(int declarationSourceStart, int modifiers) - Angegeben von:
enterInitializerin SchnittstelleISourceElementRequestor- Siehe auch:
-
enterModule
- Angegeben von:
enterModulein SchnittstelleISourceElementRequestor
-
enterMethod
- Angegeben von:
enterMethodin SchnittstelleISourceElementRequestor- Siehe auch:
-
enterType
- Angegeben von:
enterTypein SchnittstelleISourceElementRequestor- Siehe auch:
-
exitCompilationUnit
public void exitCompilationUnit(int declarationEnd) - Angegeben von:
exitCompilationUnitin SchnittstelleISourceElementRequestor- Siehe auch:
-
exitConstructor
public void exitConstructor(int declarationEnd) - Angegeben von:
exitConstructorin SchnittstelleISourceElementRequestor- Siehe auch:
-
exitField
public void exitField(int initializationStart, int declarationEnd, int declarationSourceEnd) - Angegeben von:
exitFieldin SchnittstelleISourceElementRequestor- Siehe auch:
-
exitRecordComponent
public void exitRecordComponent(int declarationEnd, int declarationSourceEnd) - Angegeben von:
exitRecordComponentin SchnittstelleISourceElementRequestor- Siehe auch:
-
exitInitializer
public void exitInitializer(int declarationEnd) - Angegeben von:
exitInitializerin SchnittstelleISourceElementRequestor- Siehe auch:
-
exitMethod
- Angegeben von:
exitMethodin SchnittstelleISourceElementRequestor- Siehe auch:
-
exitType
public void exitType(int declarationEnd) - Angegeben von:
exitTypein SchnittstelleISourceElementRequestor- Siehe auch:
-
popTypeName
public void popTypeName() -
pushTypeName
public void pushTypeName(char[] typeName)
-