Class InterTypeMemberFinder
java.lang.Object
org.aspectj.ajdt.internal.compiler.lookup.InterTypeMemberFinder
- All Implemented Interfaces:
IMemberFinder
The member finder looks after intertype declared members on a type, there is one member finder per type that was hit by an ITD.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInterTypeField(FieldBinding binding)voidaddInterTypeMethod(MethodBinding binding)booleandefinesField(String name)getExactMethod(SourceTypeBinding sourceTypeBinding, char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope)getField(SourceTypeBinding sourceTypeBinding, char[] fieldName, InvocationSite site, Scope scope)getMethods(SourceTypeBinding sourceTypeBinding, char[] selector)static booleanmatches(MethodBinding m1, MethodBinding m2)static booleanmatches2(MethodBinding newBinding, MethodBinding existingBinding)methods(SourceTypeBinding sourceTypeBinding)
-
Field Details
-
sourceTypeBinding
-
-
Constructor Details
-
InterTypeMemberFinder
public InterTypeMemberFinder()
-
-
Method Details
-
getField
public FieldBinding getField(SourceTypeBinding sourceTypeBinding, char[] fieldName, InvocationSite site, Scope scope)- Specified by:
getFieldin interfaceIMemberFinder
-
methods
- Specified by:
methodsin interfaceIMemberFinder
-
getMethods
- Specified by:
getMethodsin interfaceIMemberFinder
-
getExactMethod
public MethodBinding getExactMethod(SourceTypeBinding sourceTypeBinding, char[] selector, TypeBinding[] argumentTypes, CompilationUnitScope refScope)- Specified by:
getExactMethodin interfaceIMemberFinder
-
matches
-
matches2
-
addInterTypeField
-
addInterTypeMethod
-
definesField
- Parameters:
name- the name of the field- Returns:
- true if already know about an intertype field declaration for that field
-