Class JavaElementRequestor
java.lang.Object
org.aspectj.org.eclipse.jdt.internal.core.JavaElementRequestor
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanTrue if this requestor no longer wants to receive results from itsIRequestorNameLookup.protected static final IField[]Empty arrays used for efficiencyprotected static final IInitializer[]protected static final IMethod[]protected static final IModuleDescription[]protected static final IPackageFragment[]protected static final IType[]protected ArrayListA collection of the resulting fields, ornullif no field results have been received.protected ArrayListA collection of the resulting initializers, ornullif no initializer results have been received.protected ArrayListA collection of the resulting member types, ornullif no member type results have been received.protected ArrayListA collection of the resulting methods, ornullif no method results have been received.protected ArrayList<IModuleDescription> A collection of the resulting modules, ornullif no module results have been receivedprotected ArrayListA collection of the resulting package fragments, ornullif no package fragment results have been received.protected ArrayListA collection of the resulting types, ornullif no type results have been received. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidacceptField(IField field) voidacceptInitializer(IInitializer initializer) voidacceptMemberType(IType type) voidacceptMethod(IMethod method) voidacceptModule(IModuleDescription module) voidacceptPackageFragment(IPackageFragment packageFragment) voidacceptType(IType type) IField[]IType[]IMethod[]IType[]getTypes()booleanReturnstrueif this IJavaElementRequestor does not want to receive any more results.voidreset()Reset the state of this requestor.voidsetCanceled(boolean b) Sets the #isCanceled state of this requestor to true or false.
-
Field Details
-
canceled
protected boolean canceledTrue if this requestor no longer wants to receive results from itsIRequestorNameLookup. -
fields
A collection of the resulting fields, ornullif no field results have been received. -
initializers
A collection of the resulting initializers, ornullif no initializer results have been received. -
memberTypes
A collection of the resulting member types, ornullif no member type results have been received. -
methods
A collection of the resulting methods, ornullif no method results have been received. -
packageFragments
A collection of the resulting package fragments, ornullif no package fragment results have been received. -
types
A collection of the resulting types, ornullif no type results have been received. -
modules
A collection of the resulting modules, ornullif no module results have been received -
EMPTY_FIELD_ARRAY
Empty arrays used for efficiency -
EMPTY_INITIALIZER_ARRAY
-
EMPTY_TYPE_ARRAY
-
EMPTY_PACKAGE_FRAGMENT_ARRAY
-
EMPTY_METHOD_ARRAY
-
EMPTY_MODULE_ARRAY
-
-
Constructor Details
-
JavaElementRequestor
public JavaElementRequestor()
-
-
Method Details
-
acceptField
- Specified by:
acceptFieldin interfaceIJavaElementRequestor- See Also:
-
acceptInitializer
- Specified by:
acceptInitializerin interfaceIJavaElementRequestor- See Also:
-
acceptMemberType
- Specified by:
acceptMemberTypein interfaceIJavaElementRequestor- See Also:
-
acceptMethod
- Specified by:
acceptMethodin interfaceIJavaElementRequestor- See Also:
-
acceptPackageFragment
- Specified by:
acceptPackageFragmentin interfaceIJavaElementRequestor- See Also:
-
acceptType
- Specified by:
acceptTypein interfaceIJavaElementRequestor- See Also:
-
acceptModule
- Specified by:
acceptModulein interfaceIJavaElementRequestor- See Also:
-
getFields
- See Also:
-
getInitializers
- See Also:
-
getMemberTypes
- See Also:
-
getMethods
- See Also:
-
getPackageFragments
- See Also:
-
getTypes
- See Also:
-
getModules
- See Also:
-
isCanceled
public boolean isCanceled()Description copied from interface:IJavaElementRequestorReturnstrueif this IJavaElementRequestor does not want to receive any more results.- Specified by:
isCanceledin interfaceIJavaElementRequestor- See Also:
-
reset
public void reset()Reset the state of this requestor. -
setCanceled
public void setCanceled(boolean b) Sets the #isCanceled state of this requestor to true or false.
-