@ Override public boolean isReadOnly ( ELContext context , Object base , Object property ) { if ( context == null ) { throw new NullPointerException ( ) ; } if ( base == null && property instanceof String ) { if ( beanNameResolver . isNameResolved ( ( String ) property ) ) { context . setPropertyResolved ( true ) ; return beanNameResolver . isReadOnly ( ( String ) property ) ; } } return false ; }
If the base is null and the property is a name resolvable by the BeanNameResolver attempts to determine if the bean is writable .