Unable to find source-code formatter for language: abstractpathimpl.java. Available languages are: actionscript, html, java, javascript, none, sql, xhtml, xml
public <Y> Path<Y> get(SingularAttribute<? super X, Y> attribute) {
if ( ! canBeDereferenced() ) {
throw illegalDereference();
}
if( attribute == null ) {
throw new MissingAttributeException( "SingularAttribute is null." );
}
SingularAttributePath<Y> path = (SingularAttributePath<Y>) resolveCachedAttributePath( attribute.getName() );
if ( path == null ) {
path = new SingularAttributePath<Y>(
criteriaBuilder(),
attribute.getJavaType(),
getPathSourceForSubPaths(),
attribute
);
registerAttributePath( attribute.getName(), path );
}
return path;
}