org.eclipse.jdt.internal.compiler.lookup
Class PolymorphicMethodBinding

java.lang.Object
  extended by org.eclipse.jdt.internal.compiler.lookup.Binding
      extended by org.eclipse.jdt.internal.compiler.lookup.MethodBinding
          extended by org.eclipse.jdt.internal.compiler.lookup.PolymorphicMethodBinding

public class PolymorphicMethodBinding
extends MethodBinding

Binding denoting a polymorphic method


Field Summary
protected  MethodBinding polymorphicMethod
           
 
Fields inherited from class org.eclipse.jdt.internal.compiler.lookup.MethodBinding
declaringClass, modifiers, parameters, returnType, selector, tagBits, thrownExceptions, typeVariables
 
Fields inherited from class org.eclipse.jdt.internal.compiler.lookup.Binding
ANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, FIELD, GENERIC_TYPE, IMPORT, INTERSECTION_TYPE, LOCAL, METHOD, NO_ANNOTATIONS, NO_ELEMENT_VALUE_PAIRS, NO_EXCEPTIONS, NO_FIELDS, NO_MEMBER_TYPES, NO_METHODS, NO_PARAMETERS, NO_SUPERINTERFACES, NO_TYPE_VARIABLES, NO_TYPES, PACKAGE, PARAMETERIZED_TYPE, RAW_TYPE, TYPE, TYPE_PARAMETER, UNINITIALIZED_FIELDS, UNINITIALIZED_METHODS, UNINITIALIZED_REFERENCE_TYPES, VARIABLE, WILDCARD_TYPE
 
Constructor Summary
PolymorphicMethodBinding(MethodBinding polymorphicMethod, TypeBinding[] parameterTypes)
           
PolymorphicMethodBinding(MethodBinding polymorphicMethod, TypeBinding returnType, TypeBinding[] parameterTypes)
           
 
Method Summary
 boolean isPolymorphic()
           
 boolean isVarargs()
           
 boolean matches(TypeBinding[] matchingParameters, TypeBinding matchingReturnType)
           
 MethodBinding original()
          Returns the original method (as opposed to parameterized/polymorphic instances)
 
Methods inherited from class org.eclipse.jdt.internal.compiler.lookup.MethodBinding
areParameterErasuresEqual, areParametersCompatibleWith, areParametersEqual, areTypeVariableErasuresEqual, canBeSeenBy, canBeSeenBy, canBeSeenBy, collectMissingTypes, computeUniqueKey, constantPoolName, findOriginalInheritedMethod, genericSignature, getAccessFlags, getAnnotations, getAnnotationTagBits, getDefaultValue, getParameterAnnotations, getTypeVariable, hasSubstitutedParameters, hasSubstitutedReturnType, isAbstract, isBridge, isConstructor, isDefault, isDefaultAbstract, isDeprecated, isFinal, isImplementing, isMain, isNative, isOrEnclosedByPrivateType, isOverriding, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isSynthetic, isUsed, isViewedAsDeprecated, kind, readableName, setAnnotations, setAnnotations, setDefaultValue, setParameterAnnotations, setSelector, shortReadableName, signature, signature, sourceEnd, sourceMethod, sourceStart, tiebreakMethod, toString, typeVariables
 
Methods inherited from class org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, initializeDeprecatedAnnotationTagBits, isParameter, isValidBinding, isVolatile, problemId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

polymorphicMethod

protected MethodBinding polymorphicMethod
Constructor Detail

PolymorphicMethodBinding

public PolymorphicMethodBinding(MethodBinding polymorphicMethod,
                                TypeBinding[] parameterTypes)

PolymorphicMethodBinding

public PolymorphicMethodBinding(MethodBinding polymorphicMethod,
                                TypeBinding returnType,
                                TypeBinding[] parameterTypes)
Method Detail

original

public MethodBinding original()
Description copied from class: MethodBinding
Returns the original method (as opposed to parameterized/polymorphic instances)

Overrides:
original in class MethodBinding

isPolymorphic

public boolean isPolymorphic()
Overrides:
isPolymorphic in class MethodBinding

matches

public boolean matches(TypeBinding[] matchingParameters,
                       TypeBinding matchingReturnType)

isVarargs

public boolean isVarargs()
Overrides:
isVarargs in class MethodBinding


Copyright © 2012. All Rights Reserved.