org.aspectj.ajdt.internal.compiler.lookup
Class InterTypeMethodBinding

java.lang.Object
  extended by org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
      extended by org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding
          extended by org.aspectj.ajdt.internal.compiler.lookup.InterTypeMethodBinding

public class InterTypeMethodBinding
extends org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding

A special method binding representing an ITD that pretends to be a member in some target type for matching purposes.


Field Summary
 org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding postDispatchMethod
           
 org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration sourceMethod
           
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding
declaringClass, modifiers, parameters, returnType, selector, tagBits, thrownExceptions, typeVariables
 
Fields inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
ANY_EXCEPTION, ARRAY_TYPE, BASE_TYPE, FIELD, GENERIC_TYPE, IMPORT, 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, VARIABLE, WILDCARD_TYPE
 
Constructor Summary
InterTypeMethodBinding(EclipseFactory world, ResolvedTypeMunger munger, UnresolvedType withinType, org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration sourceMethod)
           
 
Method Summary
 boolean alwaysNeedsAccessMethod()
           
 boolean canBeSeenBy(org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding receiverType, org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InvocationSite invocationSite, org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope scope)
           
 org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding getAccessMethod(boolean staticReference)
           
 org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding getOwningClass()
           
 org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding getTargetType()
           
 boolean isFinal()
           
 org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration sourceMethod()
           
 java.lang.String toString()
           
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding
areParameterErasuresEqual, areParametersCompatibleWith, areParametersEqual, areTypeVariableErasuresEqual, canBeSeenBy, canBeSeenBy, computeUniqueKey, constantPoolDeclaringClass, constantPoolName, findPrivilegedBinding, genericSignature, getAccessFlags, getAnnotations, getAnnotationTagBits, getDefaultValue, getParameterAnnotations, getTypeVariable, getVisibleBinding, getVisibleBinding, hasSubstitutedParameters, hasSubstitutedReturnType, isAbstract, isBridge, isConstructor, isDefault, isDefaultAbstract, isDeprecated, isImplementing, isMain, isNative, isOverriding, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isSynthetic, isUsed, isVarargs, isViewedAsDeprecated, kind, original, readableName, setAnnotations, setAnnotations, setDefaultValue, setParameterAnnotations, shortReadableName, signature, signature, sourceEnd, sourceStart, tiebreakMethod, typeVariables
 
Methods inherited from class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Binding
computeUniqueKey, initializeDeprecatedAnnotationTagBits, isValidBinding, problemId
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

postDispatchMethod

public org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding postDispatchMethod

sourceMethod

public org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration sourceMethod
Constructor Detail

InterTypeMethodBinding

public InterTypeMethodBinding(EclipseFactory world,
                              ResolvedTypeMunger munger,
                              UnresolvedType withinType,
                              org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration sourceMethod)
Method Detail

canBeSeenBy

public boolean canBeSeenBy(org.aspectj.org.eclipse.jdt.internal.compiler.lookup.TypeBinding receiverType,
                           org.aspectj.org.eclipse.jdt.internal.compiler.lookup.InvocationSite invocationSite,
                           org.aspectj.org.eclipse.jdt.internal.compiler.lookup.Scope scope)
Overrides:
canBeSeenBy in class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding

isFinal

public boolean isFinal()
Overrides:
isFinal in class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding

getAccessMethod

public org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding getAccessMethod(boolean staticReference)
Overrides:
getAccessMethod in class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding

alwaysNeedsAccessMethod

public boolean alwaysNeedsAccessMethod()
Overrides:
alwaysNeedsAccessMethod in class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding

sourceMethod

public org.aspectj.org.eclipse.jdt.internal.compiler.ast.AbstractMethodDeclaration sourceMethod()
Overrides:
sourceMethod in class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding

getTargetType

public org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding getTargetType()

getOwningClass

public org.aspectj.org.eclipse.jdt.internal.compiler.lookup.ReferenceBinding getOwningClass()
Overrides:
getOwningClass in class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding

toString

public java.lang.String toString()
Overrides:
toString in class org.aspectj.org.eclipse.jdt.internal.compiler.lookup.MethodBinding