<s> package org . eclipse . jdt . internal . compiler . lookup ; public class LazilyResolvedMethodBinding extends MethodBinding { private boolean isGetter ; private String propertyName ; public LazilyResolvedMethodBinding ( boolean isGetter , String propertyName , int modifiers , char [ ] selector , ReferenceBinding [ ] thrownExceptions , ReferenceBinding declaringClass ) { super ( modifiers | ExtraCompilerModifiers . AccUnresolved , selector , null , null , thrownExceptions , declaringClass ) ; this . propertyName = propertyName ; this . isGetter = isGetter ; } private TypeBinding getTypeBinding ( ) { FieldBinding fBinding = this . declaringClass . getField ( this . propertyName . toCharArray ( ) , false ) ; if ( fBinding != null && ! ( fBinding . type instanceof MissingTypeBinding ) ) { return fBinding . type ; } return null ; } public TypeBinding getParameterTypeBinding ( ) { if ( this . isGetter ) { return null ; } else { return getTypeBinding ( ) ; } } public TypeBinding getReturnTypeBinding ( ) { if ( this . isGetter ) { return getTypeBinding ( ) ; } else { return TypeBinding . VOID ; } } } </s>