| Package | Description |
|---|---|
| org.eclipse.wst.jsdt.core | |
| org.eclipse.wst.jsdt.ui | |
| org.eclipse.wst.jsdt.ui.refactoring |
| Modifier and Type | Method and Description |
|---|---|
IField |
IType.createField(java.lang.String contents,
IJavaScriptElement sibling,
boolean force,
IProgressMonitor monitor)
Creates and returns a field in this type with the
given contents.
|
IField |
IJavaScriptUnit.createField(java.lang.String contents,
IJavaScriptElement sibling,
boolean force,
IProgressMonitor monitor)
Creates and returns a var in this javaScript file with the
given contents.
|
IField |
IType.getField(java.lang.String name)
Returns the field with the specified name
in this type (for example,
"bar"). |
IField |
IFunctionContainer.getField(java.lang.String name)
Returns the field with the specified name
in this type (for example,
"bar"). |
IField[] |
IType.getFields()
Returns the fields declared by this type.
|
IField[] |
IFunctionContainer.getFields()
Returns the fields declared by this type or javascript file.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
JavaScriptElementLabels.getFieldLabel(IField field,
long flags,
java.lang.StringBuffer buf)
Appends the label for a field to a
StringBuffer. |
| Modifier and Type | Method and Description |
|---|---|
static RenameSupport |
RenameSupport.create(IField field,
java.lang.String newName,
int flags)
Creates a new rename support for the given
IField. |
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.