@SuppressWarnings("unchecked")
	public Map<String, String> getPartials() {
		final View view = this.getView();
		if (view != null && view instanceof MustacheView) {
			MustacheView mustacheView = (MustacheView) view;
			return mustacheView.getAliases();
		} else {
			final Object object = getModelMap().get(MustacheSettings.PARTIALS_KEY);

			if (object != null && !(object instanceof Map)) {
				throw new MustachePartialsMappingException();
			}

			final Map<String, String> map;

			if (object == null) {
				map = new HashMap<String, String>();
			} else {
				map = (Map<String, String>) object;
			}

			return map;
		}
	}
@SuppressWarnings("unchecked")
	public Map<String, String> getPartials() {
		final View view = this.getView();
		if (view != null && view instanceof MustacheView) {
			MustacheView mustacheView = (MustacheView) view;
			return mustacheView.getAliases();
		} else {
			final Object object = getModelMap().get(MustacheSettings.PARTIALS_KEY);

			if (object != null && !(object instanceof Map)) {
				throw new MustachePartialsMappingException();
			}

			final Map<String, String> map;

			if (object == null) {
				map = new HashMap<String, String>();
			} else {
				map = (Map<String, String>) object;
			}

			return map;
		}
	}
@ SuppressWarnings ( "unchecked" ) public Map < String , String > getPartials ( ) { final View view = this . getView ( ) ; if ( view != null && view instanceof MustacheView ) { MustacheView mustacheView = ( MustacheView ) view ; return mustacheView . getAliases ( ) ; } else { final Object object = getModelMap ( ) . get ( MustacheSettings . PARTIALS_KEY ) ; if ( object != null && ! ( object instanceof Map ) ) { throw new MustachePartialsMappingException ( ) ; } final Map < String , String > map ; if ( object == null ) { map = new HashMap < String , String > ( ) ; } else { map = ( Map < String , String > ) object ; } return map ; } }
Get current partials stored in view.

@return Current partials.
Get current partials stored in view .