|
Eclipse JDT Release 3.8 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ITypeBinding | |
---|---|
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.dom.rewrite | The Java DOM/AST rewrite is the set of classes that are used to make changes to an existing DOM/AST tree. |
org.eclipse.jdt.ui.actions | Application programming interfaces for Eclipse Java User Interface specific actions. |
org.eclipse.jdt.ui.wizards | Application programming interfaces for interaction with the Eclipse Java User Interface wizards. |
Uses of ITypeBinding in org.eclipse.jdt.core.dom |
---|
Methods in org.eclipse.jdt.core.dom that return ITypeBinding | |
---|---|
ITypeBinding |
ITypeBinding.createArrayType(int dimension)
Answer an array type binding using the receiver and the given dimension. |
ITypeBinding |
IAnnotationBinding.getAnnotationType()
Returns the type of the annotation. |
ITypeBinding |
ITypeBinding.getBound()
Returns the bound of this wildcard type if it has one. |
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 |
ITypeBinding.getDeclaringClass()
Returns the type binding representing the class, interface, or enum that declares this binding. |
ITypeBinding |
IMethodBinding.getDeclaringClass()
Returns the type binding representing the class or interface that declares this method or constructor. |
ITypeBinding |
IVariableBinding.getDeclaringClass()
Returns the type binding representing the class or interface that declares this field. |
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[] |
IMethodBinding.getExceptionTypes()
Returns a list of type bindings representing the types of the exceptions thrown by this method or constructor. |
ITypeBinding |
ITypeBinding.getGenericTypeOfWildcardType()
Returns the generic type associated with this wildcard type, if it has one. |
ITypeBinding[] |
ITypeBinding.getInterfaces()
Returns a list of type bindings representing the direct superinterfaces of the class, interface, or enum type represented by this type binding. |
ITypeBinding[] |
IMethodBinding.getParameterTypes()
Returns a list of type bindings representing the formal parameter types, in declaration order, of this method or constructor. |
ITypeBinding |
IMethodBinding.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.getTypeArguments()
Returns the type arguments of this generic type instance, or the empty list for other type bindings. |
ITypeBinding[] |
IMethodBinding.getTypeArguments()
Returns the type arguments of this generic method instance, or the empty list for other method bindings. |
ITypeBinding[] |
ITypeBinding.getTypeBounds()
Returns the declared type bounds of this type variable or capture. |
ITypeBinding |
ITypeBinding.getTypeDeclaration()
Returns the binding for the type declaration corresponding to this type binding. |
ITypeBinding[] |
ITypeBinding.getTypeParameters()
Returns the type parameters of this class or interface type binding. |
ITypeBinding[] |
IMethodBinding.getTypeParameters()
Returns the type parameters of this method or constructor binding. |
ITypeBinding |
ITypeBinding.getWildcard()
Returns the corresponding wildcard binding of this capture binding. |
ITypeBinding |
TypeDeclarationStatement.resolveBinding()
Resolves and returns the binding for the class or interface declared in this type declaration statement. |
ITypeBinding |
Type.resolveBinding()
Resolves and returns the binding for this type. |
ITypeBinding |
TypeParameter.resolveBinding()
Resolves and returns the binding for this type parameter. |
ITypeBinding |
AnonymousClassDeclaration.resolveBinding()
Resolves and returns the binding for the anonymous class declared in this declaration. |
ITypeBinding |
AbstractTypeDeclaration.resolveBinding()
Resolves and returns the binding for the type declared in this type declaration. |
ITypeBinding |
Expression.resolveTypeBinding()
Resolves and returns the binding for the type of this expression. |
ITypeBinding |
AST.resolveWellKnownType(String name)
Returns the type binding for a "well known" type. |
Methods in org.eclipse.jdt.core.dom with parameters of type ITypeBinding | |
---|---|
boolean |
ITypeBinding.isAssignmentCompatible(ITypeBinding variableType)
Returns whether an expression of this type can be assigned to a variable of the given type, as specified in section 5.2 of The Java Language Specification, Third Edition (JLS3). |
boolean |
ITypeBinding.isCastCompatible(ITypeBinding type)
Returns whether this type is cast compatible with the given type, as specified in section 5.5 of The Java Language Specification, Third Edition (JLS3). |
boolean |
ITypeBinding.isSubTypeCompatible(ITypeBinding type)
Returns whether this type is subtype compatible with the given type, as specified in section 4.10 of The Java Language Specification, Third Edition (JLS3). |
Uses of ITypeBinding in org.eclipse.jdt.core.dom.rewrite |
---|
Methods in org.eclipse.jdt.core.dom.rewrite with parameters of type ITypeBinding | |
---|---|
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. |
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. |
Uses of ITypeBinding in org.eclipse.jdt.ui.actions |
---|
Methods in org.eclipse.jdt.ui.actions with parameters of type ITypeBinding | |
---|---|
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. |
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. |
Uses of ITypeBinding in org.eclipse.jdt.ui.wizards |
---|
Methods in org.eclipse.jdt.ui.wizards with parameters of type ITypeBinding | |
---|---|
String |
NewTypeWizardPage.ImportsManager.addImport(ITypeBinding typeBinding)
Adds a new import declaration that is sorted in the existing imports. |
String |
NewTypeWizardPage.ImportsManager.addImport(ITypeBinding typeBinding,
int insertPosition)
Adds a new import declaration that is sorted in the existing imports. |
|
Eclipse JDT Release 3.8 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Guidelines for using Eclipse APIs.
Copyright (c) 2000, 2013 IBM Corporation and others. All rights reserved.