Java org.eclipse.jdt.internal.compiler.lookup ReferenceBinding fields, constructors, methods, implement or subclass

Example usage for Java org.eclipse.jdt.internal.compiler.lookup ReferenceBinding fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.eclipse.jdt.internal.compiler.lookup ReferenceBinding.

The text is from its open source code.

Subclass

org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding has subclasses.
Click this link to see all its subclasses.

Field

Method

FieldBinding[]availableFields()
Return the array of resolvable fields (resilience)
MethodBinding[]availableMethods()
Return the array of resolvable methods (resilience)
FieldBindingbinarySearch(char[] name, FieldBinding[] sortedFields)
longbinarySearch(char[] selector, MethodBinding[] sortedMethods)
Returns a combined range value representing: (start + (end<<32)), where start is the index of the first matching method (remember methods are sorted alphabetically on selectors), and end is the index of last contiguous methods with same selector.
intbinarySearch(char[] sourceName, ReferenceBinding[] sortedMemberTypes)
Search the given sourceName in the list of sorted member types.
booleancanBeSeenBy(PackageBinding invocationPackage)
Answer true if the receiver is visible to the invocationPackage.
booleancanBeSeenBy(Scope scope)
Answer true if the receiver is visible to the type provided by the scope.
intdepth()
FieldBinding[]fields()
AnnotationBinding[]getAnnotations()
longgetAnnotationTagBits()
MethodBindinggetExactConstructor(TypeBinding[] argumentTypes)
MethodBindinggetExactMethod(char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope)
FieldBindinggetField(char[] fieldName, boolean needResolve)
char[]getFileName()
ReferenceBindinggetMemberType(char[] typeName)
Find the member type with the given simple typeName.
MethodBinding[]getMethods(char[] selector, int suggestedParameterLength)
MethodBinding[]getMethods(char[] selector)
PackageBindinggetPackage()
booleanisAbstract()
Answer true if the receiver is an abstract type
booleanisAnnotationType()
booleanisBinaryBinding()
booleanisClass()
booleanisCompatibleWith(TypeBinding otherType, Scope captureScope)
Answer true if the receiver type can be assigned to the argument type (right) In addition to improving performance, caching also ensures there is no infinite regression since per nature, the compatibility check is recursive through parameterized type arguments (122775)
booleanisDefault()
Answer true if the receiver has default visibility
booleanisEnum()
booleanisFinal()
Answer true if the receiver is final and cannot be subclassed
booleanisHierarchyBeingConnected()
Returns true if the type hierarchy is being connected
booleanisHierarchyConnected()
Returns true if the type hierarchy is connected
booleanisInterface()
booleanisPrivate()
Answer true if the receiver has private visibility
booleanisProtected()
Answer true if the receiver has protected visibility
booleanisPublic()
Answer true if the receiver has public visibility
booleanisStatic()
Answer true if the receiver is a static member type (or toplevel)
booleanisSuperclassOf(ReferenceBinding otherType)
Answer true if the receiver is in the superclass hierarchy of aType NOTE: Object.isSuperclassOf(Object) -> false
booleanisUncheckedException(boolean includeSupertype)
JLS 11.5 ensures that Throwable, Exception, RuntimeException and Error are directly connected.
booleanisViewedAsDeprecated()
Answer true if the receiver is deprecated (or any of its enclosing types)
ReferenceBinding[]memberTypes()
Returns the member types of this type sorted by simple name.
MethodBinding[]methods()
ReferenceBindingoutermostEnclosingType()
char[]qualifiedSourceName()
Answer the source name for the type.
char[]readableName()
Answer the receiver's signature.
char[]shortReadableName()
voidsortFields(FieldBinding[] sortedFields, int left, int right)
Sort the field array using a quicksort
voidsortMethods(MethodBinding[] sortedMethods, int left, int right)
Sort the field array using a quicksort
ReferenceBindingsuperclass()
ReferenceBinding[]superInterfaces()
ReferenceBinding[]syntheticEnclosingInstanceTypes()