Java org.eclipse.jdt.core IJavaModel fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core IJavaModel fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core IJavaModel.

The text is from its open source code.

Implementation

org.eclipse.jdt.core.IJavaModel has the following implementations.
Click this link to see all its implementation.

Method

booleanexists()
Returns whether this Java element exists in the model.
IJavaProjectgetJavaProject(String name)
Returns the Java project with the given name.
IJavaProject[]getJavaProjects()
Returns the Java projects in this Java model, or an empty array if there are none.
Object[]getNonJavaResources()
Returns an array of non-Java resources (that is, non-Java projects) in the workspace.
IResourcegetResource()
Returns the innermost resource enclosing this element.
IWorkspacegetWorkspace()
Returns the workspace associated with this Java model.
voidrefreshExternalArchives(IJavaElement[] elementsScope, IProgressMonitor monitor)
Triggers an update of the JavaModel with respect to the referenced external archives.
voidrename(IJavaElement[] elements, IJavaElement[] destinations, String[] names, boolean replace, IProgressMonitor monitor)
Renames the given elements as specified.