static JCExpression getFieldType(JavacNode field, FieldAccess fieldAccess) {
		if (field.getKind() == Kind.METHOD) return ((JCMethodDecl) field.get()).restype;
		
		boolean lookForGetter = lookForGetter(field, fieldAccess);
		
		GetterMethod getter = lookForGetter ? findGetter(field) : null;
		
		if (getter == null) {
			return ((JCVariableDecl) field.get()).vartype;
		}
		
		return getter.type;
	}
static JCExpression getFieldType ( JavacNode field , FieldAccess fieldAccess ) { if ( field . getKind ( ) == Kind . METHOD ) return ( ( JCMethodDecl ) field . get ( ) ) . restype ; boolean lookForGetter = lookForGetter ( field , fieldAccess ) ; GetterMethod getter = lookForGetter ? findGetter ( field ) : null ; if ( getter == null ) { return ( ( JCVariableDecl ) field . get ( ) ) . vartype ; } return getter . type ; }
Returns the type of the field, unless a getter exists for this field, in which case the return type of the getter is returned.

@see #createFieldAccessor(TreeMaker, JavacNode, FieldAccess)