Uses of Interface
org.eclipse.jdt.core.dom.ITypeBinding
-
Packages that use ITypeBinding 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.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.core.util Provides a set of tools and utilities for manipulating .class files and Java model elements.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 Modifier and Type Method Description ITypeBindingITypeBinding. createArrayType(int dimension)Answer an array type binding using the receiver and the given dimension.ITypeBindingIAnnotationBinding. getAnnotationType()Returns the type of the annotation.ITypeBindingITypeBinding. getBound()Returns the bound of this wildcard type if it has one.ITypeBindingITypeBinding. getComponentType()Returns the binding representing the component type of this array type, ornullif this is not an array type binding.ITypeBindingIMethodBinding. getDeclaredReceiverType()Returns the type of this method's receiver ornullif there is no receiver declared explicitly.ITypeBinding[]ITypeBinding. getDeclaredTypes()Returns a list of type bindings representing all the types declared as members of this class, interface, or enum type.ITypeBindingIMethodBinding. getDeclaringClass()Returns the type binding representing the class or interface that declares this method or constructor.ITypeBindingITypeBinding. getDeclaringClass()Returns the type binding representing the class, interface, or enum that declares this binding.ITypeBindingIVariableBinding. getDeclaringClass()Returns the type binding representing the class or interface that declares this field.ITypeBindingITypeBinding. getElementType()Returns the binding representing the element type of this array type, ornullif this is not an array type binding.ITypeBindingITypeBinding. 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.ITypeBindingITypeBinding. getGenericTypeOfWildcardType()Returns the generic type associated with this wildcard type, if it has one.ITypeBinding[]IModuleBinding. getImplementations(ITypeBinding service)Returns the implementations that implement the given service in this module.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.ITypeBindingIMethodBinding. getReturnType()Returns the binding for the return type of this method.ITypeBinding[]IModuleBinding. getServices()Returns the services provided by this module.ITypeBindingITypeBinding. getSuperclass()Returns the type binding for the superclass of the type represented by this class binding.ITypeBindingIVariableBinding. getType()Returns the binding for the type of this field or local variable.ITypeBinding[]IMethodBinding. getTypeArguments()Returns the type arguments of this generic method instance, or the empty list for other method bindings.ITypeBinding[]ITypeBinding. getTypeArguments()Returns the type arguments of this generic type instance, or the empty list for other type bindings.ITypeBinding[]ITypeBinding. getTypeBounds()Returns the upper type bounds of this type variable, wildcard, capture, or intersectionType.ITypeBindingITypeBinding. getTypeDeclaration()Returns the binding for the type declaration corresponding to this type binding.ITypeBinding[]IMethodBinding. getTypeParameters()Returns the type parameters of this method or constructor binding.ITypeBinding[]ITypeBinding. getTypeParameters()Returns the type parameters of this class or interface type binding.ITypeBinding[]IModuleBinding. getUses()Returns the services used by this module.ITypeBindingITypeBinding. getWildcard()Returns the corresponding wildcard binding of this capture binding.ITypeBindingAbstractTypeDeclaration. resolveBinding()Resolves and returns the binding for the type declared in this type declaration.ITypeBindingAnonymousClassDeclaration. resolveBinding()Resolves and returns the binding for the anonymous class declared in this declaration.ITypeBindingType. resolveBinding()Resolves and returns the binding for this type.ITypeBindingTypeDeclarationStatement. resolveBinding()Resolves and returns the binding for the class or interface declared in this type declaration statement.ITypeBindingTypeParameter. resolveBinding()Resolves and returns the binding for this type parameter.ITypeBindingExpression. resolveTypeBinding()Resolves and returns the binding for the type of this expression.ITypeBindingAST. resolveWellKnownType(String name)Returns the type binding for a "well known" type.Methods in org.eclipse.jdt.core.dom with parameters of type ITypeBinding Modifier and Type Method Description ITypeBinding[]IModuleBinding. getImplementations(ITypeBinding service)Returns the implementations that implement the given service in this module.booleanITypeBinding. 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).booleanITypeBinding. 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).booleanITypeBinding. 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 Modifier and Type Method Description StringImportRewrite. addImport(ITypeBinding binding)Adds a new import to the rewriter's record and returns a type reference that can be used in the code.TypeImportRewrite. addImport(ITypeBinding binding, AST ast)Adds a new import to the rewriter's record and returns aTypethat can be used in the code.TypeImportRewrite. addImport(ITypeBinding binding, AST ast, ImportRewrite.ImportRewriteContext context)Adds a new import to the rewriter's record and returns aTypethat can be used in the code.TypeImportRewrite. addImport(ITypeBinding binding, AST ast, ImportRewrite.ImportRewriteContext context, ImportRewrite.TypeLocation location)Adds a new import to the rewriter's record and returns aTypethat can be used in the code.StringImportRewrite. 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.IAnnotationBinding[]ImportRewrite.ImportRewriteContext. removeRedundantTypeAnnotations(IAnnotationBinding[] annotations, ImportRewrite.TypeLocation location, ITypeBinding type)This method can be overridden in subclasses to remove annotations that are redundant, e.g. because of NonNullByDefault. -
Uses of ITypeBinding in org.eclipse.jdt.core.util
Methods in org.eclipse.jdt.core.util with parameters of type ITypeBinding Modifier and Type Method Description static StringExternalAnnotationUtil. extractGenericTypeParametersSignature(ITypeBinding type)Answer the signature of all type parameters of this type in class file format.static StringExternalAnnotationUtil. extractGenericTypeSignature(ITypeBinding type)Answer the given types's signature in class file format.static IFileExternalAnnotationUtil. getAnnotationFile(IJavaProject project, ITypeBinding type, IProgressMonitor monitor)Answer the external annotation file corresponding to the given type as seen from the given project. -
Uses of ITypeBinding in org.eclipse.jdt.ui.actions
Methods in org.eclipse.jdt.ui.actions with parameters of type ITypeBinding Modifier and Type Method Description static IWorkspaceRunnableAddUnimplementedConstructorsAction. createRunnable(CompilationUnit astRoot, ITypeBinding type, IMethodBinding[] constructorsToOverride, int insertPos, boolean createComments, int visibility, boolean omitSuper)Returns a runnable that creates the constructor stubs.static IWorkspaceRunnableOverrideMethodsAction. createRunnable(CompilationUnit astRoot, ITypeBinding type, IMethodBinding[] methodToOverride, int insertPos, boolean createComments)Returns a runnable that creates the method stubs for overridden methods. -
Uses of ITypeBinding in org.eclipse.jdt.ui.wizards
Methods in org.eclipse.jdt.ui.wizards with parameters of type ITypeBinding Modifier and Type Method Description StringNewTypeWizardPage.ImportsManager. addImport(ITypeBinding typeBinding)Adds a new import declaration that is sorted in the existing imports.StringNewTypeWizardPage.ImportsManager. addImport(ITypeBinding typeBinding, int insertPosition)Adds a new import declaration that is sorted in the existing imports.
-