Class AspectJCore
java.lang.Object
org.eclipse.core.runtime.Plugin
org.aspectj.org.eclipse.jdt.core.JavaCore
org.aspectj.ajdt.core.AspectJCore
- All Implemented Interfaces:
org.osgi.framework.BundleActivator
This is the plugin class for AspectJ.
-
Nested Class Summary
Nested classes/interfaces inherited from class JavaCore
JavaCore.JavaCallable<V,E>, JavaCore.JavaRunnable<E> Modifier and TypeClassDescriptionstatic interfaceJavaCore.JavaCallable<V, E extends Exception>static interfaceJavaCore.JavaRunnable<E extends Exception> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class JavaCore
ABORT, ATT_HANDLE_ID, BUILDER_ID, CLEAN, CLEAR_ALL, CODEASSIST_ARGUMENT_PREFIXES, CODEASSIST_ARGUMENT_SUFFIXES, CODEASSIST_CAMEL_CASE_MATCH, CODEASSIST_DEPRECATION_CHECK, CODEASSIST_DISCOURAGED_REFERENCE_CHECK, CODEASSIST_FIELD_PREFIXES, CODEASSIST_FIELD_SUFFIXES, CODEASSIST_FORBIDDEN_REFERENCE_CHECK, CODEASSIST_IMPLICIT_QUALIFICATION, CODEASSIST_LOCAL_PREFIXES, CODEASSIST_LOCAL_SUFFIXES, CODEASSIST_STATIC_FIELD_PREFIXES, CODEASSIST_STATIC_FIELD_SUFFIXES, CODEASSIST_STATIC_FINAL_FIELD_PREFIXES, CODEASSIST_STATIC_FINAL_FIELD_SUFFIXES, CODEASSIST_SUBSTRING_MATCH, CODEASSIST_SUBWORD_MATCH, CODEASSIST_SUGGEST_STATIC_IMPORTS, CODEASSIST_VISIBILITY_CHECK, COMPACT, COMPILER_ANNOTATION_NULL_ANALYSIS, COMPILER_ANNOTATION_RESOURCE_ANALYSIS, COMPILER_CODEGEN_INLINE_JSR_BYTECODE, COMPILER_CODEGEN_METHOD_PARAMETERS_ATTR, COMPILER_CODEGEN_TARGET_PLATFORM, COMPILER_CODEGEN_UNUSED_LOCAL, COMPILER_COMPLIANCE, COMPILER_DOC_COMMENT_SUPPORT, COMPILER_IGNORE_UNNAMED_MODULE_FOR_SPLIT_PACKAGE, COMPILER_INHERIT_NULL_ANNOTATIONS, COMPILER_LINE_NUMBER_ATTR, COMPILER_LOCAL_VARIABLE_ATTR, COMPILER_NONNULL_ANNOTATION_NAME, COMPILER_NONNULL_ANNOTATION_SECONDARY_NAMES, COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_NAME, COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_SECONDARY_NAMES, COMPILER_NOTOWNING_ANNOTATION_NAME, COMPILER_NULLABLE_ANNOTATION_NAME, COMPILER_NULLABLE_ANNOTATION_SECONDARY_NAMES, COMPILER_OWNING_ANNOTATION_NAME, COMPILER_PB_ANNOTATED_TYPE_ARGUMENT_TO_UNANNOTATED, COMPILER_PB_ANNOTATION_SUPER_INTERFACE, COMPILER_PB_API_LEAKS, COMPILER_PB_ASSERT_IDENTIFIER, COMPILER_PB_AUTOBOXING, COMPILER_PB_BOOLEAN_METHOD_THROWING_EXCEPTION, COMPILER_PB_CHAR_ARRAY_IN_STRING_CONCATENATION, COMPILER_PB_COMPARING_IDENTICAL, COMPILER_PB_DEAD_CODE, COMPILER_PB_DEAD_CODE_IN_TRIVIAL_IF_STATEMENT, COMPILER_PB_DEPRECATION, COMPILER_PB_DEPRECATION_IN_DEPRECATED_CODE, COMPILER_PB_DEPRECATION_WHEN_OVERRIDING_DEPRECATED_METHOD, COMPILER_PB_DISCOURAGED_REFERENCE, COMPILER_PB_EMPTY_STATEMENT, COMPILER_PB_ENABLE_PREVIEW_FEATURES, COMPILER_PB_ENUM_IDENTIFIER, COMPILER_PB_EXPLICITLY_CLOSED_AUTOCLOSEABLE, COMPILER_PB_FALLTHROUGH_CASE, COMPILER_PB_FATAL_OPTIONAL_ERROR, COMPILER_PB_FIELD_HIDING, COMPILER_PB_FINAL_PARAMETER_BOUND, COMPILER_PB_FINALLY_BLOCK_NOT_COMPLETING, COMPILER_PB_FORBIDDEN_REFERENCE, COMPILER_PB_HIDDEN_CATCH_BLOCK, COMPILER_PB_INCLUDE_ASSERTS_IN_NULL_ANALYSIS, COMPILER_PB_INCOMPATIBLE_NON_INHERITED_INTERFACE_METHOD, COMPILER_PB_INCOMPATIBLE_OWNING_CONTRACT, COMPILER_PB_INCOMPLETE_ENUM_SWITCH, COMPILER_PB_INCONSISTENT_NULL_CHECK, COMPILER_PB_INDIRECT_STATIC_ACCESS, COMPILER_PB_INVALID_IMPORT, COMPILER_PB_INVALID_JAVADOC, COMPILER_PB_INVALID_JAVADOC_TAGS, COMPILER_PB_INVALID_JAVADOC_TAGS__DEPRECATED_REF, COMPILER_PB_INVALID_JAVADOC_TAGS__NOT_VISIBLE_REF, COMPILER_PB_INVALID_JAVADOC_TAGS_VISIBILITY, COMPILER_PB_LOCAL_VARIABLE_HIDING, COMPILER_PB_MAX_PER_UNIT, COMPILER_PB_MEMBER_OF_DEPRECATED_TYPE, COMPILER_PB_METHOD_WITH_CONSTRUCTOR_NAME, COMPILER_PB_MISSING_DEPRECATED_ANNOTATION, COMPILER_PB_MISSING_ENUM_CASE_DESPITE_DEFAULT, COMPILER_PB_MISSING_HASHCODE_METHOD, COMPILER_PB_MISSING_JAVADOC_COMMENTS, COMPILER_PB_MISSING_JAVADOC_COMMENTS_OVERRIDING, COMPILER_PB_MISSING_JAVADOC_COMMENTS_VISIBILITY, COMPILER_PB_MISSING_JAVADOC_TAG_DESCRIPTION, COMPILER_PB_MISSING_JAVADOC_TAG_DESCRIPTION_ALL_STANDARD_TAGS, COMPILER_PB_MISSING_JAVADOC_TAG_DESCRIPTION_NO_TAG, COMPILER_PB_MISSING_JAVADOC_TAG_DESCRIPTION_RETURN_TAG, COMPILER_PB_MISSING_JAVADOC_TAGS, COMPILER_PB_MISSING_JAVADOC_TAGS_METHOD_TYPE_PARAMETERS, COMPILER_PB_MISSING_JAVADOC_TAGS_OVERRIDING, COMPILER_PB_MISSING_JAVADOC_TAGS_VISIBILITY, COMPILER_PB_MISSING_NONNULL_BY_DEFAULT_ANNOTATION, COMPILER_PB_MISSING_OVERRIDE_ANNOTATION, COMPILER_PB_MISSING_OVERRIDE_ANNOTATION_FOR_INTERFACE_METHOD_IMPLEMENTATION, COMPILER_PB_MISSING_SERIAL_VERSION, COMPILER_PB_MISSING_STATIC_ON_METHOD, COMPILER_PB_MISSING_SYNCHRONIZED_ON_INHERITED_METHOD, COMPILER_PB_NO_EFFECT_ASSIGNMENT, COMPILER_PB_NON_NLS_STRING_LITERAL, COMPILER_PB_NONNULL_PARAMETER_ANNOTATION_DROPPED, COMPILER_PB_NONNULL_TYPEVAR_FROM_LEGACY_INVOCATION, COMPILER_PB_NULL_ANNOTATION_INFERENCE_CONFLICT, COMPILER_PB_NULL_REFERENCE, COMPILER_PB_NULL_SPECIFICATION_VIOLATION, COMPILER_PB_NULL_UNCHECKED_CONVERSION, COMPILER_PB_OVERRIDING_METHOD_WITHOUT_SUPER_INVOCATION, COMPILER_PB_OVERRIDING_PACKAGE_DEFAULT_METHOD, COMPILER_PB_PARAMETER_ASSIGNMENT, COMPILER_PB_PESSIMISTIC_NULL_ANALYSIS_FOR_FREE_TYPE_VARIABLES, COMPILER_PB_POSSIBLE_ACCIDENTAL_BOOLEAN_ASSIGNMENT, COMPILER_PB_POTENTIAL_NULL_REFERENCE, COMPILER_PB_POTENTIALLY_MISSING_STATIC_ON_METHOD, COMPILER_PB_POTENTIALLY_UNCLOSED_CLOSEABLE, COMPILER_PB_RAW_TYPE_REFERENCE, COMPILER_PB_RECOMMENDED_RESOURCE_MANAGEMENT, COMPILER_PB_REDUNDANT_NULL_ANNOTATION, COMPILER_PB_REDUNDANT_NULL_CHECK, COMPILER_PB_REDUNDANT_SUPERINTERFACE, COMPILER_PB_REDUNDANT_TYPE_ARGUMENTS, COMPILER_PB_REPORT_PREVIEW_FEATURES, COMPILER_PB_SPECIAL_PARAMETER_HIDING_FIELD, COMPILER_PB_STATIC_ACCESS_RECEIVER, COMPILER_PB_SUPPRESS_OPTIONAL_ERRORS, COMPILER_PB_SUPPRESS_WARNINGS, COMPILER_PB_SUPPRESS_WARNINGS_NOT_FULLY_ANALYSED, COMPILER_PB_SWITCH_MISSING_DEFAULT_CASE, COMPILER_PB_SYNTACTIC_NULL_ANALYSIS_FOR_FIELDS, COMPILER_PB_SYNTHETIC_ACCESS_EMULATION, COMPILER_PB_TERMINAL_DEPRECATION, COMPILER_PB_TYPE_PARAMETER_HIDING, COMPILER_PB_UNAVOIDABLE_GENERIC_TYPE_PROBLEMS, COMPILER_PB_UNCHECKED_TYPE_OPERATION, COMPILER_PB_UNCLOSED_CLOSEABLE, COMPILER_PB_UNDOCUMENTED_EMPTY_BLOCK, COMPILER_PB_UNHANDLED_WARNING_TOKEN, COMPILER_PB_UNLIKELY_COLLECTION_METHOD_ARGUMENT_TYPE, COMPILER_PB_UNLIKELY_COLLECTION_METHOD_ARGUMENT_TYPE_STRICT, COMPILER_PB_UNLIKELY_EQUALS_ARGUMENT_TYPE, COMPILER_PB_UNNECESSARY_ELSE, COMPILER_PB_UNNECESSARY_TYPE_CHECK, COMPILER_PB_UNQUALIFIED_FIELD_ACCESS, COMPILER_PB_UNREACHABLE_CODE, COMPILER_PB_UNSAFE_TYPE_OPERATION, COMPILER_PB_UNSTABLE_AUTO_MODULE_NAME, COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION, COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION_EXEMPT_EXCEPTION_AND_THROWABLE, COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION_INCLUDE_DOC_COMMENT_REFERENCE, COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION_WHEN_OVERRIDING, COMPILER_PB_UNUSED_EXCEPTION_PARAMETER, COMPILER_PB_UNUSED_IMPORT, COMPILER_PB_UNUSED_LABEL, COMPILER_PB_UNUSED_LAMBDA_PARAMETER, COMPILER_PB_UNUSED_LOCAL, COMPILER_PB_UNUSED_OBJECT_ALLOCATION, COMPILER_PB_UNUSED_PARAMETER, COMPILER_PB_UNUSED_PARAMETER_INCLUDE_DOC_COMMENT_REFERENCE, COMPILER_PB_UNUSED_PARAMETER_WHEN_IMPLEMENTING_ABSTRACT, COMPILER_PB_UNUSED_PARAMETER_WHEN_OVERRIDING_CONCRETE, COMPILER_PB_UNUSED_PRIVATE_MEMBER, COMPILER_PB_UNUSED_TYPE_ARGUMENTS_FOR_METHOD_INVOCATION, COMPILER_PB_UNUSED_TYPE_PARAMETER, COMPILER_PB_UNUSED_WARNING_TOKEN, COMPILER_PB_VARARGS_ARGUMENT_NEED_CAST, COMPILER_RELEASE, COMPILER_SOURCE, COMPILER_SOURCE_FILE_ATTR, COMPILER_TASK_CASE_SENSITIVE, COMPILER_TASK_PRIORITIES, COMPILER_TASK_PRIORITY_HIGH, COMPILER_TASK_PRIORITY_LOW, COMPILER_TASK_PRIORITY_NORMAL, COMPILER_TASK_TAGS, COMPUTE, CORE_CIRCULAR_CLASSPATH, CORE_ENABLE_CLASSPATH_EXCLUSION_PATTERNS, CORE_ENABLE_CLASSPATH_MULTIPLE_OUTPUT_LOCATIONS, CORE_ENCODING, CORE_INCOMPATIBLE_JDK_LEVEL, CORE_INCOMPLETE_CLASSPATH, CORE_JAVA_BUILD_CLEAN_OUTPUT_FOLDER, CORE_JAVA_BUILD_DUPLICATE_RESOURCE, CORE_JAVA_BUILD_EXTERNAL_ANNOTATIONS_FROM_ALL_LOCATIONS, CORE_JAVA_BUILD_INVALID_CLASSPATH, CORE_JAVA_BUILD_ORDER, CORE_JAVA_BUILD_RECREATE_MODIFIED_CLASS_FILES_IN_OUTPUT_FOLDER, CORE_JAVA_BUILD_RESOURCE_COPY_FILTER, CORE_MAIN_ONLY_PROJECT_HAS_TEST_ONLY_DEPENDENCY, CORE_OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE, DEFAULT, DEFAULT_JAVA_FORMATTER, DEFAULT_TASK_PRIORITIES, DEFAULT_TASK_PRIORITY, DEFAULT_TASK_TAG, DEFAULT_TASK_TAGS, DISABLED, DO_NOT_GENERATE, DO_NOT_INSERT, ENABLED, ERROR, FORMATTER_CLEAR_BLANK_LINES, FORMATTER_COMPACT_ASSIGNMENT, FORMATTER_LINE_SPLIT, FORMATTER_NEWLINE_CONTROL, FORMATTER_NEWLINE_ELSE_IF, FORMATTER_NEWLINE_EMPTY_BLOCK, FORMATTER_NEWLINE_OPENING_BRACE, FORMATTER_SPACE_CASTEXPRESSION, FORMATTER_TAB_CHAR, FORMATTER_TAB_SIZE, GENERATE, IGNORE, INFO, INSERT, JAVA_DERIVED_SOURCE_CONTENT_TYPE, JAVA_FORMATTER, JAVA_FORMATTER_EXTENSION_POINT_ID, JAVA_SOURCE_CONTENT_TYPE, MODEL_ID, MODULE_PATH_CONTAINER_ID, NATURE_ID, NEVER, NORMAL, OPTIMIZE_OUT, PLUGIN_ID, PRESERVE, PRESERVE_ONE, PRIVATE, PROTECTED, PUBLIC, SPACE, TAB, TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC, USER_LIBRARY_CONTAINER_ID, VERSION_1_1, VERSION_1_2, VERSION_1_3, VERSION_1_4, VERSION_1_5, VERSION_1_6, VERSION_1_7, VERSION_1_8, VERSION_10, VERSION_11, VERSION_12, VERSION_13, VERSION_14, VERSION_15, VERSION_16, VERSION_17, VERSION_18, VERSION_19, VERSION_20, VERSION_21, VERSION_22, VERSION_23, VERSION_24, VERSION_25, VERSION_26, VERSION_27, VERSION_28, VERSION_9, VERSION_CLDC_1_1, WARNINGModifier and TypeFieldDescriptionstatic final StringConfigurable option value: "abort".protected static final StringName of the handle id attribute in a Java marker.static final StringThe identifier for the Java builder (value"org.aspectj.org.eclipse.jdt.core.javabuilder").static final StringConfigurable option value: "clean".static final StringConfigurable option value: "clear all".static final StringCode assist option ID: Define the Prefixes for Argument Name.static final StringCode assist option ID: Define the Suffixes for Argument Name.static final StringCode assist option ID: Activate Camel Case Sensitive Completion.static final StringCode assist option ID: Activate Deprecation Sensitive Completion.static final StringCode assist option ID: Activate Discouraged Reference Sensitive Completion.static final StringCode assist option ID: Define the Prefixes for Field Name.static final StringCode assist option ID: Define the Suffixes for Field Name.static final StringCode assist option ID: Activate Forbidden Reference Sensitive Completion.static final StringCode assist option ID: Automatic Qualification of Implicit Members.static final StringCode assist option ID: Define the Prefixes for Local Variable Name.static final StringCode assist option ID: Define the Suffixes for Local Variable Name.static final StringCode assist option ID: Define the Prefixes for Static Field Name.static final StringCode assist option ID: Define the Suffixes for Static Field Name.static final StringCode assist option ID: Define the Prefixes for Static Final Field Name.static final StringCode assist option ID: Define the Suffixes for Static Final Field Name.static final StringDeprecated.- this option has no effectstatic final StringCode assist option ID: Activate Subword Code Completion.static final StringCode assist option ID: Activate Suggestion of Static Import.static final StringCode assist option ID: Activate Visibility Sensitive Completion.static final StringConfigurable option value: "compact".static final StringCompiler option ID: Annotation-based Null Analysis.static final StringCompiler option ID: Enable the use of specific annotations for more precise analysis of resource leaks.static final StringDeprecated.this option is implicitly enabled and can't be switched off anymorestatic final StringCompiler option ID: Generating Method Parameters Attribute.static final StringCompiler option ID: Defining Target Java Platform.static final StringCompiler option ID: Preserving Unused Local Variables.static final StringCompiler option ID: Setting Compliance Level.static final StringCompiler option ID: Javadoc Comment Support.static final StringCompiler option ID: Ignore unnamed module for split package.static final StringCompiler option ID: Inheritance of null annotations.static final StringCompiler option ID: Generating Line Number Debug Attribute.static final StringCompiler option ID: Generating Local Variable Debug Attribute.static final StringCompiler option ID: Name of Annotation Type for Non-Null Types.static final StringCompiler option ID: Names of Secondary Annotation Types for Non-Null Types.static final StringCompiler option ID: Name of Annotation Type to specify a nullness default for unannotated types.static final StringCompiler option ID: Names of Secondary Annotation Types to specify a nullness default for unannotated types.static final StringCompiler option ID: Name of annotation type for "not-owned" resource values.static final StringCompiler option ID: Name of Annotation Type for Nullable Types.static final StringCompiler option ID: Names of Secondary Annotation Types for Nullable Types.static final StringCompiler option ID: Name of annotation type for "owned" resource values.static final StringCompiler option ID: Reporting Unsafe Conversion To Unannotated Type Argument.static final StringCompiler option ID: Reporting Use of Annotation Type as Super Interface.static final StringCompiler option ID: Reporting when public API uses a non-API type.static final StringCompiler option ID: Reporting Usage of'assert'Identifier.static final StringCompiler option ID: Reporting Boxing/Unboxing Conversion.static final StringDeprecated.- this option has no effectstatic final StringCompiler option ID: Reporting Usage ofchar[]Expressions in String Concatenations.static final StringCompiler option ID: Reporting Comparison of Identical Expressions.static final StringCompiler option ID: Reporting Dead Code.static final StringCompiler option ID: Reporting Dead Code Inside Trivial If Statement.static final StringCompiler option ID: Reporting Deprecation.static final StringCompiler option ID: Reporting Deprecation Inside Deprecated Code.static final StringCompiler option ID: Reporting Deprecation When Overriding Deprecated Method.static final StringCompiler option ID: Reporting Discouraged Reference to Type with Restricted Access.static final StringCompiler option ID: Reporting Empty Statements and Unnecessary Semicolons.static final StringCompiler option ID: Enabling support for preview language features.static final StringCompiler option ID: Reporting Usage of'enum'Identifier.static final StringCompiler option ID: Reporting a resource that is not managed by try-with-resources.static final StringCompiler option ID: Reporting Switch Fall-Through Case.static final StringCompiler option ID: Treating Optional Error as Fatal.static final StringCompiler option ID: Reporting Field Declaration Hiding another Variable.static final StringCompiler option ID: Reporting final Bound for Type Parameter.static final StringCompiler option ID: Reporting Finally Blocks Not Completing Normally.static final StringCompiler option ID: Reporting Forbidden Reference to Type with Restricted Access.static final StringCompiler option ID: Reporting Hidden Catch Block.static final StringCompiler option ID: Raise null related errors or warnings arising because of assert statements.static final StringCompiler option ID: Reporting Interface Method not Compatible with non-Inherited Methods.static final StringCompiler option ID: Reporting when a method override incompatibly changes the owning contract.static final StringCompiler option ID: Reporting Incomplete Enum Switch.static final StringDeprecated.UseJavaCore.COMPILER_PB_NULL_REFERENCEinstead.static final StringCompiler option ID: Reporting Indirect Reference to a Static Member.static final StringDeprecated.Discontinued since turning off would violate language specs.static final StringCompiler option ID: Reporting Invalid Javadoc Comment.static final StringCompiler option ID: Reporting Invalid Javadoc Tags.static final StringCompiler option ID: Reporting Invalid Javadoc Tags with Deprecated References.static final StringCompiler option ID: Reporting Invalid Javadoc Tags with Not Visible References.static final StringCompiler option ID: Visibility Level For Invalid Javadoc Tags.static final StringCompiler option ID: Reporting Local Variable Declaration Hiding another Variable.static final StringCompiler option ID: Maximum Number of Problems Reported per Compilation Unit.static final StringCompiler option ID: Reporting members in a deprecated type that are not deprecated.static final StringCompiler option ID: Reporting Method With Constructor Name.static final StringCompiler option ID: Reporting Missing@DeprecatedAnnotation.static final StringCompiler option ID: Reporting Missing Enum Case In Switch Despite An Existing Default Case.static final StringCompiler option ID: Reporting Missing HashCode Method.static final StringCompiler option ID: Reporting Missing Javadoc Comments.static final StringCompiler option ID: Reporting Missing Javadoc Comments on Overriding Methods.static final StringCompiler option ID: Visibility Level For Missing Javadoc Comments.static final StringCompiler option ID: Reporting missing tag description.static final StringConfigurable option value: "all_standard_tags".static final StringConfigurable option value: "no_tag".static final StringConfigurable option value: "return_tag".static final StringCompiler option ID: Reporting Missing Javadoc Tags.static final StringCompiler option ID: Reporting Missing Javadoc Tags for Method Type Parameters.static final StringCompiler option ID: Reporting Missing Javadoc Tags on Overriding Methods.static final StringCompiler option ID: Visibility Level For Missing Javadoc Tags.static final StringCompiler option ID: Reporting missing default nullness annotation.static final StringCompiler option ID: Reporting Missing@OverrideAnnotation.static final StringCompiler option ID: Reporting Missing@OverrideAnnotation for interface method implementation.static final StringCompiler option ID: Reporting Missing Declaration of serialVersionUID Field on Serializable Class.static final StringCompiler option ID: Reporting a method that qualifies as static, but not declared static.static final StringCompiler option ID: Reporting Missing Synchronized Modifier On Inherited Method.static final StringCompiler option ID: Reporting Assignment with no Effect.static final StringCompiler option ID: Reporting Non-Externalized String Literal.static final StringCompiler option ID: Reporting Dropped Nonnull Parameter Annotations.static final StringCompiler option ID: Reporting Unsafe NonNull Interpretation Of Type Variables.static final StringCompiler option ID: Reporting conflicts between declared null annotation and inferred null valuestatic final StringCompiler option ID: Reporting Null Dereference.static final StringCompiler option ID: Reporting Violations of Null Specifications.static final StringCompiler option ID: Reporting unchecked conversion from a type with unknown nullness to a null annotated typestatic final StringCompiler option ID: Reporting Overriding method that doesn't call the super method invocation.static final StringCompiler option ID: Reporting Attempt to Override Package Visible Method.static final StringCompiler option ID: Reporting Parameter Assignment.static final StringCompiler option ID: Reporting problems detected by pessimistic null analysis for free type variables.static final StringCompiler option ID: Reporting Possible Accidental Boolean Assignment.static final StringCompiler option ID: Reporting Potential Null Dereference.static final StringCompiler option ID: Reporting a method that may qualify as static, but not declared static.static final StringCompiler option ID: Reporting a resource that may not be closed properly.static final StringCompiler option ID: Reporting Raw Type Reference.static final StringCompiler option ID: Reporting a resource that is not managed by recommended strategies.static final StringCompiler option ID: Reporting Redundant Null Annotations.static final StringCompiler option ID: Reporting Redundant Null Check.static final StringCompiler option ID: Reporting Redundant Superinterface.static final StringCompiler option ID: Reporting redundant specification of type arguments in class instance creation expressions.static final StringCompiler option ID: Reporting Preview features.static final StringCompiler option ID: Reporting Special Parameter Hiding another Field.static final StringCompiler option ID: Reporting Non-Static Reference to a Static Member.static final StringCompiler option ID: Further Determining the Effect of@SuppressWarningsif alsoJavaCore.COMPILER_PB_SUPPRESS_WARNINGSis enabled.static final StringCompiler option ID: Determining Effect of@SuppressWarnings.static final StringCompiler option ID: Reporting when a@SuppressWarningsannotation might be unused, but exact information is not available.static final StringCompiler option ID: Reporting Missing Default Case In Switch.static final StringCompiler option ID: Perform syntactic null analysis for fields.static final StringCompiler option ID: Reporting Synthetic Access Emulation.static final StringCompiler option ID: Reporting Terminal Deprecation.static final StringCompiler option ID: Reporting Type Declaration Hiding another Type.static final StringCompiler option ID: Reporting of Unavoidable Generic Type Problems due to raw APIs.static final StringCompiler option ID: Reporting Unchecked Type Operation.static final StringCompiler option ID: Reporting a resource that is not closed properly.static final StringCompiler option ID: Reporting Undocumented Empty Block.static final StringCompiler option ID: Reporting Unhandled Warning Token for@SuppressWarnings.static final StringCompiler option ID: Reporting a method invocation providing an argument of an unlikely type.static final StringCompiler option ID: Perform strict analysis against the expected type of collection methods.static final StringCompiler option ID: Reporting a method invocation providing an argument of an unlikely type to method 'equals'.static final StringCompiler option ID: Reporting Unnecessary Else.static final StringCompiler option ID: Reporting Unnecessary Type Check.static final StringCompiler option ID: Reporting Unqualified Access to Field.static final StringDeprecated.Discontinued since turning off would violate language specs.static final StringDeprecated.UseJavaCore.COMPILER_PB_UNCHECKED_TYPE_OPERATIONinstead.static final StringCompiler option ID: Reporting when a module requires an auto module with an unstable name.static final StringCompiler option ID: Reporting Unused Declared Thrown Exception.static final StringCompiler option ID: Reporting Unused Declared Thrown Exception Exempts Exception And Throwable.static final StringCompiler option ID: Consider Reference in Doc Comment for Unused Declared Thrown Exception Check.static final StringCompiler option ID: Reporting Unused Declared Thrown Exception in Overriding Method.static final StringCompiler option ID: Reporting Unused Exception Parameter.static final StringCompiler option ID: Reporting Unused Import.static final StringCompiler option ID: Reporting Unreferenced Label.static final StringCompiler option ID: Reporting Unused Lambda Parameter.static final StringCompiler option ID: Reporting Unused Local.static final StringCompiler option ID: Reporting Allocation of an Unused Object.static final StringCompiler option ID: Reporting Unused Parameter.static final StringCompiler option ID: Consider Reference in Doc Comment for Unused Parameter Check.static final StringCompiler option ID: Reporting Unused Parameter if Implementing Abstract Method.static final StringCompiler option ID: Reporting Unused Parameter if Overriding Concrete Method.static final StringCompiler option ID: Reporting Unused Private Members.static final StringCompiler option ID: Reporting Presence of Type Arguments for a Non-Generic Method Invocation.static final StringCompiler option ID: Reporting Unused Type Parameter.static final StringCompiler option ID: Reporting Unnecessary@SuppressWarnings.static final StringCompiler option ID: Reporting Varargs Argument Needing a Cast in Method/Constructor Invocation.static final StringCompiler option ID: Use system libraries from release.static final StringCompiler option ID: Setting Source Compatibility Mode.static final StringCompiler option ID: Generating Source Debug Attribute.static final StringCompiler option ID: Determining whether task tags are case-sensitive.static final StringCompiler option ID: Defining the Automatic Task Priorities.static final StringConfigurable option value forJavaCore.COMPILER_TASK_PRIORITIES: "HIGH".static final StringConfigurable option value forJavaCore.COMPILER_TASK_PRIORITIES: "LOW".static final StringConfigurable option value forJavaCore.COMPILER_TASK_PRIORITIES: "NORMAL".static final StringCompiler option ID: Defining the Automatic Task Tags.static final StringConfigurable option value: "compute".static final StringCore option ID: Reporting Classpath Cycle.static final StringCore option ID: Enabling Usage of Classpath Exclusion Patterns.static final StringCore option ID: Enabling Usage of Classpath Multiple Output Locations.static final StringCore option ID: Default Source Encoding Format.static final StringCore option ID: Reporting Incompatible JDK Level for Required Binaries.static final StringCore option ID: Reporting Incomplete Classpath.static final StringCore option ID: Cleaning Output Folder(s).static final StringCore option ID: Reporting Duplicate Resources.static final StringCore option ID: Read external annotations from all build path entries.static final StringCore option ID: Abort if Invalid Classpath.static final StringCore option ID: Computing Project Build Order.static final StringCore option ID: Recreate Modified class files in Output Folder.static final StringCore option ID: Specifying Filters for Resource Copying Control.static final StringCore option ID: Reporting if a project which has only main sources depends on a project with only test sources.static final StringCore option ID: Reporting an output location overlapping another source location.static final StringConfigurable option value: "default".static final StringThe ID of the Eclipse built-in formatter.static final StringConfigurable option value: "NORMAL,HIGH,NORMAL".static final StringDeprecated.UseJavaCore.DEFAULT_TASK_PRIORITIESinstead.static final StringDeprecated.UseJavaCore.DEFAULT_TASK_TAGSinstead.static final StringConfigurable option value: "TODO,FIXME,XXX".static final StringConfigurable option value: "disabled".static final StringConfigurable option value: "do not generate".static final StringConfigurable option value: "do not insert".static final StringConfigurable option value: "enabled".static final StringConfigurable option value: "error".static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.UseDefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_CATCH_IN_TRY_STATEMENT,DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_ELSE_IN_IF_STATEMENT,DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_FINALLY_IN_TRY_STATEMENT,DefaultCodeFormatterConstants.FORMATTER_INSERT_NEW_LINE_BEFORE_WHILE_IN_DO_STATEMENTinstead.static final StringDeprecated.static final StringDeprecated.static final StringDeprecated.UseDefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ANONYMOUS_TYPE_DECLARATION,DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK,DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_CONSTRUCTOR_DECLARATION,DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION,DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_SWITCH,DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATIONinstead.static final StringDeprecated.static final StringDeprecated.UseDefaultCodeFormatterConstants.FORMATTER_TAB_CHARinstead.static final StringDeprecated.UseDefaultCodeFormatterConstants.FORMATTER_TAB_SIZEinstead.static final StringConfigurable option value: "generate".static final StringConfigurable option value: "ignore".static final StringConfigurable option value: "info".static final StringConfigurable option value: "insert".static final StringValue of the content-type for Java-derived source files (e.g.static final StringCore option ID: The ID of the formatter to use in formatting operations.static final StringName of the extension point for contributing a source code formatterstatic final StringValue of the content-type for Java source files.static final StringThe identifier for the Java model (value"org.aspectj.org.eclipse.jdt.core.javamodel").static final Stringstatic final StringThe identifier for the Java nature (value"org.aspectj.org.eclipse.jdt.core.javanature").static final StringConfigurable option value: "never".static final StringConfigurable option value: "normal".static final StringConfigurable option value: "optimize out".static final StringThe plug-in identifier of the Java core support (value"org.aspectj.org.eclipse.jdt.core").static final StringConfigurable option value: "preserve".static final StringConfigurable option value: "preserve one".static final StringConfigurable option value: "private".static final StringConfigurable option value: "protected".static final StringConfigurable option value: "public".static final StringConfigurable option value: "space".static final StringConfigurable option value: "tab".static final StringCore option ID: Set the timeout value for retrieving the method's parameter names from javadoc.static final StringName of the User Library Container id.static final StringConfigurable option value: "1.1".static final StringConfigurable option value: "1.2".static final StringConfigurable option value: "1.3".static final StringConfigurable option value: "1.4".static final StringConfigurable option value: "1.5".static final StringConfigurable option value: "1.6".static final StringConfigurable option value: "1.7".static final StringConfigurable option value: "1.8".static final StringConfigurable option value: "10".static final StringConfigurable option value: "11".static final StringConfigurable option value: "12".static final StringConfigurable option value: "13".static final StringConfigurable option value: "14".static final StringConfigurable option value: "15".static final StringConfigurable option value: "16".static final StringConfigurable option value: "17".static final StringConfigurable option value: "18".static final StringConfigurable option value: "19".static final StringConfigurable option value: "20".static final StringConfigurable option value: "21".static final StringConfigurable option value: "22".static final StringConfigurable option value: "23".static final StringConfigurable option value: "24".static final StringConfigurable option value: "25".static final StringConfigurable option value: "26".static final StringConfigurable option value: "27".static final StringConfigurable option value: "28".static final StringConfigurable option value: "9".static final StringConfigurable option value: "cldc1.1".static final StringConfigurable option value: "warning".Fields inherited from class org.eclipse.core.runtime.Plugin
PLUGIN_PREFERENCE_SCOPE, PREFERENCES_DEFAULT_OVERRIDE_BASE_NAME, PREFERENCES_DEFAULT_OVERRIDE_FILE_NAME -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class JavaCore
addElementChangedListener, addElementChangedListener, addJavaElementMarkerAttributes, addPreProcessingResourceChangedListener, addPreProcessingResourceChangedListener, callReadOnly, compareJavaVersions, compileWithAttributes, configureJavaElementMarker, create, create, create, create, create, create, create, create, createClassFileFrom, createCompilationUnitFrom, createJarPackageFragmentRootFrom, defaultRootModules, defaultRootModules, getAllJavaSourceVersionsSupportedByCompiler, getAllVersions, getAutomaticModuleDescription, getClasspathContainer, getClasspathContainerInitializer, getClasspathVariable, getClasspathVariableDeprecationMessage, getClasspathVariableInitializer, getClasspathVariableNames, getDefaultOptions, getEncoding, getGeneratedResources, getJavaCore, getJavaDerivedExtensions, getJavaLikeExtensions, getModuleNameFromJar, getOption, getOptionForConfigurableBuildPathProblemSeverity, getOptionForConfigurableSeverity, getOptions, getPlugin, getReferencedClasspathEntries, getReferencedModules, getRequiredModulesFromJar, getResolvedClasspathEntry, getResolvedVariablePath, getSharedWorkingCopies, getUserLibraryNames, getWorkingCopies, initializeAfterLoad, isClasspathVariableReadOnly, isJavaLikeFileName, isJavaSourceVersionSupportedByCompiler, isReferencedBy, isReferencedBy, isSupportedJavaVersion, latestSupportedJavaVersion, newAccessRule, newClasspathAttribute, newContainerEntry, newContainerEntry, newContainerEntry, newLibraryEntry, newLibraryEntry, newLibraryEntry, newProjectEntry, newProjectEntry, newProjectEntry, newRegion, newSourceEntry, newSourceEntry, newSourceEntry, newSourceEntry, newSourceEntry, newTypeHierarchy, newVariableEntry, newVariableEntry, newVariableEntry, rebuildIndex, removeClasspathVariable, removeClasspathVariable, removeElementChangedListener, removeJavaLikeExtension, removePreProcessingResourceChangedListener, run, run, runReadOnly, setClasspathContainer, setClasspathVariable, setClasspathVariable, setClasspathVariables, setComplianceOptions, setOptions, start, stopModifier and TypeMethodDescriptionstatic voidAdds the given listener for changes to Java elements.static voidaddElementChangedListener(IElementChangedListener listener, int eventMask) Adds the given listener for changes to Java elements.static voidaddJavaElementMarkerAttributes(Map attributes, IJavaElement element) Configures the given marker attribute map for the given Java element.static voidaddPreProcessingResourceChangedListener(org.eclipse.core.resources.IResourceChangeListener listener) Deprecated.use addPreProcessingResourceChangedListener(listener, IResourceChangeEvent.POST_CHANGE) insteadstatic voidaddPreProcessingResourceChangedListener(org.eclipse.core.resources.IResourceChangeListener listener, int eventMask) Adds the given listener for resource change events of the given types to the Java core.static <T, E extends Exception>
TcallReadOnly(JavaCore.JavaCallable<T, E> callable) Calls the argument and returns its result or its Exception.static intcompareJavaVersions(String first, String second) Compares two given versions of the Java platform.static byte[]compileWithAttributes(IModuleDescription module, Map<String, String> classFileAttributes) Compile the given module description in the context of its enclosing Java project and add class file attributes using the given map of attribute values.voidconfigureJavaElementMarker(org.eclipse.core.resources.IMarker marker, IJavaElement element) Configures the given marker for the given Java element.static IJavaElementReturns the Java model element corresponding to the given handle identifier generated byIJavaElement.getHandleIdentifier(), ornullif unable to create the associated element.static IJavaElementcreate(String handleIdentifier, WorkingCopyOwner owner) Returns the Java model element corresponding to the given handle identifier generated byIJavaElement.getHandleIdentifier(), ornullif unable to create the associated element.static IJavaElementcreate(org.eclipse.core.resources.IFile file) Returns the Java element corresponding to the given file, ornullif unable to associate the given file with a Java element.static IJavaElementcreate(org.eclipse.core.resources.IFolder folder) Returns the package fragment or package fragment root corresponding to the given folder, ornullif unable to associate the given folder with a Java element.static IJavaProjectcreate(org.eclipse.core.resources.IProject project) Returns the Java project corresponding to the given project.static IJavaElementcreate(org.eclipse.core.resources.IResource resource) Returns the Java element corresponding to the given resource, ornullif unable to associate the given resource with a Java element.static IJavaElementcreate(org.eclipse.core.resources.IResource resource, IJavaProject project) Returns the Java element corresponding to the given file, its project being the given project.static IJavaModelcreate(org.eclipse.core.resources.IWorkspaceRoot root) Returns the Java model.static IClassFilecreateClassFileFrom(org.eclipse.core.resources.IFile file) Creates and returns a class file element for the given.classfile.static ICompilationUnitcreateCompilationUnitFrom(org.eclipse.core.resources.IFile file) Creates and returns a compilation unit element for the given source file (i.e.static IPackageFragmentRootcreateJarPackageFragmentRootFrom(org.eclipse.core.resources.IFile file) Creates and returns a handle for the given JAR file.defaultRootModules(Iterable<IPackageFragmentRoot> allSystemRoots) Deprecated.This method cannot distinguish strategies for old (9/10) vs new (11+) JDK versions.defaultRootModules(Iterable<IPackageFragmentRoot> allSystemRoots, String release) Filter the given set of system roots by the rules for root modules from JEP 261.Returns all Java source versions fully supported by Eclipse compiler in the order of their introduction.Returns allJavaCore#VERSION_*levels in the order of their introduction.static IModuleDescriptionReturns theIModuleDescriptionthat the given java element contains when regarded as an automatic module.static IClasspathContainergetClasspathContainer(org.eclipse.core.runtime.IPath containerPath, IJavaProject project) Answers the project specific value for a given classpath container.getClasspathContainerInitializer(String containerID) Helper method finding the classpath container initializer registered for a given classpath container ID ornullif none was found while iterating over the contributions to extension point to the extension point "org.aspectj.org.eclipse.jdt.core.classpathContainerInitializer".static org.eclipse.core.runtime.IPathgetClasspathVariable(String variableName) Returns the path held in the given classpath variable.static StringgetClasspathVariableDeprecationMessage(String variableName) Returns deprecation message of a given classpath variable.static ClasspathVariableInitializergetClasspathVariableInitializer(String variable) Helper method finding the classpath variable initializer registered for a given classpath variable name ornullif none was found while iterating over the contributions to extension point to the extension point "org.aspectj.org.eclipse.jdt.core.classpathVariableInitializer".static String[]Returns the names of all known classpath variables.Returns a table of all known configurable options with their default values.static StringReturns the workspace root default charset encoding.static org.eclipse.core.resources.IResource[]getGeneratedResources(IRegion region, boolean includesNonJavaResources) Returns an array that contains the resources generated by the Java builder when building the compilation units contained in the given region.static JavaCoreReturns the single instance of the Java core plug-in runtime class.static String[]Returns the list of known Java-derived extensions (e.g.static String[]Returns the list of known Java-like extensions.static StringgetModuleNameFromJar(File file) Returns the module name computed for a jar.static StringHelper method for returning one option value only.static StringReturns the option that can be used to configure the severity of the compiler build path problem identified byidif any,nullotherwise.static StringgetOptionForConfigurableSeverity(int problemID) Returns the option that can be used to configure the severity of the compiler problem identified byproblemIDif any,nullotherwise.Returns the table of the current options.static org.eclipse.core.runtime.PluginReturns the single instance of the Java core plug-in runtime class.static IClasspathEntry[]getReferencedClasspathEntries(IClasspathEntry libraryEntry, IJavaProject project) Returns an array of classpath entries that are referenced directly or indirectly by a given classpath entry.static String[]getReferencedModules(IJavaProject project) Returns an array of module names referenced by this project indirectly.Returns the names of the modules required by the module-info.class in the jar.static IClasspathEntryThis is a helper method, which returns the resolved classpath entry denoted by a given entry (if it is a variable entry).static org.eclipse.core.runtime.IPathgetResolvedVariablePath(org.eclipse.core.runtime.IPath variablePath) Resolve a variable path (helper method).static IWorkingCopy[]getSharedWorkingCopies(IBufferFactory factory) Deprecated.UseJavaCore.getWorkingCopies(WorkingCopyOwner)insteadstatic String[]Returns the names of all defined user libraries.static ICompilationUnit[]getWorkingCopies(WorkingCopyOwner owner) Returns the working copies that have the given owner.static voidinitializeAfterLoad(org.eclipse.core.runtime.IProgressMonitor monitor) Initializes JavaCore internal structures to allow subsequent operations (such as the ones that need a resolved classpath) to run full speed.static booleanisClasspathVariableReadOnly(String variableName) Returns whether a given classpath variable is read-only or not.static booleanisJavaLikeFileName(String fileName) Returns whether the given file name's extension is a Java-like extension.static booleanNot all known Java versions are supported by Eclipse compiler.static booleanisReferencedBy(IJavaElement element, org.eclipse.core.resources.IMarker marker) Returns whether the given marker references the given Java element.static booleanisReferencedBy(IJavaElement element, org.eclipse.core.resources.IMarkerDelta markerDelta) Returns whether the given marker delta references the given Java element.static booleanisSupportedJavaVersion(String version) Returns whether the given version of Java or Java Runtime is supported by the Java Development Toolkit.static StringReturns the latest version of Java supported by the Java Model.static IAccessRulenewAccessRule(org.eclipse.core.runtime.IPath filePattern, int kind) Creates and returns a new access rule with the given file pattern and kind.static IClasspathAttributenewClasspathAttribute(String name, String value) Creates and returns a new classpath attribute with the given name and the given value.static IClasspathEntrynewContainerEntry(org.eclipse.core.runtime.IPath containerPath) Creates and returns a new classpath entry of kindCPE_CONTAINERfor the given path.static IClasspathEntrynewContainerEntry(org.eclipse.core.runtime.IPath containerPath, boolean isExported) Creates and returns a new classpath entry of kindCPE_CONTAINERfor the given path.static IClasspathEntrynewContainerEntry(org.eclipse.core.runtime.IPath containerPath, IAccessRule[] accessRules, IClasspathAttribute[] extraAttributes, boolean isExported) Creates and returns a new classpath entry of kindCPE_CONTAINERfor the given path.static IClasspathEntrynewLibraryEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath sourceAttachmentPath, org.eclipse.core.runtime.IPath sourceAttachmentRootPath) Creates and returns a new non-exported classpath entry of kindCPE_LIBRARYfor the JAR or folder identified by the given absolute path.static IClasspathEntrynewLibraryEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath sourceAttachmentPath, org.eclipse.core.runtime.IPath sourceAttachmentRootPath, boolean isExported) Creates and returns a new classpath entry of kindCPE_LIBRARYfor the JAR or folder identified by the given absolute path.static IClasspathEntrynewLibraryEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath sourceAttachmentPath, org.eclipse.core.runtime.IPath sourceAttachmentRootPath, IAccessRule[] accessRules, IClasspathAttribute[] extraAttributes, boolean isExported) Creates and returns a new classpath entry of kindCPE_LIBRARYfor the JAR or folder identified by the given absolute path.static IClasspathEntrynewProjectEntry(org.eclipse.core.runtime.IPath path) Creates and returns a new non-exported classpath entry of kindCPE_PROJECTfor the project identified by the given absolute path.static IClasspathEntrynewProjectEntry(org.eclipse.core.runtime.IPath path, boolean isExported) Creates and returns a new classpath entry of kindCPE_PROJECTfor the project identified by the given absolute path.static IClasspathEntrynewProjectEntry(org.eclipse.core.runtime.IPath path, IAccessRule[] accessRules, boolean combineAccessRules, IClasspathAttribute[] extraAttributes, boolean isExported) Creates and returns a new classpath entry of kindCPE_PROJECTfor the project identified by the given absolute path.static IRegionReturns a new empty region.static IClasspathEntrynewSourceEntry(org.eclipse.core.runtime.IPath path) Creates and returns a new classpath entry of kindCPE_SOURCEfor all files in the project's source folder identified by the given absolute workspace-relative path.static IClasspathEntrynewSourceEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath[] exclusionPatterns) Creates and returns a new classpath entry of kindCPE_SOURCEfor the project's source folder identified by the given absolute workspace-relative path but excluding all source files with paths matching any of the given patterns.static IClasspathEntrynewSourceEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath[] exclusionPatterns, org.eclipse.core.runtime.IPath specificOutputLocation) Creates and returns a new classpath entry of kindCPE_SOURCEfor the project's source folder identified by the given absolute workspace-relative path but excluding all source files with paths matching any of the given patterns, and associated with a specific output location (that is, ".class" files are not going to the project default output location).static IClasspathEntrynewSourceEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath[] inclusionPatterns, org.eclipse.core.runtime.IPath[] exclusionPatterns, org.eclipse.core.runtime.IPath specificOutputLocation) Creates and returns a new classpath entry of kindCPE_SOURCEfor the project's source folder identified by the given absolute workspace-relative path but excluding all source files with paths matching any of the given patterns, and associated with a specific output location (that is, ".class" files are not going to the project default output location).static IClasspathEntrynewSourceEntry(org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IPath[] inclusionPatterns, org.eclipse.core.runtime.IPath[] exclusionPatterns, org.eclipse.core.runtime.IPath specificOutputLocation, IClasspathAttribute[] extraAttributes) Creates and returns a new classpath entry of kindCPE_SOURCEfor the project's source folder identified by the given absolute workspace-relative path using the given inclusion and exclusion patterns to determine which source files are included, and the given output path to control the output location of generated files.static ITypeHierarchynewTypeHierarchy(IRegion region, WorkingCopyOwner owner, org.eclipse.core.runtime.IProgressMonitor monitor) Creates and returns a type hierarchy for all types in the given region, considering subtypes within that region and considering types in the working copies with the given owner.static IClasspathEntrynewVariableEntry(org.eclipse.core.runtime.IPath variablePath, org.eclipse.core.runtime.IPath variableSourceAttachmentPath, org.eclipse.core.runtime.IPath sourceAttachmentRootPath) Creates and returns a new non-exported classpath entry of kindCPE_VARIABLEfor the given path.static IClasspathEntrynewVariableEntry(org.eclipse.core.runtime.IPath variablePath, org.eclipse.core.runtime.IPath variableSourceAttachmentPath, org.eclipse.core.runtime.IPath variableSourceAttachmentRootPath, boolean isExported) Creates and returns a new classpath entry of kindCPE_VARIABLEfor the given path.static IClasspathEntrynewVariableEntry(org.eclipse.core.runtime.IPath variablePath, org.eclipse.core.runtime.IPath variableSourceAttachmentPath, org.eclipse.core.runtime.IPath variableSourceAttachmentRootPath, IAccessRule[] accessRules, IClasspathAttribute[] extraAttributes, boolean isExported) Creates and returns a new classpath entry of kindCPE_VARIABLEfor the given path.static voidrebuildIndex(org.eclipse.core.runtime.IProgressMonitor monitor) Deletes the index, then rebuilds any portions of the index that are currently needed by the workspace.static voidremoveClasspathVariable(String variableName) Deprecated.static voidremoveClasspathVariable(String variableName, org.eclipse.core.runtime.IProgressMonitor monitor) Removed the given classpath variable.static voidRemoves the given element changed listener.static StringremoveJavaLikeExtension(String fileName) Removes the file extension from the given file name, if it has a Java-like file extension.static voidremovePreProcessingResourceChangedListener(org.eclipse.core.resources.IResourceChangeListener listener) Removes the given pre-processing resource changed listener.static voidrun(org.eclipse.core.resources.IWorkspaceRunnable action, org.eclipse.core.runtime.IProgressMonitor monitor) Runs the given action as an atomic Java model operation.static voidrun(org.eclipse.core.resources.IWorkspaceRunnable action, org.eclipse.core.runtime.jobs.ISchedulingRule rule, org.eclipse.core.runtime.IProgressMonitor monitor) Runs the given action as an atomic Java model operation.static <T, E extends Exception>
voidrunReadOnly(JavaCore.JavaRunnable<E> runnable) Runs the argument and will forward its Exception.static voidsetClasspathContainer(org.eclipse.core.runtime.IPath containerPath, IJavaProject[] affectedProjects, IClasspathContainer[] respectiveContainers, org.eclipse.core.runtime.IProgressMonitor monitor) Bind a container reference path to some actual containers (IClasspathContainer).static voidsetClasspathVariable(String variableName, org.eclipse.core.runtime.IPath path) Deprecated.static voidsetClasspathVariable(String variableName, org.eclipse.core.runtime.IPath path, org.eclipse.core.runtime.IProgressMonitor monitor) Sets the value of the given classpath variable.static voidsetClasspathVariables(String[] variableNames, org.eclipse.core.runtime.IPath[] paths, org.eclipse.core.runtime.IProgressMonitor monitor) Sets the values of all the given classpath variables at once.static voidsetComplianceOptions(String compliance, Map options) Sets the default compiler options inside the given options map according to the given compliance.static voidsetOptions(Hashtable<String, String> newOptions) Sets the current table of options.voidstart(org.osgi.framework.BundleContext context) voidstop(org.osgi.framework.BundleContext context) Methods inherited from class org.eclipse.core.runtime.Plugin
find, find, getBundle, getLog, getPluginPreferences, getStateLocation, initializeDefaultPluginPreferences, internalInitializeDefaultPluginPreferences, isDebugging, openStream, openStream, savePluginPreferences, setDebugging, shutdown, startup, toString
-
Field Details
-
COMPILER_PB_INVALID_ABSOLUTE_TYPE_NAME
- See Also:
-
COMPILER_PB_INVALID_WILDCARD_TYPE_NAME
- See Also:
-
COMPILER_PB_UNRESOLVABLE_MEMBER
- See Also:
-
COMPILER_PB_TYPE_NOT_EXPOSED_TO_WEAVER
- See Also:
-
COMPILER_PB_SHADOW_NOT_IN_STRUCTURE
- See Also:
-
COMPILER_PB_UNMATCHED_SUPERTYPE_IN_CALL
- See Also:
-
COMPILER_PB_CANNOT_IMPLEMENT_LAZY_TJP
- See Also:
-
COMPILER_PB_NEED_SERIAL_VERSION_UID
- See Also:
-
COMPILER_PB_INCOMPATIBLE_SERIAL_VERSION
- See Also:
-
COMPILER_TERMINATE_AFTER_COMPILATION
- See Also:
-
COMPILER_SERIALIZABLE_ASPECTS
- See Also:
-
COMPILER_LAZY_TJP
- See Also:
-
COMPILER_NO_ADVICE_INLINE
- See Also:
-
COMPILER_NOT_REWEAVABLE
- See Also:
-
-
Constructor Details
-
AspectJCore
public AspectJCore()
-
-
Method Details
-
getAspectJCore
-
getCompilerOptions
-