Java org.eclipse.jdt.core.dom ITypeBinding fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.core.dom ITypeBinding fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.core.dom ITypeBinding.

The text is from its open source code.

Implementation

org.eclipse.jdt.core.dom.ITypeBinding has the following implementations.
Click this link to see all its implementation.

Method

ITypeBindingcreateArrayType(int dimension)
Answer an array type binding using the receiver and the given dimension.
booleanequals(Object obj)
There is no special definition of equality for bindings; equality is simply object identity.
IAnnotationBinding[]getAnnotations()
Returns the resolved declaration annotations associated with this binding.
StringgetBinaryName()
Returns the binary name of this type binding.
ITypeBindinggetBound()
Returns the bound of this wildcard type if it has one.
ITypeBindinggetComponentType()
Returns the binding representing the component type of this array type, or null if this is not an array type binding.
IVariableBinding[]getDeclaredFields()
Returns a list of bindings representing all the fields declared as members of this class, interface, or enum type.
IMethodBinding[]getDeclaredMethods()
Returns a list of method bindings representing all the methods and constructors declared for this class, interface, enum, or annotation type.
intgetDeclaredModifiers()
Returns the declared modifiers for this class or interface binding as specified in the original source declaration of the class or interface.
ITypeBinding[]getDeclaredTypes()
Returns a list of type bindings representing all the types declared as members of this class, interface, or enum type.
ITypeBindinggetDeclaringClass()
Returns the type binding representing the class, interface, or enum that declares this binding.
IMethodBindinggetDeclaringMethod()
Returns the method binding representing the method that declares this binding of a local type or type variable.
intgetDimensions()
Returns the dimensionality of this array type, or 0 if this is not an array type binding.
ITypeBindinggetElementType()
Returns the binding representing the element type of this array type, or null if this is not an array type binding.
ITypeBindinggetErasure()
Returns the erasure of this type binding.
IMethodBindinggetFunctionalInterfaceMethod()
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.
ITypeBindinggetGenericTypeOfWildcardType()
Returns the generic type associated with this wildcard type, if it has one.
ITypeBinding[]getInterfaces()
Returns a list of type bindings representing the direct superinterfaces of the class, interface, or enum type represented by this type binding.
IJavaElementgetJavaElement()
Returns the Java element that corresponds to this binding.
StringgetKey()
Returns the key for this binding.
intgetModifiers()
Returns the compiled modifiers for this class, interface, enum, or annotation type binding.
StringgetName()
Returns the unqualified name of the type represented by this binding if it has one.
IPackageBindinggetPackage()
Returns the binding for the package in which this type is declared.
StringgetQualifiedName()
Returns the fully qualified name of the type represented by this binding if it has one.
intgetRank()
Returns the rank associated with this wildcard type.
ITypeBindinggetSuperclass()
Returns the type binding for the superclass of the type represented by this class binding.
IAnnotationBinding[]getTypeAnnotations()
Returns the type annotations that this type reference is annotated with.
ITypeBinding[]getTypeArguments()
Returns the type arguments of this generic type instance, or the empty list for other type bindings.
ITypeBinding[]getTypeBounds()
Returns the upper type bounds of this type variable, wildcard, capture, or intersectionType.
ITypeBindinggetTypeDeclaration()
Returns the binding for the type declaration corresponding to this type binding.
ITypeBinding[]getTypeParameters()
Returns the type parameters of this class or interface type binding.
ITypeBindinggetWildcard()
Returns the corresponding wildcard binding of this capture binding.
booleanisAnnotation()
Returns whether this type binding represents an annotation type.
booleanisAnonymous()
Returns whether this type binding represents an anonymous class.
booleanisArray()
Returns whether this type binding represents an array type.
booleanisAssignmentCompatible(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).
booleanisCapture()
Returns whether this type binding represents a capture binding.
booleanisCastCompatible(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).
booleanisClass()
Returns whether this type binding represents a class type or a recovered binding.
booleanisDeprecated()
Return whether this binding is for something that is deprecated.
booleanisEnum()
Returns whether this type binding represents an enum type.
booleanisEqualTo(IBinding binding)
Returns whether this binding has the same key as that of the given binding.
booleanisFromSource()
Returns whether this type binding originated in source code.
booleanisGenericType()
Returns whether this type binding represents a declaration of a generic class or interface.
booleanisInterface()
Returns whether this type binding represents an interface type.
booleanisLocal()
Returns whether this type binding represents a local class.
booleanisMember()
Returns whether this type binding represents a member class or interface.
booleanisNested()
Returns whether this type binding represents a nested class, interface, enum, or annotation type.
booleanisNullType()
Returns whether this type binding represents the null type.
booleanisParameterizedType()
Returns whether this type binding represents an instance of a generic type corresponding to a parameterized type reference.
booleanisPrimitive()
Returns whether this type binding represents a primitive type.
booleanisRawType()
Returns whether this type binding represents an instance of a generic type corresponding to a raw type reference.
booleanisRecovered()
Return whether this binding is created because the bindings recovery is enabled.
booleanisSubTypeCompatible(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).
booleanisSynthetic()
Returns whether this binding is synthetic.
booleanisTopLevel()
Returns whether this type binding represents a top-level class, interface, enum, or annotation type.
booleanisTypeVariable()
Returns whether this type binding represents a type variable.
booleanisUpperbound()
Returns whether this wildcard type is an upper bound ("extends") as opposed to a lower bound ("super").
booleanisWildcardType()
Returns whether this type binding represents a wildcard type.
StringtoString()
Returns a string representation of this binding suitable for debugging purposes only.