<s> package org . eclipse . jdt . internal . codeassist . select ; import org . eclipse . jdt . internal . compiler . ast . FieldReference ; import org . eclipse . jdt . internal . compiler . lookup . BlockScope ; import org . eclipse . jdt . internal . compiler . lookup . ProblemReasons ; import org . eclipse . jdt . internal . compiler . lookup . TypeBinding ; public class SelectionOnFieldReference extends FieldReference { public SelectionOnFieldReference ( char [ ] source , long pos ) { super ( source , pos ) ; } public StringBuffer printExpression ( int indent , StringBuffer output ) { output . append ( "" ) ; return super . printExpression ( 0 , output ) . append ( '>' ) ; } public TypeBinding resolveType ( BlockScope scope ) { super . resolveType ( scope ) ; if ( this . binding == null || ! ( this . binding . isValidBinding ( ) || this . binding . problemId ( ) == ProblemReasons . NotVisible || this . binding . problemId ( ) == ProblemReasons . InheritedNameHidesEnclosingName || this . binding . problemId ( ) == ProblemReasons . NonStaticReferenceInConstructorInvocation || this . binding . problemId ( ) == ProblemReasons . NonStaticReferenceInStaticContext ) ) throw new SelectionNodeFound ( ) ; else throw new SelectionNodeFound ( this . binding ) ; } } </s>