Uses of Interface
org.eclipse.jdt.core.dom.IBinding
Package
Description
The Java DOM/AST is the set of classes that model the source code of a Java program
as a structured document.
The Java DOM/AST rewrite is the set of classes that are used to make changes to an existing DOM/AST tree.
-
Uses of IBinding in org.eclipse.jdt.core.dom
Modifier and TypeInterfaceDescriptioninterface
Represents a resolved annotation.interface
Represents a resolved instance of an annotation's member value pair.interface
A method binding represents a method or constructor of a class or interface.interface
A module binding represents a module (added in JLS9 API).interface
A package binding represents a named or unnamed package.interface
A type binding represents a fully-resolved type.interface
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 TypeMethodDescriptionIBinding[]
ASTParser.createBindings
(IJavaElement[] elements, org.eclipse.core.runtime.IProgressMonitor monitor) Creates bindings for a batch of Java elements.final IBinding[]
ASTRequestor.createBindings
(String[] bindingKeys) Resolves bindings for the given binding keys.final IBinding[]
FileASTRequestor.createBindings
(String[] bindingKeys) Resolves bindings for the given binding keys.IMethodBinding.getDeclaringMember()
If this method binding represents a lambda expression then: If the lambda expression is declared in the body of a method, answers the binding of that declaring method.ITypeBinding.getDeclaringMember()
If this type binding represents a local type, possibly an anonymous class, then: If the local type is declared in the body of a method, answers the binding of that declaring method.ImportDeclaration.resolveBinding()
Resolves and returns the binding for the package, type, field, or method named in this import declaration.final IBinding
MemberRef.resolveBinding()
Resolves and returns the binding for the entity referred to by this member reference.final IBinding
MethodRef.resolveBinding()
Resolves and returns the binding for the entity referred to by this method reference.final IBinding
Name.resolveBinding()
Resolves and returns the binding for the entity referred to by this name.Modifier and TypeMethodDescriptionvoid
ASTRequestor.acceptBinding
(String bindingKey, IBinding binding) Accepts a binding corresponding to the binding key.void
FileASTRequestor.acceptBinding
(String bindingKey, IBinding binding) Accepts a binding corresponding to the binding key.CompilationUnit.findDeclaringNode
(IBinding binding) Finds the corresponding AST node in the given compilation unit from which the given binding originated.boolean
Returns whether this binding has the same key as that of the given binding. -
Uses of IBinding in org.eclipse.jdt.core.dom.rewrite
Modifier and TypeMethodDescriptionImportRewrite.addStaticImport
(IBinding binding) Adds a new static import to the rewriter's record and returns a name - single member name if import is successful, else qualified name.ImportRewrite.addStaticImport
(IBinding binding, ImportRewrite.ImportRewriteContext context) Adds a new static import to the rewriter's record and returns a name - single member name if import is successful, else qualified name.