Package | Description |
---|---|
org.eclipse.wst.jsdt.core.dom | |
org.eclipse.wst.jsdt.core.dom.rewrite | |
org.eclipse.wst.jsdt.ui.actions | |
org.eclipse.wst.jsdt.ui.wizards |
Modifier and Type | Method and Description |
---|---|
ITypeBinding |
ITypeBinding.createArrayType(int dimension)
Answer an array type binding using the receiver and the given dimension.
|
ITypeBinding |
ITypeBinding.getComponentType()
Returns the binding representing the component type of this array type,
or
null if this is not an array type binding. |
ITypeBinding[] |
ITypeBinding.getDeclaredTypes()
Returns a list of type bindings representing all the types declared as
members of this class, interface, or enum type.
|
ITypeBinding |
IVariableBinding.getDeclaringClass()
Returns the type binding representing the class or interface
that declares this field.
|
ITypeBinding |
IFunctionBinding.getDeclaringClass()
Returns the type binding representing the class or interface
that declares this method or constructor.
|
ITypeBinding |
ITypeBinding.getDeclaringClass()
Returns the type binding representing the class, interface, or enum
that declares this binding.
|
ITypeBinding |
ITypeBinding.getElementType()
Returns the binding representing the element type of this array type,
or
null if this is not an array type binding. |
ITypeBinding |
ITypeBinding.getErasure()
Returns the erasure of this type binding.
|
ITypeBinding[] |
IFunctionBinding.getParameterTypes()
Returns a list of type bindings representing the formal parameter types,
in declaration order, of this method or constructor.
|
ITypeBinding |
IFunctionBinding.getReturnType()
Returns the binding for the return type of this method.
|
ITypeBinding |
ITypeBinding.getSuperclass()
Returns the type binding for the superclass of the type represented
by this class binding.
|
ITypeBinding |
IVariableBinding.getType()
Returns the binding for the type of this field or local variable.
|
ITypeBinding |
ITypeBinding.getTypeDeclaration()
Returns the binding for the type declaration corresponding to this type
binding.
|
ITypeBinding |
AbstractTypeDeclaration.resolveBinding()
Resolves and returns the binding for the type declared in this type
declaration.
|
ITypeBinding |
JavaScriptUnit.resolveBinding() |
ITypeBinding |
TypeDeclarationStatement.resolveBinding()
Resolves and returns the binding for the class or interface declared in
this type declaration statement.
|
ITypeBinding |
AnonymousClassDeclaration.resolveBinding()
Resolves and returns the binding for the anonymous class declared in
this declaration.
|
ITypeBinding |
Type.resolveBinding()
Resolves and returns the binding for this type.
|
ITypeBinding |
Expression.resolveTypeBinding()
Resolves and returns the binding for the type of this expression.
|
ITypeBinding |
AST.resolveWellKnownType(java.lang.String name)
Returns the type binding for a "well known" type.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ITypeBinding.isAssignmentCompatible(ITypeBinding variableType)
Returns whether an expression of this type can be assigned to a variable
of the given type.
|
boolean |
ITypeBinding.isCastCompatible(ITypeBinding type)
Returns whether this type is cast compatible with the given type.
|
boolean |
ITypeBinding.isSubTypeCompatible(ITypeBinding type)
Returns whether this type is subtype compatible with the given type.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ImportRewrite.addImport(ITypeBinding binding)
Adds a new import to the rewriter's record and returns a type reference that can be used
in the code.
|
Type |
ImportRewrite.addImport(ITypeBinding binding,
AST ast)
Adds a new import to the rewriter's record and returns a
Type that can be used
in the code. |
Type |
ImportRewrite.addImport(ITypeBinding binding,
AST ast,
ImportRewrite.ImportRewriteContext context)
Adds a new import to the rewriter's record and returns a
Type that can be used
in the code. |
java.lang.String |
ImportRewrite.addImport(ITypeBinding binding,
ImportRewrite.ImportRewriteContext context)
Adds a new import to the rewriter's record and returns a type reference that can be used
in the code.
|
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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
NewTypeWizardPage.ImportsManager.addImport(ITypeBinding typeBinding)
Adds a new import declaration that is sorted in the existing imports.
|
Copyright (c) IBM Corp. and others 2000, 2010. All Rights Reserved.