# Uses of Interface
org.eclipse.jdt.core.dom.IMethodBinding

Packages that use IMethodBinding
Package
Description
org.eclipse.jdt.core.dom
The Java DOM/AST is the set of classes that model the source code of a Java program as a structured document.
org.eclipse.jdt.core.manipulation
Application programming interface for the JDT core manipulation plug-in class.
org.eclipse.jdt.core.util
Provides a set of tools and utilities for manipulating .class files and Java model elements.
org.eclipse.jdt.ui
Application programming interfaces for interaction with the Eclipse Java User Interface.
org.eclipse.jdt.ui.actions
Application programming interfaces for Eclipse Java User Interface specific actions.

## Uses of IMethodBinding in org.eclipse.jdt.core.dom

Methods in org.eclipse.jdt.core.dom that return IMethodBinding
Modifier and Type
Method
Description
`IMethodBinding[]`
ITypeBinding.`getDeclaredMethods()`
Returns a list of method bindings representing all the methods and constructors declared for this class, interface, enum, or annotation type.
`IMethodBinding`
ITypeBinding.`getDeclaringMethod()`
Returns the method binding representing the method that declares this binding of a local type or type variable.
`IMethodBinding`
IVariableBinding.`getDeclaringMethod()`
Returns the method binding representing the method containing the scope in which this local variable is declared.
`IMethodBinding`
ITypeBinding.`getFunctionalInterfaceMethod()`
Returns the single abstract method that constitutes the single function contract (aside from any redeclarations of methods of `java.lang.Object`) of the receiver interface type or `null` if there is no such contract or if the receiver is not an interface.
`IMethodBinding`
IMemberValuePairBinding.`getMethodBinding()`
Returns the method binding corresponding to the named annotation type member.
`IMethodBinding`
IMethodBinding.`getMethodDeclaration()`
Returns the binding for the method declaration corresponding to this method binding.
`IMethodBinding`
AnnotationTypeMemberDeclaration.`resolveBinding()`
Resolves and returns the binding for the annotation type member declared in this declaration.
`IMethodBinding`
MethodDeclaration.`resolveBinding()`
Resolves and returns the binding for the method or constructor declared in this method or constructor declaration.
`IMethodBinding`
ClassInstanceCreation.`resolveConstructorBinding()`
Resolves and returns the binding for the constructor invoked by this expression.
`IMethodBinding`
ConstructorInvocation.`resolveConstructorBinding()`
Resolves and returns the binding for the constructor invoked by this expression.
`IMethodBinding`
EnumConstantDeclaration.`resolveConstructorBinding()`
Resolves and returns the binding for the constructor invoked by this enum constant.
`IMethodBinding`
SuperConstructorInvocation.`resolveConstructorBinding()`
Resolves and returns the binding for the constructor invoked by this expression.
`IMethodBinding`
LambdaExpression.`resolveMethodBinding()`
Resolves and returns the binding for the lambda expression
`IMethodBinding`
MethodInvocation.`resolveMethodBinding()`
Resolves and returns the binding for the method invoked by this expression.
`IMethodBinding`
MethodReference.`resolveMethodBinding()`
Resolves and returns the binding for the method referenced by this method reference expression.
`IMethodBinding`
SuperMethodInvocation.`resolveMethodBinding()`
Resolves and returns the binding for the method invoked by this expression.
Methods in org.eclipse.jdt.core.dom with parameters of type IMethodBinding
Modifier and Type
Method
Description
`boolean`
IMethodBinding.`isSubsignature(IMethodBinding otherMethod)`
Returns whether this method's signature is a subsignature of the given method as specified in section 8.4.2 of The Java Language Specification, Third Edition (JLS3).
`boolean`
IMethodBinding.`overrides(IMethodBinding method)`
Returns whether this method overrides the given method, as specified in section 8.4.8.1 of The Java Language Specification, Third Edition (JLS3).

## Uses of IMethodBinding in org.eclipse.jdt.core.manipulation

Methods in org.eclipse.jdt.core.manipulation with parameters of type IMethodBinding
Modifier and Type
Method
Description
`static String`
CodeGeneration.`getMethodComment(ICompilationUnit cu, String declaringTypeName, MethodDeclaration decl, IMethodBinding overridden, String lineDelimiter)`
Returns the comment for a method or constructor using the comment code templates (constructor / method / overriding method).

## Uses of IMethodBinding in org.eclipse.jdt.core.util

Methods in org.eclipse.jdt.core.util with parameters of type IMethodBinding
Modifier and Type
Method
Description
`static String`
ExternalAnnotationUtil.`extractGenericSignature(IMethodBinding methodBinding)`
Answer the give method's signature in class file format.

## Uses of IMethodBinding in org.eclipse.jdt.ui

Methods in org.eclipse.jdt.ui with parameters of type IMethodBinding
Modifier and Type
Method
Description
`static String`
CodeGeneration.`getMethodComment(ICompilationUnit cu, String declaringTypeName, MethodDeclaration decl, IMethodBinding overridden, String lineDelimiter)`
Deprecated.
Returns the comment for a method or constructor using the comment code templates (constructor / method / overriding method).

## Uses of IMethodBinding in org.eclipse.jdt.ui.actions

Methods in org.eclipse.jdt.ui.actions with parameters of type IMethodBinding
Modifier and Type
Method
Description
`static IWorkspaceRunnable`
AddUnimplementedConstructorsAction.`createRunnable(CompilationUnit astRoot, ITypeBinding type, IMethodBinding[] constructorsToOverride, int insertPos, boolean createComments, int visibility, boolean omitSuper)`
Returns a runnable that creates the constructor stubs.
`static IWorkspaceRunnable`
OverrideMethodsAction.`createRunnable(CompilationUnit astRoot, ITypeBinding type, IMethodBinding[] methodToOverride, int insertPos, boolean createComments)`
Returns a runnable that creates the method stubs for overridden methods.