Example usage for Java org.eclipse.jdt.core.search IJavaSearchConstants fields, constructors, methods, implement or subclass
The text is from its open source code.
int | UNKNOWN The nature of searched element or the nature of match in unknown. |
int | TYPE The searched element is a type, which may include classes, interfaces, enums, and annotation types. |
int | METHOD The searched element is a method. |
int | PACKAGE The searched element is a package. |
int | CONSTRUCTOR The searched element is a constructor. |
int | FIELD The searched element is a field. |
int | CLASS The searched element is a class. |
int | INTERFACE The searched element is an interface. |
int | ENUM The searched element is an enum. |
int | ANNOTATION_TYPE The searched element is an annotation type. |
int | CLASS_AND_ENUM The searched element is a class or enum type. |
int | CLASS_AND_INTERFACE The searched element is a class or interface type. |
int | INTERFACE_AND_ANNOTATION The searched element is an interface or annotation type. |
int | DECLARATIONS The search result is a declaration. |
int | IMPLEMENTORS The search result is a type that implements an interface or extends a class. |
int | REFERENCES The search result is a reference. |
int | ALL_OCCURRENCES The search result is a declaration, a reference, or an implementer of an interface. |
int | READ_ACCESSES When searching for field matches, it will exclusively find read accesses, as opposed to write accesses. |
int | WRITE_ACCESSES When searching for field matches, it will exclusively find write accesses, as opposed to read accesses. |
int | IGNORE_DECLARING_TYPE Ignore declaring type while searching result. |
int | IGNORE_RETURN_TYPE Ignore return type while searching result. |
int | FIELD_DECLARATION_TYPE_REFERENCE Return only type references used as the type of a field declaration. |
int | LOCAL_VARIABLE_DECLARATION_TYPE_REFERENCE Return only type references used as the type of a local variable declaration. |
int | PARAMETER_DECLARATION_TYPE_REFERENCE Return only type references used as the type of a method parameter declaration. |
int | SUPERTYPE_TYPE_REFERENCE Return only type references used as a super type or as a super interface. |
int | THROWS_CLAUSE_TYPE_REFERENCE Return only type references used in a throws clause. |
int | CAST_TYPE_REFERENCE Return only type references used in a cast expression. |
int | CATCH_TYPE_REFERENCE Return only type references used in a catch header. |
int | CLASS_INSTANCE_CREATION_TYPE_REFERENCE Return only type references used in class instance creation. |
int | RETURN_TYPE_REFERENCE Return only type references used as a method return type. |
int | IMPORT_DECLARATION_TYPE_REFERENCE Return only type references used in an import declaration. |
int | ANNOTATION_TYPE_REFERENCE Return only type references used as an annotation. |
int | TYPE_ARGUMENT_TYPE_REFERENCE Return only type references used as a type argument in a parameterized type or a parameterized method. |
int | TYPE_VARIABLE_BOUND_TYPE_REFERENCE Return only type references used as a type variable bound. |
int | WILDCARD_BOUND_TYPE_REFERENCE Return only type references used as a wildcard bound. |
int | INSTANCEOF_TYPE_REFERENCE Return only type references used as a type of an instanceof expression. |
int | SUPER_REFERENCE Return only super field accesses or super method invocations (e.g. |
int | QUALIFIED_REFERENCE Return only qualified field accesses or qualified method invocations. |
int | THIS_REFERENCE Return only primary field accesses or primary method invocations (e.g. |
int | IMPLICIT_THIS_REFERENCE Return only field accesses or method invocations without any qualification. |
int | METHOD_REFERENCE_EXPRESSION Return only method reference expressions, e.g. |
int | EXACT_MATCH The search pattern matches exactly the search result, that is, the source of the search result equals the search pattern. |
boolean | CASE_SENSITIVE The search pattern matches the search result only if cases are the same. |
int | FORCE_IMMEDIATE_SEARCH The search operation starts immediately, even if the underlying indexer has not finished indexing the workspace. |
int | CANCEL_IF_NOT_READY_TO_SEARCH The search operation throws an org.eclipse.core.runtime.OperationCanceledException if the underlying indexer has not finished indexing the workspace. |
int | WAIT_UNTIL_READY_TO_SEARCH The search operation waits for the underlying indexer to finish indexing the workspace before starting the search. |