Example usage for Java org.eclipse.jdt.core JavaCore fields, constructors, methods, implement or subclass
The text is from its open source code.
String | PLUGIN_ID The plug-in identifier of the Java core support (value "org.eclipse.jdt.core" ). |
String | BUILDER_ID The identifier for the Java builder (value "org.eclipse.jdt.core.javabuilder" ). |
String | NATURE_ID The identifier for the Java nature (value "org.eclipse.jdt.core.javanature" ). |
String | USER_LIBRARY_CONTAINER_ID Name of the User Library Container id. |
String | COMPILER_LOCAL_VARIABLE_ATTR Compiler option ID: Generating Local Variable Debug Attribute. |
String | COMPILER_LINE_NUMBER_ATTR Compiler option ID: Generating Line Number Debug Attribute. |
String | COMPILER_SOURCE_FILE_ATTR Compiler option ID: Generating Source Debug Attribute. |
String | COMPILER_CODEGEN_UNUSED_LOCAL Compiler option ID: Preserving Unused Local Variables. |
String | COMPILER_CODEGEN_TARGET_PLATFORM Compiler option ID: Defining Target Java Platform. |
String | COMPILER_CODEGEN_INLINE_JSR_BYTECODE Compiler option ID: Inline JSR Bytecode Instruction. |
String | COMPILER_DOC_COMMENT_SUPPORT Compiler option ID: Javadoc Comment Support. |
String | COMPILER_PB_UNREACHABLE_CODE |
String | COMPILER_PB_INVALID_IMPORT |
String | COMPILER_PB_OVERRIDING_PACKAGE_DEFAULT_METHOD Compiler option ID: Reporting Attempt to Override Package Visible Method. |
String | COMPILER_PB_METHOD_WITH_CONSTRUCTOR_NAME Compiler option ID: Reporting Method With Constructor Name. |
String | COMPILER_PB_DEPRECATION Compiler option ID: Reporting Deprecation. |
String | COMPILER_PB_DEPRECATION_WHEN_OVERRIDING_DEPRECATED_METHOD Compiler option ID: Reporting Deprecation When Overriding Deprecated Method. |
String | COMPILER_PB_HIDDEN_CATCH_BLOCK Compiler option ID: Reporting Hidden Catch Block. |
String | COMPILER_PB_UNUSED_LOCAL Compiler option ID: Reporting Unused Local. |
String | COMPILER_PB_UNUSED_PARAMETER Compiler option ID: Reporting Unused Parameter. |
String | COMPILER_PB_UNUSED_PARAMETER_WHEN_IMPLEMENTING_ABSTRACT Compiler option ID: Reporting Unused Parameter if Implementing Abstract Method. |
String | COMPILER_PB_UNUSED_PARAMETER_WHEN_OVERRIDING_CONCRETE Compiler option ID: Reporting Unused Parameter if Overriding Concrete Method. |
String | COMPILER_PB_UNUSED_PARAMETER_INCLUDE_DOC_COMMENT_REFERENCE Compiler option ID: Consider Reference in Doc Comment for Unused Parameter Check. |
String | COMPILER_PB_UNUSED_IMPORT Compiler option ID: Reporting Unused Import. |
String | COMPILER_PB_SYNTHETIC_ACCESS_EMULATION Compiler option ID: Reporting Synthetic Access Emulation. |
String | COMPILER_PB_UNUSED_TYPE_PARAMETER Compiler option ID: Reporting Unused Type Parameter. |
String | COMPILER_PB_NON_NLS_STRING_LITERAL Compiler option ID: Reporting Non-Externalized String Literal. |
String | COMPILER_PB_ASSERT_IDENTIFIER Compiler option ID: Reporting Usage of 'assert' Identifier. |
String | COMPILER_PB_ENUM_IDENTIFIER Compiler option ID: Reporting Usage of 'enum' Identifier. |
String | COMPILER_PB_STATIC_ACCESS_RECEIVER Compiler option ID: Reporting Non-Static Reference to a Static Member. |
String | COMPILER_PB_INDIRECT_STATIC_ACCESS Compiler option ID: Reporting Indirect Reference to a Static Member. |
String | COMPILER_PB_NO_EFFECT_ASSIGNMENT Compiler option ID: Reporting Assignment with no Effect. |
String | COMPILER_PB_INCOMPATIBLE_NON_INHERITED_INTERFACE_METHOD Compiler option ID: Reporting Interface Method not Compatible with non-Inherited Methods. |
String | COMPILER_PB_UNUSED_PRIVATE_MEMBER Compiler option ID: Reporting Unused Private Members. |
String | COMPILER_PB_LOCAL_VARIABLE_HIDING Compiler option ID: Reporting Local Variable Declaration Hiding another Variable. |
String | COMPILER_PB_SPECIAL_PARAMETER_HIDING_FIELD Compiler option ID: Reporting Special Parameter Hiding another Field. |
String | COMPILER_PB_FIELD_HIDING Compiler option ID: Reporting Field Declaration Hiding another Variable. |
String | COMPILER_PB_TYPE_PARAMETER_HIDING Compiler option ID: Reporting Type Declaration Hiding another Type. |
String | COMPILER_PB_POSSIBLE_ACCIDENTAL_BOOLEAN_ASSIGNMENT Compiler option ID: Reporting Possible Accidental Boolean Assignment. |
String | COMPILER_PB_FALLTHROUGH_CASE Compiler option ID: Reporting Switch Fall-Through Case. |
String | COMPILER_PB_EMPTY_STATEMENT Compiler option ID: Reporting Empty Statements and Unnecessary Semicolons. |
String | COMPILER_PB_UNNECESSARY_TYPE_CHECK Compiler option ID: Reporting Unnecessary Type Check. |
String | COMPILER_PB_UNNECESSARY_ELSE Compiler option ID: Reporting Unnecessary Else. |
String | COMPILER_PB_UNDOCUMENTED_EMPTY_BLOCK Compiler option ID: Reporting Undocumented Empty Block. |
String | COMPILER_PB_FINALLY_BLOCK_NOT_COMPLETING Compiler option ID: Reporting Finally Blocks Not Completing Normally. |
String | COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION Compiler option ID: Reporting Unused Declared Thrown Exception. |
String | COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION_WHEN_OVERRIDING Compiler option ID: Reporting Unused Declared Thrown Exception in Overriding Method. |
String | COMPILER_PB_UNUSED_DECLARED_THROWN_EXCEPTION_INCLUDE_DOC_COMMENT_REFERENCE Compiler option ID: Consider Reference in Doc Comment for Unused Declared Thrown Exception Check. |
String | COMPILER_PB_UNQUALIFIED_FIELD_ACCESS Compiler option ID: Reporting Unqualified Access to Field. |
String | COMPILER_PB_UNCHECKED_TYPE_OPERATION Compiler option ID: Reporting Unchecked Type Operation. |
String | COMPILER_PB_RAW_TYPE_REFERENCE Compiler option ID: Reporting Raw Type Reference. |
String | COMPILER_PB_FINAL_PARAMETER_BOUND Compiler option ID: Reporting final Bound for Type Parameter. |
String | COMPILER_PB_MISSING_SERIAL_VERSION Compiler option ID: Reporting Missing Declaration of serialVersionUID Field on Serializable Class. |
String | COMPILER_PB_VARARGS_ARGUMENT_NEED_CAST Compiler option ID: Reporting Varargs Argument Needing a Cast in Method/Constructor Invocation. |
String | COMPILER_PB_AUTOBOXING Compiler option ID: Reporting Boxing/Unboxing Conversion. |
String | COMPILER_PB_ANNOTATION_SUPER_INTERFACE Compiler option ID: Reporting Use of Annotation Type as Super Interface. |
String | COMPILER_PB_MISSING_OVERRIDE_ANNOTATION Compiler option ID: Reporting Missing @Override Annotation. |
String | COMPILER_PB_MISSING_DEPRECATED_ANNOTATION Compiler option ID: Reporting Missing @Deprecated Annotation. |
String | COMPILER_PB_MISSING_HASHCODE_METHOD Compiler option ID: Reporting Missing HashCode Method. |
String | COMPILER_PB_DEAD_CODE Compiler option ID: Reporting Dead Code. |
String | COMPILER_PB_INCOMPLETE_ENUM_SWITCH Compiler option ID: Reporting Incomplete Enum Switch. |
String | COMPILER_PB_SWITCH_MISSING_DEFAULT_CASE Compiler option ID: Reporting Missing Default Case In Switch. |
String | COMPILER_PB_UNUSED_LABEL Compiler option ID: Reporting Unreferenced Label. |
String | COMPILER_PB_INVALID_JAVADOC Compiler option ID: Reporting Invalid Javadoc Comment. |
String | COMPILER_PB_INVALID_JAVADOC_TAGS Compiler option ID: Reporting Invalid Javadoc Tags. |
String | COMPILER_PB_INVALID_JAVADOC_TAGS__DEPRECATED_REF Compiler option ID: Reporting Invalid Javadoc Tags with Deprecated References. |
String | COMPILER_PB_INVALID_JAVADOC_TAGS__NOT_VISIBLE_REF Compiler option ID: Reporting Invalid Javadoc Tags with Not Visible References. |
String | COMPILER_PB_INVALID_JAVADOC_TAGS_VISIBILITY Compiler option ID: Visibility Level For Invalid Javadoc Tags. |
String | COMPILER_PB_MISSING_JAVADOC_TAG_DESCRIPTION Compiler option ID: Reporting missing tag description. |
String | COMPILER_PB_MISSING_JAVADOC_TAGS Compiler option ID: Reporting Missing Javadoc Tags. |
String | COMPILER_PB_MISSING_JAVADOC_TAGS_VISIBILITY Compiler option ID: Visibility Level For Missing Javadoc Tags. |
String | COMPILER_PB_MISSING_JAVADOC_TAGS_OVERRIDING Compiler option ID: Reporting Missing Javadoc Tags on Overriding Methods. |
String | COMPILER_PB_MISSING_JAVADOC_COMMENTS Compiler option ID: Reporting Missing Javadoc Comments. |
String | COMPILER_PB_MISSING_JAVADOC_COMMENTS_VISIBILITY Compiler option ID: Visibility Level For Missing Javadoc Comments. |
String | COMPILER_PB_MISSING_JAVADOC_COMMENTS_OVERRIDING Compiler option ID: Reporting Missing Javadoc Comments on Overriding Methods. |
String | COMPILER_PB_CHAR_ARRAY_IN_STRING_CONCATENATION Compiler option ID: Reporting Usage of char[] Expressions in String Concatenations. |
String | COMPILER_PB_MAX_PER_UNIT Compiler option ID: Maximum Number of Problems Reported per Compilation Unit. |
String | COMPILER_PB_PARAMETER_ASSIGNMENT Compiler option ID: Reporting Parameter Assignment. |
String | COMPILER_PB_MISSING_STATIC_ON_METHOD Compiler option ID: Reporting a method that qualifies as static, but not declared static. |
String | COMPILER_PB_POTENTIALLY_MISSING_STATIC_ON_METHOD Compiler option ID: Reporting a method that may qualify as static, but not declared static. |
String | COMPILER_PB_POTENTIALLY_UNCLOSED_CLOSEABLE Compiler option ID: Reporting a resource that may not be closed properly. |
String | COMPILER_ANNOTATION_NULL_ANALYSIS Compiler option ID: Annotation-based Null Analysis. |
String | COMPILER_NULLABLE_ANNOTATION_NAME Compiler option ID: Name of Annotation Type for Nullable Types. |
String | COMPILER_NONNULL_ANNOTATION_NAME Compiler option ID: Name of Annotation Type for Non-Null Types. |
String | COMPILER_NONNULL_BY_DEFAULT_ANNOTATION_NAME Compiler option ID: Name of Annotation Type to specify a nullness default for unannotated types. |
String | COMPILER_SOURCE Compiler option ID: Setting Source Compatibility Mode. |
String | COMPILER_COMPLIANCE Compiler option ID: Setting Compliance Level. |
String | COMPILER_TASK_PRIORITIES Compiler option ID: Defining the Automatic Task Priorities. |
String | COMPILER_TASK_TAGS Compiler option ID: Defining the Automatic Task Tags. |
String | COMPILER_TASK_CASE_SENSITIVE Compiler option ID: Determining whether task tags are case-sensitive. |
String | COMPILER_PB_FORBIDDEN_REFERENCE Compiler option ID: Reporting Forbidden Reference to Type with Restricted Access. |
String | COMPILER_PB_DISCOURAGED_REFERENCE Compiler option ID: Reporting Discouraged Reference to Type with Restricted Access. |
String | COMPILER_PB_SUPPRESS_WARNINGS Compiler option ID: Determining Effect of @SuppressWarnings . |
String | COMPILER_PB_SUPPRESS_OPTIONAL_ERRORS Compiler option ID: Further Determining the Effect of @SuppressWarnings if also #COMPILER_PB_SUPPRESS_WARNINGS is enabled. |
String | COMPILER_PB_UNHANDLED_WARNING_TOKEN Compiler option ID: Reporting Unhandled Warning Token for @SuppressWarnings . |
String | COMPILER_PB_UNUSED_WARNING_TOKEN Compiler option ID: Reporting Unnecessary @SuppressWarnings . |
String | COMPILER_PB_NULL_REFERENCE Compiler option ID: Reporting Null Dereference. |
String | COMPILER_PB_POTENTIAL_NULL_REFERENCE Compiler option ID: Reporting Potential Null Dereference. |
String | COMPILER_PB_REDUNDANT_NULL_CHECK Compiler option ID: Reporting Redundant Null Check. |
String | COMPILER_PB_MISSING_SYNCHRONIZED_ON_INHERITED_METHOD Compiler option ID: Reporting Missing Synchronized Modifier On Inherited Method. |
String | COMPILER_PB_UNUSED_OBJECT_ALLOCATION Compiler option ID: Reporting Allocation of an Unused Object. |
String | COMPILER_PB_REDUNDANT_TYPE_ARGUMENTS Compiler option ID: Reporting redundant specification of type arguments in class instance creation expressions. |
String | CORE_JAVA_BUILD_ORDER Core option ID: Computing Project Build Order. |
String | CORE_JAVA_BUILD_RESOURCE_COPY_FILTER Core option ID: Specifying Filters for Resource Copying Control. |
String | CORE_JAVA_BUILD_DUPLICATE_RESOURCE Core option ID: Reporting Duplicate Resources. |
String | CORE_JAVA_BUILD_CLEAN_OUTPUT_FOLDER Core option ID: Cleaning Output Folder(s). |
String | CORE_JAVA_BUILD_RECREATE_MODIFIED_CLASS_FILES_IN_OUTPUT_FOLDER Core option ID: Recreate Modified class files in Output Folder. |
String | CORE_INCOMPLETE_CLASSPATH Core option ID: Reporting Incomplete Classpath. |
String | CORE_CIRCULAR_CLASSPATH Core option ID: Reporting Classpath Cycle. |
String | CORE_INCOMPATIBLE_JDK_LEVEL Core option ID: Reporting Incompatible JDK Level for Required Binaries. |
String | CORE_JAVA_BUILD_INVALID_CLASSPATH Core option ID: Abort if Invalid Classpath. |
String | CORE_ENCODING Core option ID: Default Source Encoding Format. |
String | CORE_ENABLE_CLASSPATH_EXCLUSION_PATTERNS Core option ID: Enabling Usage of Classpath Exclusion Patterns. |
String | CORE_ENABLE_CLASSPATH_MULTIPLE_OUTPUT_LOCATIONS Core option ID: Enabling Usage of Classpath Multiple Output Locations. |
String | CORE_OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE Core option ID: Reporting an output location overlapping another source location. |
String | TIMEOUT_FOR_PARAMETER_NAME_FROM_ATTACHED_JAVADOC Core option ID: Set the timeout value for retrieving the method's parameter names from javadoc. |
String | FORMATTER_LINE_SPLIT |
String | FORMATTER_TAB_CHAR |
String | FORMATTER_TAB_SIZE |
String | CODEASSIST_VISIBILITY_CHECK Code assist option ID: Activate Visibility Sensitive Completion. |
String | CODEASSIST_DEPRECATION_CHECK Code assist option ID: Activate Deprecation Sensitive Completion. |
String | CODEASSIST_CAMEL_CASE_MATCH Code assist option ID: Activate Camel Case Sensitive Completion. |
String | CODEASSIST_IMPLICIT_QUALIFICATION Code assist option ID: Automatic Qualification of Implicit Members. |
String | CODEASSIST_FIELD_PREFIXES Code assist option ID: Define the Prefixes for Field Name. |
String | CODEASSIST_STATIC_FIELD_PREFIXES Code assist option ID: Define the Prefixes for Static Field Name. |
String | CODEASSIST_STATIC_FINAL_FIELD_PREFIXES Code assist option ID: Define the Prefixes for Static Final Field Name. |
String | CODEASSIST_LOCAL_PREFIXES Code assist option ID: Define the Prefixes for Local Variable Name. |
String | CODEASSIST_ARGUMENT_PREFIXES Code assist option ID: Define the Prefixes for Argument Name. |
String | CODEASSIST_FIELD_SUFFIXES Code assist option ID: Define the Suffixes for Field Name. |
String | CODEASSIST_STATIC_FIELD_SUFFIXES Code assist option ID: Define the Suffixes for Static Field Name. |
String | CODEASSIST_STATIC_FINAL_FIELD_SUFFIXES Code assist option ID: Define the Suffixes for Static Final Field Name. |
String | CODEASSIST_LOCAL_SUFFIXES Code assist option ID: Define the Suffixes for Local Variable Name. |
String | CODEASSIST_ARGUMENT_SUFFIXES Code assist option ID: Define the Suffixes for Argument Name. |
String | CODEASSIST_FORBIDDEN_REFERENCE_CHECK Code assist option ID: Activate Forbidden Reference Sensitive Completion. |
String | CODEASSIST_DISCOURAGED_REFERENCE_CHECK Code assist option ID: Activate Discouraged Reference Sensitive Completion. |
String | CODEASSIST_SUGGEST_STATIC_IMPORTS Code assist option ID: Activate Suggestion of Static Import. |
String | DEFAULT_TASK_TAGS Configurable option value: . |
String | DEFAULT_TASK_PRIORITIES Configurable option value: . |
String | GENERATE Configurable option value: . |
String | PRESERVE Configurable option value: . |
String | COMPILER_TASK_PRIORITY_HIGH Configurable option value for #COMPILER_TASK_PRIORITIES : . |
String | COMPILER_TASK_PRIORITY_LOW Configurable option value for #COMPILER_TASK_PRIORITIES : . |
String | VERSION_1_1 Configurable option value: . |
String | VERSION_1_2 Configurable option value: . |
String | VERSION_1_3 Configurable option value: . |
String | VERSION_1_4 Configurable option value: . |
String | VERSION_1_5 Configurable option value: . |
String | VERSION_1_6 Configurable option value: . |
String | VERSION_1_7 Configurable option value: . |
String | VERSION_1_8 Configurable option value: . |
String | VERSION_10 Configurable option value: . |
String | VERSION_11 Configurable option value: . |
String | VERSION_CLDC_1_1 Configurable option value: . |
String | ABORT Configurable option value: . |
String | ERROR Configurable option value: . |
String | WARNING Configurable option value: . |
String | IGNORE Configurable option value: . |
String | COMPUTE Configurable option value: . |
String | INSERT Configurable option value: . |
String | DO_NOT_INSERT Configurable option value: . |
String | TAB Configurable option value: . |
String | SPACE Configurable option value: . |
String | ENABLED Configurable option value: . |
String | DISABLED Configurable option value: . |
String | CLEAN Configurable option value: . |
String | PUBLIC Configurable option value: . |
String | COMPILER_PB_MISSING_JAVADOC_TAG_DESCRIPTION_RETURN_TAG Configurable option value: . |
String | JAVA_SOURCE_CONTENT_TYPE Value of the content-type for Java source files. |
JavaCore() Creates the Java core plug-in. |
void | addElementChangedListener(IElementChangedListener listener, int eventMask) Adds the given listener for changes to Java elements. |
void | addElementChangedListener(IElementChangedListener listener) Adds the given listener for changes to Java elements. |
void | addJavaElementMarkerAttributes(Map attributes, IJavaElement element) Configures the given marker attribute map for the given Java element. |
void | addPreProcessingResourceChangedListener(IResourceChangeListener listener, int eventMask) Adds the given listener for resource change events of the given types to the Java core. |
int | compareJavaVersions(String first, String second) Compares two given versions of the Java platform. |
IJavaElement | create(String handleIdentifier) Returns the Java model element corresponding to the given handle identifier generated by IJavaElement.getHandleIdentifier() , or null if unable to create the associated element. |
IJavaElement | create(IFile file) Returns the Java element corresponding to the given file, or null if unable to associate the given file with a Java element. |
IJavaElement | create(IFolder folder) Returns the package fragment or package fragment root corresponding to the given folder, or null if unable to associate the given folder with a Java element. |
IJavaProject | create(IProject project) Returns the Java project corresponding to the given project. |
IJavaElement | create(IResource resource) Returns the Java element corresponding to the given resource, or null if unable to associate the given resource with a Java element. |
IJavaModel | create(IWorkspaceRoot root) Returns the Java model. |
IJavaElement | create(String handleIdentifier, WorkingCopyOwner owner) Returns the Java model element corresponding to the given handle identifier generated by IJavaElement.getHandleIdentifier() , or null if unable to create the associated element. |
IJavaElement | create(IResource resource, IJavaProject project) Returns the Java element corresponding to the given file, its project being the given project. |
IClassFile | createClassFileFrom(IFile file) Creates and returns a class file element for the given .class file. |
ICompilationUnit | createCompilationUnitFrom(IFile file) Creates and returns a compilation unit element for the given source file (i.e. |
IPackageFragmentRoot | createJarPackageFragmentRootFrom(IFile file) Creates and returns a handle for the given JAR file. |
IClasspathContainer | getClasspathContainer(IPath containerPath, IJavaProject project) Answers the project specific value for a given classpath container. |
ClasspathContainerInitializer | getClasspathContainerInitializer(String containerID) Helper method finding the classpath container initializer registered for a given classpath container ID or null if none was found while iterating over the contributions to extension point to the extension point "org.eclipse.jdt.core.classpathContainerInitializer". |
IPath | getClasspathVariable(final String variableName) Returns the path held in the given classpath variable. |
String | getClasspathVariableDeprecationMessage(String variableName) Returns deprecation message of a given classpath variable. |
String[] | getClasspathVariableNames() Returns the names of all known classpath variables. |
Hashtable | getDefaultOptions() Returns a table of all known configurable options with their default values. |
String | getEncoding() Returns the workspace root default charset encoding. |
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. |
JavaCore | getJavaCore() Returns the single instance of the Java core plug-in runtime class. |
String[] | getJavaLikeExtensions() Returns the list of known Java-like extensions. |
String | getOption(String optionName) Helper method for returning one option value only. |
String | getOptionForConfigurableSeverity(int problemID) Returns the option that can be used to configure the severity of the compiler problem identified by problemID if any, null otherwise. |
Hashtable | getOptions() Returns the table of the current options. |
Plugin | getPlugin() Returns the single instance of the Java core plug-in runtime class. |
IClasspathEntry | getResolvedClasspathEntry(IClasspathEntry entry) This is a helper method, which returns the resolved classpath entry denoted by a given entry (if it is a variable entry). |
IPath | getResolvedVariablePath(IPath variablePath) Resolve a variable path (helper method). |
String[] | getUserLibraryNames() Returns the names of all defined user libraries. |
ICompilationUnit[] | getWorkingCopies(WorkingCopyOwner owner) Returns the working copies that have the given owner. |
void | initializeAfterLoad(IProgressMonitor monitor) Initializes JavaCore internal structures to allow subsequent operations (such as the ones that need a resolved classpath) to run full speed. |
boolean | isJavaLikeFileName(String fileName) Returns whether the given file name's extension is a Java-like extension. |
boolean | isReferencedBy(IJavaElement element, IMarker marker) Returns whether the given marker references the given Java element. |
boolean | isReferencedBy(IJavaElement element, IMarkerDelta markerDelta) Returns whether the given marker delta references the given Java element. |
IAccessRule | newAccessRule(IPath filePattern, int kind) Creates and returns a new access rule with the given file pattern and kind. |
IClasspathAttribute | newClasspathAttribute(String name, String value) Creates and returns a new classpath attribute with the given name and the given value. |
IClasspathEntry | newContainerEntry(IPath containerPath) Creates and returns a new classpath entry of kind CPE_CONTAINER for the given path. |
IClasspathEntry | newContainerEntry(IPath containerPath, IAccessRule[] accessRules, IClasspathAttribute[] extraAttributes, boolean isExported) Creates and returns a new classpath entry of kind CPE_CONTAINER for the given path. |
IClasspathEntry | newContainerEntry(IPath containerPath, boolean isExported) Creates and returns a new classpath entry of kind CPE_CONTAINER for the given path. |
IClasspathEntry | newLibraryEntry(IPath path, IPath sourceAttachmentPath, IPath sourceAttachmentRootPath) Creates and returns a new non-exported classpath entry of kind CPE_LIBRARY for the JAR or folder identified by the given absolute path. |
IClasspathEntry | newLibraryEntry(IPath path, IPath sourceAttachmentPath, IPath sourceAttachmentRootPath, IAccessRule[] accessRules, IClasspathAttribute[] extraAttributes, boolean isExported) Creates and returns a new classpath entry of kind CPE_LIBRARY for the JAR or folder identified by the given absolute path. |
IClasspathEntry | newLibraryEntry(IPath path, IPath sourceAttachmentPath, IPath sourceAttachmentRootPath, boolean isExported) Creates and returns a new classpath entry of kind CPE_LIBRARY for the JAR or folder identified by the given absolute path. |
IClasspathEntry | newProjectEntry(IPath path, IAccessRule[] accessRules, boolean combineAccessRules, IClasspathAttribute[] extraAttributes, boolean isExported) Creates and returns a new classpath entry of kind CPE_PROJECT for the project identified by the given absolute path. |
IClasspathEntry | newProjectEntry(IPath path, boolean isExported) Creates and returns a new classpath entry of kind CPE_PROJECT for the project identified by the given absolute path. |
IClasspathEntry | newProjectEntry(IPath path) Creates and returns a new non-exported classpath entry of kind CPE_PROJECT for the project identified by the given absolute path. |
IRegion | newRegion() Returns a new empty region. |
IClasspathEntry | newSourceEntry(IPath path) Creates and returns a new classpath entry of kind CPE_SOURCE for all files in the project's source folder identified by the given absolute workspace-relative path. |
IClasspathEntry | newSourceEntry(IPath path, IPath[] inclusionPatterns, IPath[] exclusionPatterns, IPath specificOutputLocation, IClasspathAttribute[] extraAttributes) Creates and returns a new classpath entry of kind CPE_SOURCE for 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. |
IClasspathEntry | newSourceEntry(IPath path, IPath[] exclusionPatterns, IPath specificOutputLocation) Creates and returns a new classpath entry of kind CPE_SOURCE for 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). |
IClasspathEntry | newSourceEntry(IPath path, IPath[] exclusionPatterns) Creates and returns a new classpath entry of kind CPE_SOURCE for 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. |
IClasspathEntry | newSourceEntry(IPath path, IPath[] inclusionPatterns, IPath[] exclusionPatterns, IPath specificOutputLocation) Creates and returns a new classpath entry of kind CPE_SOURCE for 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). |
ITypeHierarchy | newTypeHierarchy(IRegion region, WorkingCopyOwner owner, 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. |
IClasspathEntry | newVariableEntry(IPath variablePath, IPath variableSourceAttachmentPath, IPath sourceAttachmentRootPath) Creates and returns a new non-exported classpath entry of kind CPE_VARIABLE for the given path. |
IClasspathEntry | newVariableEntry(IPath variablePath, IPath variableSourceAttachmentPath, IPath variableSourceAttachmentRootPath, IAccessRule[] accessRules, IClasspathAttribute[] extraAttributes, boolean isExported) Creates and returns a new classpath entry of kind CPE_VARIABLE for the given path. |
IClasspathEntry | newVariableEntry(IPath variablePath, IPath variableSourceAttachmentPath, IPath variableSourceAttachmentRootPath, boolean isExported) Creates and returns a new classpath entry of kind CPE_VARIABLE for the given path. |
void | removeClasspathVariable(String variableName, IProgressMonitor monitor) Removed the given classpath variable. |
void | removeElementChangedListener(IElementChangedListener listener) Removes the given element changed listener. |
String | removeJavaLikeExtension(String fileName) Removes the file extension from the given file name, if it has a Java-like file extension. |
void | removePreProcessingResourceChangedListener(IResourceChangeListener listener) Removes the given pre-processing resource changed listener. |
void | run(IWorkspaceRunnable action, ISchedulingRule rule, IProgressMonitor monitor) Runs the given action as an atomic Java model operation. |
void | run(IWorkspaceRunnable action, IProgressMonitor monitor) Runs the given action as an atomic Java model operation. |
void | setClasspathContainer(IPath containerPath, IJavaProject[] affectedProjects, IClasspathContainer[] respectiveContainers, IProgressMonitor monitor) Bind a container reference path to some actual containers ( IClasspathContainer ). |
void | setClasspathVariable(String variableName, IPath path, IProgressMonitor monitor) Sets the value of the given classpath variable. |
void | setClasspathVariable(String variableName, IPath path) Sets the value of the given classpath variable. |
void | setClasspathVariables(String[] variableNames, IPath[] paths, IProgressMonitor monitor) Sets the values of all the given classpath variables at once. |
void | setComplianceOptions(String compliance, Map options) Sets the default compiler options inside the given options map according to the given compliance. |
void | setOptions(Hashtable Sets the current table of options. |