Package | Description |
---|---|
org.eclipse.wst.jsdt.core.dom | |
org.eclipse.wst.jsdt.core.dom.rewrite |
Modifier and Type | Interface and Description |
---|---|
interface |
IFunctionBinding
A method binding represents a method or constructor of a class or interface.
|
interface |
IPackageBinding
A package binding represents a named or unnamed package.
|
interface |
ITypeBinding
A type binding represents fully-resolved type.
|
interface |
IVariableBinding
A variable binding represents either a field of a class or interface, or
a local variable declaration (including formal parameters, local variables,
and exception variables).
|
Modifier and Type | Method and Description |
---|---|
IBinding[] |
ASTParser.createBindings(IJavaScriptElement[] elements,
IProgressMonitor monitor)
Creates bindings for a batch of JavaScript elements.
|
IBinding[] |
ASTRequestor.createBindings(java.lang.String[] bindingKeys)
Resolves bindings for the given binding keys.
|
IBinding |
Name.resolveBinding()
Resolves and returns the binding for the entity referred to by this name.
|
IBinding |
MemberRef.resolveBinding()
Resolves and returns the binding for the entity referred to by
this member reference.
|
IBinding |
ImportDeclaration.resolveBinding()
Resolves and returns the binding for the package, type, field, or
method named in this import declaration.
|
IBinding |
FunctionRef.resolveBinding()
Resolves and returns the binding for the entity referred to by
this method reference.
|
Modifier and Type | Method and Description |
---|---|
void |
ASTRequestor.acceptBinding(java.lang.String bindingKey,
IBinding binding)
Accepts a binding corresponding to the binding key.
|
ASTNode |
JavaScriptUnit.findDeclaringNode(IBinding binding)
Finds the corresponding AST node in the given javaScript unit from
which the given binding originated.
|
boolean |
IBinding.isEqualTo(IBinding binding)
Returns whether this binding has the same key as that of the given
binding.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ImportRewrite.addStaticImport(IBinding binding)
Adds a new static import to the rewriter's record and returns a reference that can be used in the code.
|
java.lang.String |
ImportRewrite.addStaticImport(IBinding binding,
ImportRewrite.ImportRewriteContext context)
Adds a new static import to the rewriter's record and returns a reference that can be used in the code.
|
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.