Package | Description |
---|---|
org.eclipse.wst.jsdt.core.dom | |
org.eclipse.wst.jsdt.ui | |
org.eclipse.wst.jsdt.ui.actions |
Modifier and Type | Method and Description |
---|---|
IFunctionBinding[] |
ITypeBinding.getDeclaredMethods()
Returns a list of method bindings representing all the methods and
constructors declared for this class, interface, enum, or annotation
type.
|
IFunctionBinding |
IVariableBinding.getDeclaringMethod()
Returns the method binding representing the method containing the scope
in which this local variable is declared.
|
IFunctionBinding |
ITypeBinding.getDeclaringMethod()
Returns the method binding representing the method that declares this binding
of a local type or type variable.
|
IFunctionBinding |
IFunctionBinding.getMethodDeclaration()
Returns the binding for the method declaration corresponding to this
method binding.
|
IFunctionBinding |
FunctionDeclaration.resolveBinding()
Resolves and returns the binding for the method or constructor declared
in this method or constructor declaration.
|
IFunctionBinding |
SuperConstructorInvocation.resolveConstructorBinding()
Resolves and returns the binding for the constructor invoked by this
expression.
|
IFunctionBinding |
ConstructorInvocation.resolveConstructorBinding()
Resolves and returns the binding for the constructor invoked by this
expression.
|
IFunctionBinding |
ClassInstanceCreation.resolveConstructorBinding()
Resolves and returns the binding for the constructor invoked by this
expression.
|
IFunctionBinding |
SuperMethodInvocation.resolveMethodBinding()
Resolves and returns the binding for the method invoked by this
expression.
|
IFunctionBinding |
FunctionInvocation.resolveMethodBinding()
Resolves and returns the binding for the method invoked by this
expression.
|
Modifier and Type | Method and Description |
---|---|
boolean |
IFunctionBinding.isSubsignature(IFunctionBinding otherMethod)
Returns whether this method's signature is a subsignature of the given method.
|
boolean |
IFunctionBinding.overrides(IFunctionBinding method)
Returns whether this method overrides the given method.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
CodeGeneration.getMethodComment(IJavaScriptUnit cu,
java.lang.String declaringTypeName,
FunctionDeclaration decl,
IFunctionBinding overridden,
java.lang.String lineDelimiter)
Returns the comment for a method or constructor using the comment code templates (constructor / method / overriding method).
|
Modifier and Type | Method and Description |
---|---|
static IWorkspaceRunnable |
OverrideMethodsAction.createRunnable(JavaScriptUnit astRoot,
ITypeBinding type,
IFunctionBinding[] methodToOverride,
int insertPos,
boolean createComments)
Returns a runnable that creates the method stubs for overridden methods.
|
static IWorkspaceRunnable |
AddUnimplementedConstructorsAction.createRunnable(JavaScriptUnit astRoot,
ITypeBinding type,
IFunctionBinding[] constructorsToOverride,
int insertPos,
boolean createComments,
int visibility,
boolean omitSuper)
Returns a runnable that creates the constructor stubs.
|
Copyright (c) IBM Corp. and others 2000, 2016. All Rights Reserved.