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

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.MostSpecificExceptionMethodBinding

public class MostSpecificExceptionMethodBinding
extends MethodBinding

Pseudo method binding used to wrapper a real method, and expose less exceptions than original. For other protocols, it should delegate to original method


Field Summary
 
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
MostSpecificExceptionMethodBinding(MethodBinding originalMethod, ReferenceBinding[] mostSpecificExceptions)
           
 
Method Summary
 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, isPolymorphic, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isSynthetic, isUsed, isVarargs, 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
 

Constructor Detail

MostSpecificExceptionMethodBinding

public MostSpecificExceptionMethodBinding(MethodBinding originalMethod,
                                          ReferenceBinding[] mostSpecificExceptions)
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


Copyright © 2012. All Rights Reserved.