public SelectionOnSingleNameReference(char[] source, long pos) {
super(source, pos);
}
-public TypeBinding resolveType(BlockScope scope) {
+
+public TypeBinding resolveType(BlockScope scope, boolean define, TypeBinding useType) {
+ super.resolveType(scope, define, useType);
+
if (this.actualReceiverType != null) {
this.binding = scope.getField(this.actualReceiverType, token, this);
if (this.binding != null && this.binding.isValidBinding()) {
throw new SelectionNodeFound(binding);
}
-public TypeBinding resolveType(BlockScope scope, boolean define, TypeBinding useType) {
- return resolveType(scope);
-}
-
public TypeBinding resolveForAllocation(BlockScope scope, ASTNode location) {
TypeBinding typeBinding=null;
this.binding=